diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/bits/user.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/bits/user.h b/arch/powerpc/bits/user.h index 248012f0..6cc8aaf7 100644 --- a/arch/powerpc/bits/user.h +++ b/arch/powerpc/bits/user.h @@ -12,3 +12,14 @@ struct user { unsigned long magic; char u_comm[32]; }; + +#define ELF_NGREG 48 +#define ELF_NFPREG 33 +#define ELF_NVRREG 33 +typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; +typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG]; +typedef struct { unsigned u[4]; } +#ifdef __GNUC__ +__attribute__((__aligned__(16))) +#endif + elf_vrreg_t, elf_vrregset_t[ELF_NVRREG]; |