From f6a7345076a54c52391bfb280772b731c160b00c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 11 Feb 2000 20:38:45 +0000 Subject: Update. * posix/getopt.c: Suppress messages if first character of optstring is a colon (PR libc/1584). --- sysdeps/unix/sysv/linux/powerpc/sys/procfs.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/powerpc/sys/procfs.h') diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h index e6943aac29..a3cc2509c3 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h @@ -29,10 +29,32 @@ #include #include #include -#include __BEGIN_DECLS +#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ +#define ELF_NFPREG 33 /* includes fpscr */ +#define ELF_NVRREG 33 /* includes vscr */ + +typedef unsigned long elf_greg_t; +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; + +typedef double elf_fpreg_t; +typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; + +/* gcc doesn't support __TI__ yet */ +#if 0 +typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__))); +#else +typedef struct { + unsigned long u[4]; +} __attribute((aligned(16))) __uint128_t; +#endif + +/* Altivec registers */ +typedef __uint128_t elf_vrreg_t; +typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG]; + struct elf_siginfo { int si_signo; /* Signal number. */ -- cgit v1.2.3