patches/glibc/2.3.2/old/glibc-2.3.2-powerpc-procfs.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 28 21:34:41 2007 +0000 (2007-07-28)
changeset 301 2be7232a73ac
permissions -rw-r--r--
Bump version to 0.2.2.
yann@1
     1
See http://sources.redhat.com/ml/libc-alpha/2003-12/msg00101.html
yann@1
     2
Fixes
yann@1
     3
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: conflicting types  for 'elf_vrreg_t' 
yann@1
     4
when building glibc-2.3.2 for powerpc64 and linux-2.6.x
yann@1
     5
yann@1
     6
===================================================================
yann@1
     7
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
yann@1
     8
retrieving revision 1.10
yann@1
     9
retrieving revision 1.11
yann@1
    10
diff -u -r1.10 -r1.11
yann@1
    11
--- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/01/12 08:24:23	1.10
yann@1
    12
+++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/12/17 23:09:34	1.11
yann@1
    13
@@ -45,7 +45,6 @@
yann@1
    14
 
yann@1
    15
 typedef double elf_fpreg_t;
yann@1
    16
 typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
yann@1
    17
-#endif
yann@1
    18
 
yann@1
    19
 /* gcc 3.1 and newer support __uint128_t.  */
yann@1
    20
 #if !__GNUC_PREREQ(3,1)
yann@1
    21
@@ -57,6 +56,7 @@
yann@1
    22
 /* Altivec registers */
yann@1
    23
 typedef __uint128_t elf_vrreg_t;
yann@1
    24
 typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
yann@1
    25
+#endif
yann@1
    26
 
yann@1
    27
 struct elf_siginfo
yann@1
    28
   {