aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@ozemail.com.au>1997-10-20 14:13:24 -0600
committerJeff Law <law@gcc.gnu.org>1997-10-20 14:13:24 -0600
commit2d5b6dea254eb59bcd22cae42b1a445713bf5452 (patch)
treed9254612f50a223af8a9331c9ed35a38a4256780
parent92b968383e5940e16ef7d7767b018df4119d4906 (diff)
downloadgcc-2d5b6dea254eb59bcd22cae42b1a445713bf5452.zip
gcc-2d5b6dea254eb59bcd22cae42b1a445713bf5452.tar.gz
gcc-2d5b6dea254eb59bcd22cae42b1a445713bf5452.tar.bz2
t-ppccomm: Use -msdata=none for crtstuff.
* rs6000/t-ppccomm: Use -msdata=none for crtstuff. Should fix ctor/dtor problems on ppc-linux. From-SVN: r16107
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/t-ppccomm4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1fa2de7..8e84613 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
+
+ * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
+
Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
Jeff Law <law@cygnus.com>
Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm
index 145fcae..c6f9b6c 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