Browse Source

asierllano writes in bug 370:
The gcc compiler has deprecated the type __uint128 for 32-bits platforms. Due to the fact that this
type was introduced in gcc-3.1 it is better to drop its use.
(glibc has the same problem and uses this same solution).

Joakim Tjernlund 20 years ago
parent
commit
8ae5e88808
1 changed files with 3 additions and 8 deletions
  1. 3 8
      libc/sysdeps/linux/powerpc/sys/procfs.h

+ 3 - 8
libc/sysdeps/linux/powerpc/sys/procfs.h

@@ -42,15 +42,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];
 
 struct elf_siginfo