From 38abadee50ae391278e56188923c17a4495a7b49 Mon Sep 17 00:00:00 2001 From: Franz Sirl Date: Mon, 21 Jan 2002 18:55:07 +0000 Subject: [PATCH] t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. 2002-01-21 Franz Sirl * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. From-SVN: r49048 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/t-ppccomm | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8daba8ee19e..64640a5f9f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-21 Franz Sirl + + * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. + 2002-01-21 Daniel Jacobowitz * config.gcc: Add entries to supported PowerPC --with-cpu diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm index 7edd3d88090..e264586db45 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