patches/glibc/2.3.2/glibc-2.3.2-powerpc-as.patch
changeset 301 2be7232a73ac
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.2/glibc-2.3.2-powerpc-as.patch	Sat Jul 28 21:34:41 2007 +0000
     1.3 @@ -0,0 +1,58 @@
     1.4 +Retrieved from
     1.5 +  http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/powerpc/powerpc32/Makefile.diff?r1=1.4&r2=1.5&cvsroot=glibc
     1.6 +  http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/powerpc/powerpc64/Makefile.diff?r1=1.2&r2=1.3&cvsroot=glibc
     1.7 +Fixes
     1.8 + /tmp/ccEVhqgD.s:279: Error: Unrecognized opcode: `stvx'
     1.9 + /tmp/ccEVhqgD.s:288: Error: Unrecognized opcode: `lvx'
    1.10 + make[2]: *** [powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/dlfcn/eval.os] Error 1
    1.11 + make[2]: Leaving directory `powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2/dlfcn'
    1.12 + make[1]: *** [dlfcn/others] Error 2
    1.13 + make[1]: Leaving directory `powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2'
    1.14 + make: *** [all] Error 2
    1.15 +
    1.16 +
    1.17 +Revision 1.5 Wed Oct 22 21:30:02 2003 UTC (7 months, 1 week ago) by roland
    1.18 +Branch: MAIN
    1.19 +CVS Tags: HEAD
    1.20 +Changes since 1.4: +0 -3 lines
    1.21 +Diff to previous 1.4 (colored)
    1.22 +
    1.23 +2003-10-22  Steven Munroe  <sjmunroe@us.ibm.com>
    1.24 +
    1.25 +	* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
    1.26 +	append options to these.
    1.27 +	* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
    1.28 +
    1.29 +===================================================================
    1.30 +RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc32/Makefile,v
    1.31 +retrieving revision 1.4
    1.32 +retrieving revision 1.5
    1.33 +diff -u -r1.4 -r1.5
    1.34 +--- libc/sysdeps/powerpc/powerpc32/Makefile	2003/01/27 21:02:01	1.4
    1.35 ++++ libc/sysdeps/powerpc/powerpc32/Makefile	2003/10/22 21:30:02	1.5
    1.36 +@@ -1,8 +1,5 @@
    1.37 + # Powerpc32 specific build options.
    1.38 + 
    1.39 +-+cflags += -Wa,-mppc -mpowerpc
    1.40 +-asm-CPPFLAGS += -Wa,-mppc
    1.41 +-
    1.42 + ifeq ($(with-fp),no)
    1.43 + +cflags += -msoft-float
    1.44 + sysdep-LDFLAGS += -msoft-float
    1.45 +===================================================================
    1.46 +RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc64/Makefile,v
    1.47 +retrieving revision 1.2
    1.48 +retrieving revision 1.3
    1.49 +diff -u -r1.2 -r1.3
    1.50 +--- libc/sysdeps/powerpc/powerpc64/Makefile	2002/09/27 19:44:16	1.2
    1.51 ++++ libc/sysdeps/powerpc/powerpc64/Makefile	2003/10/22 21:30:03	1.3
    1.52 +@@ -1,9 +1,6 @@
    1.53 + # Powerpc64 specific build options.
    1.54 + # this is ./sysdeps/powerpc/powerpc64/Makefile
    1.55 + 
    1.56 +-+cflags += -Wa,-mppc64 -mpowerpc64
    1.57 +-asm-CPPFLAGS += -Wa,-mppc64
    1.58 +-
    1.59 + # Each TOC entry takes 8 bytes and the TOC holds up to 2^16 bytes,
    1.60 + # or 8192 entries.
    1.61 + # If -fpic is not specified, the latest gcc-3.2.1 now generates