summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/sys
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-27 11:41:56 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-27 11:41:56 +0000
commit8ae5e888088b1036f200cd91c701e6beded9b221 (patch)
treeb8c34c65dfca05105b3d4a7f1a3058e096d0acf6 /libc/sysdeps/linux/powerpc/sys
parent632cf2de060a34f1b32ac8c24ee93c7f95a4e44f (diff)
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).
Diffstat (limited to 'libc/sysdeps/linux/powerpc/sys')
-rw-r--r--libc/sysdeps/linux/powerpc/sys/procfs.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/powerpc/sys/procfs.h b/libc/sysdeps/linux/powerpc/sys/procfs.h
index f2424889e..ff85f09f9 100644
--- a/libc/sysdeps/linux/powerpc/sys/procfs.h
+++ b/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