1 struct user { 2 struct { 3 unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, mq; 4 unsigned long trap, dar, dsisr, result; 5 } regs; 6 unsigned long u_tsize, u_dsize, u_ssize; 7 unsigned long start_code, start_data, start_stack; 8 long signal; 9 void *u_ar0; 10 unsigned long magic; 11 char u_comm[32]; 12 }; 13 14 #define ELF_NGREG 48 15 #define ELF_NFPREG 33 16 #define ELF_NVRREG 33 17 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; 18 typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG]; 19 typedef struct { unsigned u[4]; } 20 #ifdef __GNUC__ 21 __attribute__((__aligned__(16))) 22 #endif 23 elf_vrreg_t, elf_vrregset_t[ELF_NVRREG]; 24