[617118d] | 1 | Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> |
---|
| 2 | Date: 2005-05-03 |
---|
| 3 | Initial Package Version: 2.3.4 |
---|
| 4 | Origin: Dan Kegel's crosstool ( http://kegel.com/crosstool/ ) |
---|
| 5 | Upstream Status: Fixed in glibc cvs ( see below for rev ) |
---|
| 6 | Description: |
---|
| 7 | |
---|
| 8 | First discussed here: |
---|
| 9 | http://gcc.gnu.org/ml/gcc/2005-01/msg00509.html |
---|
| 10 | |
---|
| 11 | Revision 1.12, Wed Mar 2 20:11:38 2005 UTC by roland |
---|
| 12 | Branch: MAIN |
---|
| 13 | CVS Tags: fedora-glibc-20050303T1335, HEAD |
---|
| 14 | Changes since 1.11: +3 -8 lines |
---|
| 15 | Diff to previous 1.11 (colored) |
---|
| 16 | |
---|
| 17 | 2005-02-21 Alan Modra <amodra@bigpond.net.au> |
---|
| 18 | |
---|
| 19 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't |
---|
| 20 | use __uint128_t. |
---|
| 21 | |
---|
| 22 | http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h?cvsroot=glibc |
---|
| 23 | 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 |
---|
| 24 | |
---|
| 25 | Fixes |
---|
| 26 | |
---|
| 27 | In file included from ../linuxthreads_db/proc_service.h:20, |
---|
| 28 | from ../linuxthreads_db/thread_dbP.h:7, |
---|
| 29 | from ../linuxthreads/descr.h:44, |
---|
| 30 | from ../linuxthreads/internals.h:30, |
---|
| 31 | from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27, |
---|
| 32 | from ../sysdeps/generic/ldsodefs.h:38, |
---|
| 33 | from ../sysdeps/unix/sysv/linux/ldsodefs.h:25, |
---|
| 34 | from <stdin>:2: |
---|
| 35 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: error: syntax error before 'elf_vrreg_t' |
---|
| 36 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: type defaults to 'int' in declaration of 'elf_vrreg_t' |
---|
| 37 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: data definition has no type or storage class |
---|
| 38 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: syntax error before 'elf_vrregset_t' |
---|
| 39 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: type defaults to 'int' in declaration of 'elf_vrregset_t' |
---|
| 40 | ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: data definition has no type or storage class |
---|
| 41 | 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' |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | =================================================================== |
---|
| 45 | RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v |
---|
| 46 | retrieving revision 1.11 |
---|
| 47 | retrieving revision 1.12 |
---|
| 48 | diff -u -r1.11 -r1.12 |
---|
| 49 | --- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2003/12/17 23:09:34 1.11 |
---|
| 50 | +++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2005/03/02 20:11:38 1.12 |
---|
| 51 | @@ -46,15 +46,10 @@ |
---|
| 52 | typedef double elf_fpreg_t; |
---|
| 53 | typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; |
---|
| 54 | |
---|
| 55 | -/* gcc 3.1 and newer support __uint128_t. */ |
---|
| 56 | -#if !__GNUC_PREREQ(3,1) |
---|
| 57 | -typedef struct { |
---|
| 58 | - unsigned long u[4]; |
---|
| 59 | -} __attribute((aligned(16))) __uint128_t; |
---|
| 60 | -#endif |
---|
| 61 | - |
---|
| 62 | /* Altivec registers */ |
---|
| 63 | -typedef __uint128_t elf_vrreg_t; |
---|
| 64 | +typedef struct { |
---|
| 65 | + unsigned int u[4]; |
---|
| 66 | +} __attribute__ ((aligned (16))) elf_vrreg_t; |
---|
| 67 | typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG]; |
---|
| 68 | #endif |
---|
| 69 | |
---|