summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-ppccomm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/t-ppccomm')
-rw-r--r--gcc/config/rs6000/t-ppccomm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm
index 00fd44b16b8..3a1f106ad21 100644
--- a/gcc/config/rs6000/t-ppccomm
+++ b/gcc/config/rs6000/t-ppccomm
@@ -6,7 +6,7 @@ CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
-LIB2FUNCS_EXTRA = eabi.S eabi-ctors.c tramp.S
+LIB2FUNCS_EXTRA = eabi.S tramp.S
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
@@ -24,9 +24,6 @@ fp-bit.c: $(srcdir)/config/fp-bit.c
eabi.S: $(srcdir)/config/rs6000/eabi.asm
cat $(srcdir)/config/rs6000/eabi.asm > eabi.S
-eabi-ctors.c: $(srcdir)/config/rs6000/eabi-ctors.c
- cat $(srcdir)/config/rs6000/eabi-ctors.c > eabi-ctors.c
-
tramp.S: $(srcdir)/config/rs6000/tramp.asm
cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
@@ -44,6 +41,7 @@ MULTILIB_MATCHES_SYSV = mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \
+ crtbeginS$(objext) crtendS$(objext) \
ecrti$(objext) ecrtn$(objext) scrt0$(objext) scrti$(objext) scrtn$(objext)
# We build {e,s}crti.o, {e,s}crtn.o, and scrt0.o which serve to add begin and
@@ -83,4 +81,6 @@ $(T)scrt0$(objext): scrt0.c
# 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