patches/glibc/2.2.5/glibc-2.2.5-powerpc-as.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 16:22:51 2007 +0000 (2007-05-17)
changeset 96 aa1a9fbd6eb8
permissions -rw-r--r--
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
yann@1
     1
Based on glibc-2.3.2/glibc-2.3.2-powerpc-as.patch
yann@1
     2
yann@1
     3
Fixes the following errors when building glibc for ppc7450:
yann@1
     4
yann@1
     5
/tmp/ccwlHdbl.s: Assembler messages:
yann@1
     6
/tmp/ccwlHdbl.s:73: Error: Unrecognized opcode: `stvx'
yann@1
     7
/tmp/ccwlHdbl.s:74: Error: Unrecognized opcode: `mfvrsave'
yann@1
     8
/tmp/ccwlHdbl.s:300: Error: Unrecognized opcode: `lvx'
yann@1
     9
/tmp/ccwlHdbl.s:302: Error: Unrecognized opcode: `mtvrsave'
yann@1
    10
make[2]: *** [/usr/local/src/crosstool-0.28-rc34/build/powerpc-7450-linux-gnu/gcc-3.2.3-glibc-2.2.5/build-glibc/libio/iopopen.o] Error 1
yann@1
    11
make[2]: Leaving directory `/home/local/src/crosstool-0.28-rc34/build/powerpc-7450-linux-gnu/gcc-3.2.3-glibc-2.2.5/glibc-2.2.5/libio'
yann@1
    12
make[1]: *** [libio/subdir_lib] Error 2
yann@1
    13
make[1]: Leaving directory `/home/local/src/crosstool-0.28-rc34/build/powerpc-7450-linux-gnu/gcc-3.2.3-glibc-2.2.5/glibc-2.2.5'
yann@1
    14
make: *** [all] Error 2
yann@1
    15
yann@1
    16
Contributed by Tom Warzeka <waz@quahog.npt.nuwc.navy.mil>
yann@1
    17
yann@1
    18
===================================================================
yann@1
    19
--- glibc-2.2.5/sysdeps/powerpc/Makefile~	2004-08-31 14:59:15.000000000 -0400
yann@1
    20
+++ glibc-2.2.5/sysdeps/powerpc/Makefile	2004-09-02 19:47:21.000000000 -0400
yann@1
    21
@@ -1,7 +1,6 @@
yann@1
    22
 # We always want to use the new mnemonic syntax even if we are on a RS6000
yann@1
    23
 # machine.
yann@1
    24
-+cflags += -mnew-mnemonics -Wa,-mppc -mpowerpc
yann@1
    25
-asm-CPPFLAGS += -Wa,-mppc
yann@1
    26
++cflags += -mnew-mnemonics
yann@1
    27
 
yann@1
    28
 ifeq ($(subdir),gmon)
yann@1
    29
 sysdep_routines += ppc-mcount