[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/powerpc/sys

jocke at uclibc.org jocke at uclibc.org
Sat Aug 27 11:41:56 UTC 2005


Author: jocke
Date: 2005-08-27 05:41:56 -0600 (Sat, 27 Aug 2005)
New Revision: 11264

Log:
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).


Modified:
   trunk/uClibc/libc/sysdeps/linux/powerpc/sys/procfs.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/sys/procfs.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/sys/procfs.h	2005-08-27 00:43:59 UTC (rev 11263)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/sys/procfs.h	2005-08-27 11:41:56 UTC (rev 11264)
@@ -42,15 +42,10 @@
 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




More information about the uClibc-cvs mailing list