patches/gcc/3.4.6/240-mips-xgot.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:10:53 2011 +0200 (2011-07-17)
changeset 2890 a59712c236df
parent 339 bd5e0a849352
permissions -rw-r--r--
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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