This is the mail archive of the
mailing list for the GCC project.
[mips patch rfa] define CRTSTUFF_T_CFLAGS_S in t-linux64
- From: cgd at broadcom dot com
- To: gcc-patches at gcc dot gnu dot org
- Cc: echristo at redhat dot com
- Date: 27 May 2003 10:34:22 -0700
- Subject: [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
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-)
2003-05-27 Chris Demetriou <email@example.com>
* config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
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