patches/gcc/3.4.6/240-mips-xgot.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Aug 19 22:53:48 2011 +0200 (2011-08-19)
changeset 2620 d9c5b3b75864
parent 339 bd5e0a849352
permissions -rw-r--r--
Makefile: introduce PROG_NAME to contain the 'ct-ng' executable name

With the upcomming --program-{prefix,suffix,transform-name} options,
we'll have a need to centralise the actual executable name, that is
now no longer be a constant.

Rather than spread the prefix/suffix through-out the code, just
centralise the name setting in one place. Beside, transform-name
would not be possible without setting the name at a single location.

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