yann@1: First discussed here: yann@1: http://gcc.gnu.org/ml/gcc/2005-01/msg00509.html yann@1: yann@1: Revision 1.12, Wed Mar 2 20:11:38 2005 UTC by roland yann@1: Branch: MAIN yann@1: CVS Tags: fedora-glibc-20050303T1335, HEAD yann@1: Changes since 1.11: +3 -8 lines yann@1: Diff to previous 1.11 (colored) yann@1: yann@1: 2005-02-21 Alan Modra yann@1: yann@1: * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't yann@1: use __uint128_t. yann@1: yann@1: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h?cvsroot=glibc yann@1: 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 yann@1: yann@1: Fixes yann@1: yann@1: In file included from ../linuxthreads_db/proc_service.h:20, yann@1: from ../linuxthreads_db/thread_dbP.h:7, yann@1: from ../linuxthreads/descr.h:44, yann@1: from ../linuxthreads/internals.h:30, yann@1: from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27, yann@1: from ../sysdeps/generic/ldsodefs.h:38, yann@1: from ../sysdeps/unix/sysv/linux/ldsodefs.h:25, yann@1: from :2: yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: error: syntax error before 'elf_vrreg_t' yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: type defaults to 'int' in declaration of 'elf_vrreg_t' yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: data definition has no type or storage class yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: syntax error before 'elf_vrregset_t' yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: type defaults to 'int' in declaration of 'elf_vrregset_t' yann@1: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: data definition has no type or storage class yann@1: 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' yann@1: yann@1: yann@1: =================================================================== yann@1: RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v yann@1: retrieving revision 1.11 yann@1: retrieving revision 1.12 yann@1: diff -u -r1.11 -r1.12 yann@1: --- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2003/12/17 23:09:34 1.11 yann@1: +++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2005/03/02 20:11:38 1.12 yann@1: @@ -46,15 +46,10 @@ yann@1: typedef double elf_fpreg_t; yann@1: typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; yann@1: yann@1: -/* gcc 3.1 and newer support __uint128_t. */ yann@1: -#if !__GNUC_PREREQ(3,1) yann@1: -typedef struct { yann@1: - unsigned long u[4]; yann@1: -} __attribute((aligned(16))) __uint128_t; yann@1: -#endif yann@1: - yann@1: /* Altivec registers */ yann@1: -typedef __uint128_t elf_vrreg_t; yann@1: +typedef struct { yann@1: + unsigned int u[4]; yann@1: +} __attribute__ ((aligned (16))) elf_vrreg_t; yann@1: typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG]; yann@1: #endif yann@1: