This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[mips patch rfa] define CRTSTUFF_T_CFLAGS_S in t-linux64


I find that I need the following, else when cross-building a native
compiler, my crtbeginS.o files (etc.) end up with the wrong ABI.  (the
ones that should be o32 end up n32.)

(This *doesn't* seem to happen with native builds of a native
compiler, and I don't quite understand that, but i've not dug into it
deeply yet.)


tested by cross-building building a mips64el-linux-gnu cross-compiler
from x86 linux.

this seems pretty much obvious to me, *but*: i don't understand (yet)
why it's not a problem for native builds, and i figured i'd want Eric
to ACK it in case he wants to look at the other t-* files more
carefully for similar stuff.  8-)


cgd
--
2003-05-27  Chris Demetriou  <cgd@broadcom.com>

	* config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.

Index: config/mips/t-linux64
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/t-linux64,v
retrieving revision 1.2
diff -u -p -r1.2 t-linux64
--- config/mips/t-linux64	1 Apr 2003 21:45:28 -0000	1.2
+++ config/mips/t-linux64	27 May 2003 17:30:59 -0000
@@ -40,3 +40,4 @@ specs: specs.install
 # options that actually work.
 MULTILIB_EXTRA_OPTS = mabi-fake-default
 CRTSTUFF_T_CFLAGS = -mabi-fake-default
+CRTSTUFF_T_CFLAGS_S = -mabi-fake-default


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]