From: Geoff Keating Date: Mon, 20 Oct 1997 20:13:24 +0000 (-0600) Subject: t-ppccomm: Use -msdata=none for crtstuff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d5b6dea254eb59bcd22cae42b1a445713bf5452;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1fa2de7aac2..8e846134e3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 20 14:16:38 1997 Geoffrey KEATING + + * rs6000/t-ppccomm: Use -msdata=none for crtstuff. + Mon Oct 20 02:00:18 1997 Klaus Kaempf Jeff Law Richard Kenner 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