OSDN Git Service

2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
authorsirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)
committersirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)
* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49048 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 8daba8e..64640a5 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 7edd3d8..e264586 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