patches/gcc/3.4.6/240-mips-xgot.patch
author Titus von Boxberg <titus@v9g.de>
Sun Aug 21 17:54:12 2011 +0200 (2011-08-21)
branch1.12
changeset 2635 daa630f28c05
parent 339 bd5e0a849352
permissions -rw-r--r--
complibs/libelf: use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from e4a6fefcb0f5ecbcade3ae5edbe609560843aed1)
     1 diff -durN gcc-3.4.6.orig/gcc/config/mips/t-linux gcc-3.4.6/gcc/config/mips/t-linux
     2 --- gcc-3.4.6.orig/gcc/config/mips/t-linux	1970-01-01 01:00:00.000000000 +0100
     3 +++ gcc-3.4.6/gcc/config/mips/t-linux	2007-08-15 23:08:15.000000000 +0200
     4 @@ -0,0 +1,3 @@
     5 +# Compile crtbegin/end with xgot so it works for both
     6 +# normal and large GOTs.
     7 +CRTSTUFF_T_CFLAGS = -mxgot