]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-21 Alan Modra <amodra@bigpond.net.au>
authorRoland McGrath <roland@gnu.org>
Sun, 16 Oct 2005 09:34:02 +0000 (09:34 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 16 Oct 2005 09:34:02 +0000 (09:34 +0000)
[BZ #1394]
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
use __uint128_t.

sysdeps/unix/sysv/linux/powerpc/sys/procfs.h

index 8e694c2ad35bd558a34c73afaf857330f7c0a686..aa2e54284d7f1cc60857337d6daa18fa9847ef45 100644 (file)
@@ -32,9 +32,9 @@
 
 __BEGIN_DECLS
 
-/* These definitions are normally provided by ucontext.h via 
-   asm/sigcontext.h, asm/ptrace.h, and asm/elf.h.  Otherwise we define 
-   them here.  */ 
+/* These definitions are normally provided by ucontext.h via
+   asm/sigcontext.h, asm/ptrace.h, and asm/elf.h.  Otherwise we define
+   them here.  */
 #ifndef __PPC64_ELF_H
 #define ELF_NGREG       48      /* includes nip, msr, lr, etc. */
 #define ELF_NFPREG      33      /* includes fpscr */
@@ -46,15 +46,10 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
 typedef double elf_fpreg_t;
 typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
 
-/* gcc 3.1 and newer support __uint128_t.  */
-#if !__GNUC_PREREQ(3,1)
-typedef struct {
-  unsigned long u[4];
-} __attribute((aligned(16))) __uint128_t;
-#endif
-
 /* Altivec registers */
-typedef __uint128_t elf_vrreg_t;
+typedef struct {
+  unsigned int u[4];
+} __attribute__ ((aligned (16))) elf_vrreg_t;
 typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
 #endif