patches/glibc/2.3.2/old/glibc-2.3.2-powerpc-procfs.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
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
   {