source: scripts/patches/glibc-2.3.4-allow-gcc-4.0-powerpc-procfs.patch @ a7d67ca

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since a7d67ca was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-05-03
3Initial Package Version: 2.3.4
4Origin: Dan Kegel's crosstool ( http://kegel.com/crosstool/ )
5Upstream Status: Fixed in glibc cvs ( see below for rev )
6Description:
7
8First discussed here:
9http://gcc.gnu.org/ml/gcc/2005-01/msg00509.html
10
11Revision 1.12, Wed Mar 2 20:11:38 2005 UTC by roland
12Branch: MAIN
13CVS Tags: fedora-glibc-20050303T1335, HEAD
14Changes since 1.11: +3 -8 lines
15Diff to previous 1.11 (colored)
16
172005-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
22http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h?cvsroot=glibc
23http://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
25Fixes
26
27In 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
41make[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===================================================================
45RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
46retrieving revision 1.11
47retrieving revision 1.12
48diff -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 
Note: See TracBrowser for help on using the repository browser.