1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.2.5/glibc-2.2.5-mips-dl-machine-1.59-kinda.patch Tue May 22 20:41:50 2007 +0000
1.3 @@ -0,0 +1,35 @@
1.4 +Fixes error
1.5 +
1.6 +In file included from dynamic-link.h:21,
1.7 + from dl-load.c:32:
1.8 +../sysdeps/mips/dl-machine.h:454: error: parse error before "$29"
1.9 +../sysdeps/mips/dl-machine.h:454: warning: type defaults to `int' in declaration of `$29'
1.10 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.11 +../sysdeps/mips/dl-machine.h:454: error: syntax error at '#' token
1.12 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.13 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.14 +../sysdeps/mips/dl-machine.h:454: error: syntax error at '#' token
1.15 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.16 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.17 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.18 +../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
1.19 +../sysdeps/mips/dl-machine.h:454: error: missing terminating " character
1.20 +...
1.21 +make[2]: *** [/home/dank/wk/crosstool-0.28-rc24/build/mipsel-unknown-linux-gnu/gcc-3.4.0-glibc-2.2.5/build-glibc/elf/dl-load.o] Error 1
1.22 +make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc24/build/mipsel-unknown-linux-gnu/gcc-3.4.0-glibc-2.2.5/glibc-2.2.5/elf'
1.23 +
1.24 +See also http://sources.redhat.com/ml/crossgcc/2003-12/msg00014.html
1.25 +
1.26 +===================================================================
1.27 +diff -u -r1.58 -r1.59
1.28 +--- libc/sysdeps/mips/dl-machine.h 2002/02/01 01:31:55 1.58
1.29 ++++ libc/sysdeps/mips/dl-machine.h 2002/02/03 00:29:15 1.59
1.30 +@@ -449,7 +449,7 @@
1.31 + addu $7, $7, 4\n\
1.32 + subu $29, 16\n\
1.33 + # Call the function to run the initializers.\n\
1.34 +- jal _dl_init
1.35 ++ jal _dl_init\n\
1.36 + addiu $29, 16\n\
1.37 + # Pass our finalizer function to the user in $2 as per ELF ABI.\n\
1.38 + la $2, _dl_fini\n\