patches/glibc/2.3.2/glibc-2.3.2-powerpc-as.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
Retrieved from
yann@1
     2
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/powerpc/powerpc32/Makefile.diff?r1=1.4&r2=1.5&cvsroot=glibc
yann@1
     3
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/powerpc/powerpc64/Makefile.diff?r1=1.2&r2=1.3&cvsroot=glibc
yann@1
     4
Fixes
yann@1
     5
 /tmp/ccEVhqgD.s:279: Error: Unrecognized opcode: `stvx'
yann@1
     6
 /tmp/ccEVhqgD.s:288: Error: Unrecognized opcode: `lvx'
yann@1
     7
 make[2]: *** [powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/dlfcn/eval.os] Error 1
yann@1
     8
 make[2]: Leaving directory `powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2/dlfcn'
yann@1
     9
 make[1]: *** [dlfcn/others] Error 2
yann@1
    10
 make[1]: Leaving directory `powerpc-7450-linux-gnu/gcc-3.4.0-glibc-2.3.2/glibc-2.3.2'
yann@1
    11
 make: *** [all] Error 2
yann@1
    12
yann@1
    13
yann@1
    14
Revision 1.5 Wed Oct 22 21:30:02 2003 UTC (7 months, 1 week ago) by roland
yann@1
    15
Branch: MAIN
yann@1
    16
CVS Tags: HEAD
yann@1
    17
Changes since 1.4: +0 -3 lines
yann@1
    18
Diff to previous 1.4 (colored)
yann@1
    19
yann@1
    20
2003-10-22  Steven Munroe  <sjmunroe@us.ibm.com>
yann@1
    21
yann@1
    22
	* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
yann@1
    23
	append options to these.
yann@1
    24
	* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
yann@1
    25
yann@1
    26
===================================================================
yann@1
    27
RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc32/Makefile,v
yann@1
    28
retrieving revision 1.4
yann@1
    29
retrieving revision 1.5
yann@1
    30
diff -u -r1.4 -r1.5
yann@1
    31
--- libc/sysdeps/powerpc/powerpc32/Makefile	2003/01/27 21:02:01	1.4
yann@1
    32
+++ libc/sysdeps/powerpc/powerpc32/Makefile	2003/10/22 21:30:02	1.5
yann@1
    33
@@ -1,8 +1,5 @@
yann@1
    34
 # Powerpc32 specific build options.
yann@1
    35
 
yann@1
    36
-+cflags += -Wa,-mppc -mpowerpc
yann@1
    37
-asm-CPPFLAGS += -Wa,-mppc
yann@1
    38
-
yann@1
    39
 ifeq ($(with-fp),no)
yann@1
    40
 +cflags += -msoft-float
yann@1
    41
 sysdep-LDFLAGS += -msoft-float
yann@1
    42
===================================================================
yann@1
    43
RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc64/Makefile,v
yann@1
    44
retrieving revision 1.2
yann@1
    45
retrieving revision 1.3
yann@1
    46
diff -u -r1.2 -r1.3
yann@1
    47
--- libc/sysdeps/powerpc/powerpc64/Makefile	2002/09/27 19:44:16	1.2
yann@1
    48
+++ libc/sysdeps/powerpc/powerpc64/Makefile	2003/10/22 21:30:03	1.3
yann@1
    49
@@ -1,9 +1,6 @@
yann@1
    50
 # Powerpc64 specific build options.
yann@1
    51
 # this is ./sysdeps/powerpc/powerpc64/Makefile
yann@1
    52
 
yann@1
    53
-+cflags += -Wa,-mppc64 -mpowerpc64
yann@1
    54
-asm-CPPFLAGS += -Wa,-mppc64
yann@1
    55
-
yann@1
    56
 # Each TOC entry takes 8 bytes and the TOC holds up to 2^16 bytes,
yann@1
    57
 # or 8192 entries.
yann@1
    58
 # If -fpic is not specified, the latest gcc-3.2.1 now generates