source:
patches/glibc-2.3.4-allow-gcc-4.0-powerpc-procfs.patch@
f118837
Last change on this file since f118837 was 617118d, checked in by , 19 years ago | |
---|---|
|
|
File size: 2.9 KB |
-
libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> Date: 2005-05-03 Initial Package Version: 2.3.4 Origin: Dan Kegel's crosstool ( http://kegel.com/crosstool/ ) Upstream Status: Fixed in glibc cvs ( see below for rev ) Description: First discussed here: http://gcc.gnu.org/ml/gcc/2005-01/msg00509.html Revision 1.12, Wed Mar 2 20:11:38 2005 UTC by roland Branch: MAIN CVS Tags: fedora-glibc-20050303T1335, HEAD Changes since 1.11: +3 -8 lines Diff to previous 1.11 (colored) 2005-02-21 Alan Modra <amodra@bigpond.net.au> * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't use __uint128_t. http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h?cvsroot=glibc 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 Fixes In file included from ../linuxthreads_db/proc_service.h:20, from ../linuxthreads_db/thread_dbP.h:7, from ../linuxthreads/descr.h:44, from ../linuxthreads/internals.h:30, from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27, from ../sysdeps/generic/ldsodefs.h:38, from ../sysdeps/unix/sysv/linux/ldsodefs.h:25, from <stdin>:2: ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: error: syntax error before 'elf_vrreg_t' ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: type defaults to 'int' in declaration of 'elf_vrreg_t' ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: data definition has no type or storage class ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: syntax error before 'elf_vrregset_t' ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: type defaults to 'int' in declaration of 'elf_vrregset_t' ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: data definition has no type or storage class 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' RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12
46 46 typedef double elf_fpreg_t; 47 47 typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; 48 48 49 /* gcc 3.1 and newer support __uint128_t. */50 #if !__GNUC_PREREQ(3,1)51 typedef struct {52 unsigned long u[4];53 } __attribute((aligned(16))) __uint128_t;54 #endif55 56 49 /* Altivec registers */ 57 typedef __uint128_t elf_vrreg_t; 50 typedef struct { 51 unsigned int u[4]; 52 } __attribute__ ((aligned (16))) elf_vrreg_t; 58 53 typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG]; 59 54 #endif 60 55
Note:
See TracBrowser
for help on using the repository browser.