t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)
committerFranz Sirl <sirl@gcc.gnu.org>
Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)
2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.

From-SVN: r49048

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

index 8daba8ee19ee2854a07a1942f422195d2727cc26..64640a5f9f5b391898ae357ff7d6993df1b19662 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
+
 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
 
        * config.gcc: Add entries to supported PowerPC --with-cpu
index 7edd3d880902d7f23f2ed348db6c5e118bb70132..e264586db459685099869ff32497c81df89c7749 100644 (file)
@@ -73,6 +73,6 @@ $(T)ncrtn$(objext): ncrtn.S
 
 # It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata.
 CRTSTUFF_T_CFLAGS = -msdata=none
-# There is no need to add -fPIC here because crtstuff is multilibbed
-# and so automatically gets -fPIC when needed.
-CRTSTUFF_T_CFLAGS_S = -msdata=none
+# Make sure crt*.o are built with -fPIC even if configured with 
+# --enable-shared --disable-multilib
+CRTSTUFF_T_CFLAGS_S = -fPIC -msdata=none