mirror of
git://git.musl-libc.org/musl
synced 2024-12-28 09:53:24 +00:00
6315004f61
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.
41 lines
772 B
C
41 lines
772 B
C
struct user_fpregs_struct
|
|
{
|
|
struct fp_reg {
|
|
unsigned sign1:1;
|
|
unsigned unused:15;
|
|
unsigned sign2:1;
|
|
unsigned exponent:14;
|
|
unsigned j:1;
|
|
unsigned mantissa1:31;
|
|
unsigned mantissa0:32;
|
|
} fpregs[8];
|
|
unsigned fpsr:32;
|
|
unsigned fpcr:32;
|
|
unsigned char ftype[8];
|
|
unsigned int init_flag;
|
|
};
|
|
|
|
struct user_regs_struct
|
|
{
|
|
unsigned long uregs[18];
|
|
};
|
|
|
|
struct user
|
|
{
|
|
struct user_regs_struct regs;
|
|
int u_fpvalid;
|
|
unsigned long u_tsize;
|
|
unsigned long u_dsize;
|
|
unsigned long u_ssize;
|
|
unsigned long start_code;
|
|
unsigned long start_stack;
|
|
long signal;
|
|
int reserved;
|
|
struct user_regs_struct *u_ar0;
|
|
unsigned long int magic;
|
|
char u_comm[32];
|
|
int u_debugreg[8];
|
|
struct user_fpregs_struct u_fp;
|
|
struct user_fpregs_struct *u_fp0;
|
|
};
|