patches/glibc/2.2.5/glibc-2.2.5-mips-dl-machine-1.59-kinda.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 28 21:34:41 2007 +0000 (2007-07-28)
changeset 301 2be7232a73ac
permissions -rw-r--r--
Bump version to 0.2.2.
     1 Fixes error
     2 
     3 In file included from dynamic-link.h:21,
     4                  from dl-load.c:32:
     5 ../sysdeps/mips/dl-machine.h:454: error: parse error before "$29"
     6 ../sysdeps/mips/dl-machine.h:454: warning: type defaults to `int' in declaration of `$29'
     7 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
     8 ../sysdeps/mips/dl-machine.h:454: error: syntax error at '#' token
     9 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    10 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    11 ../sysdeps/mips/dl-machine.h:454: error: syntax error at '#' token
    12 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    13 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    14 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    15 ../sysdeps/mips/dl-machine.h:454: error: stray '\' in program
    16 ../sysdeps/mips/dl-machine.h:454: error: missing terminating " character
    17 ...
    18 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
    19 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'
    20 
    21 See also http://sources.redhat.com/ml/crossgcc/2003-12/msg00014.html
    22 
    23 ===================================================================
    24 diff -u -r1.58 -r1.59
    25 --- libc/sysdeps/mips/dl-machine.h	2002/02/01 01:31:55	1.58
    26 +++ libc/sysdeps/mips/dl-machine.h	2002/02/03 00:29:15	1.59
    27 @@ -449,7 +449,7 @@
    28  	addu $7, $7, 4\n\
    29  	subu $29, 16\n\
    30  	# Call the function to run the initializers.\n\
    31 -	jal _dl_init
    32 +	jal _dl_init\n\
    33  	addiu $29, 16\n\
    34  	# Pass our finalizer function to the user in $2 as per ELF ABI.\n\
    35  	la $2, _dl_fini\n\