aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2002-01-21 18:55:07 +0000
committerFranz Sirl <sirl@gcc.gnu.org>2002-01-21 18:55:07 +0000
commit38abadee50ae391278e56188923c17a4495a7b49 (patch)
tree7e3b65a0f0f8054b2ea146167685b0a8b245efde /gcc
parent94f1d97c484f45123d97286a6ded61f68dbca7fd (diff)
downloadgcc-38abadee50ae391278e56188923c17a4495a7b49.zip
gcc-38abadee50ae391278e56188923c17a4495a7b49.tar.gz
gcc-38abadee50ae391278e56188923c17a4495a7b49.tar.bz2
t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. From-SVN: r49048
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/t-ppccomm6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8daba8e..64640a5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm
index 7edd3d8..e264586 100644
--- a/gcc/config/rs6000/t-ppccomm
+++ b/gcc/config/rs6000/t-ppccomm
@@ -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