diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-20 20:13:24 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-20 20:13:24 +0000 |
commit | 365411b28a5bb1f471258ef5739d1c480cedb5ba (patch) | |
tree | d9254612f50a223af8a9331c9ed35a38a4256780 /gcc/config/rs6000 | |
parent | 412d06e0fb2bfa1da293083d1eb7419fe9819267 (diff) | |
download | gcc-365411b28a5bb1f471258ef5739d1c480cedb5ba.tar.gz |
* rs6000/t-ppccomm: Use -msdata=none for crtstuff.
Should fix ctor/dtor problems on ppc-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16107 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/t-ppccomm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm index 145fcaede22..c6f9b6c7629 100644 --- a/gcc/config/rs6000/t-ppccomm +++ b/gcc/config/rs6000/t-ppccomm @@ -67,3 +67,7 @@ $(T)scrtn$(objext): scrtn.S $(T)scrt0$(objext): scrt0.c $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c scrt0.c -o $(T)scrt0$(objext) + +# It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata. +CRTSTUFF_T_CFLAGS = -msdata=none +CRTSTUFF_T_CFLAGS_S = -fpic -msdata=none |