t-ppccomm: Use -msdata=none for crtstuff.
authorGeoff Keating <geoffk@ozemail.com.au>
Mon, 20 Oct 1997 20:13:24 +0000 (14:13 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 20 Oct 1997 20:13:24 +0000 (14:13 -0600)
        * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
Should fix ctor/dtor problems on ppc-linux.

From-SVN: r16107

gcc/ChangeLog
gcc/config/rs6000/t-ppccomm

index 1fa2de7aac274d22ccdbeb78cd04e05eabd1221d..8e846134e3d21dc8c05e416f3da206faa3052c78 100644 (file)
@@ -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>
index 145fcaede22005c307d17905bd55ca0d95335618..c6f9b6c7629722cf0ecc09d5d6eaf1f61a0378d0 100644 (file)
@@ -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