1.1 --- a/patches/glibc/2.3.4/glibc-2.3.4-allow-gcc-4.0-powerpc-procfs.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,62 +0,0 @@
1.4 -First discussed here:
1.5 -http://gcc.gnu.org/ml/gcc/2005-01/msg00509.html
1.6 -
1.7 -Revision 1.12, Wed Mar 2 20:11:38 2005 UTC by roland
1.8 -Branch: MAIN
1.9 -CVS Tags: fedora-glibc-20050303T1335, HEAD
1.10 -Changes since 1.11: +3 -8 lines
1.11 -Diff to previous 1.11 (colored)
1.12 -
1.13 -2005-02-21 Alan Modra <amodra@bigpond.net.au>
1.14 -
1.15 - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
1.16 - use __uint128_t.
1.17 -
1.18 -http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h?cvsroot=glibc
1.19 -http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h.diff?r1=1.11&r2=1.12&cvsroot=glibc
1.20 -
1.21 -Fixes
1.22 -
1.23 -In file included from ../linuxthreads_db/proc_service.h:20,
1.24 - from ../linuxthreads_db/thread_dbP.h:7,
1.25 - from ../linuxthreads/descr.h:44,
1.26 - from ../linuxthreads/internals.h:30,
1.27 - from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
1.28 - from ../sysdeps/generic/ldsodefs.h:38,
1.29 - from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
1.30 - from <stdin>:2:
1.31 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: error: syntax error before 'elf_vrreg_t'
1.32 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: type defaults to 'int' in declaration of 'elf_vrreg_t'
1.33 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: data definition has no type or storage class
1.34 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: syntax error before 'elf_vrregset_t'
1.35 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: type defaults to 'int' in declaration of 'elf_vrregset_t'
1.36 -../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: data definition has no type or storage class
1.37 -make[2]: make[2]: Leaving directory `/home/dank/queue/jobdir.fast2/crosstool-dev/build/powerpc-750-linux-gnu/gcc-4.0-20050305-glibc-2.3-20050307/glibc-2.3-20050307/csu'
1.38 -
1.39 -
1.40 -===================================================================
1.41 -RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
1.42 -retrieving revision 1.11
1.43 -retrieving revision 1.12
1.44 -diff -u -r1.11 -r1.12
1.45 ---- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2003/12/17 23:09:34 1.11
1.46 -+++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2005/03/02 20:11:38 1.12
1.47 -@@ -46,15 +46,10 @@
1.48 - typedef double elf_fpreg_t;
1.49 - typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
1.50 -
1.51 --/* gcc 3.1 and newer support __uint128_t. */
1.52 --#if !__GNUC_PREREQ(3,1)
1.53 --typedef struct {
1.54 -- unsigned long u[4];
1.55 --} __attribute((aligned(16))) __uint128_t;
1.56 --#endif
1.57 --
1.58 - /* Altivec registers */
1.59 --typedef __uint128_t elf_vrreg_t;
1.60 -+typedef struct {
1.61 -+ unsigned int u[4];
1.62 -+} __attribute__ ((aligned (16))) elf_vrreg_t;
1.63 - typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
1.64 - #endif
1.65 -