aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-ppccomm
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2002-02-19 19:40:41 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2002-02-19 14:40:41 -0500
commit71c061e67397606a6dbdf3ea2b41a033f1ba7648 (patch)
tree0a94569e40518a2d48af7aad1ecc74f7b6a52cb1 /gcc/config/rs6000/t-ppccomm
parent3a7731fdc10c9dc90e9ffbf6b0bdb7e6e01500a0 (diff)
downloadgcc-71c061e67397606a6dbdf3ea2b41a033f1ba7648.zip
gcc-71c061e67397606a6dbdf3ea2b41a033f1ba7648.tar.gz
gcc-71c061e67397606a6dbdf3ea2b41a033f1ba7648.tar.bz2
linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. * config/rs6000/eabi.asm: Remove ABI save restore routines. * config/rs6000/t-ppccomm: Build crtsavres.o. * config/rs6000/crtsavres.asm: New file. From-SVN: r49873
Diffstat (limited to 'gcc/config/rs6000/t-ppccomm')
-rw-r--r--gcc/config/rs6000/t-ppccomm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm
index bfbb2bc..7570af4 100644
--- a/gcc/config/rs6000/t-ppccomm
+++ b/gcc/config/rs6000/t-ppccomm
@@ -40,7 +40,8 @@ INSTALL_LIBGCC = install-multilib
EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \
crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \
ecrti$(objext) ecrtn$(objext) \
- ncrti$(objext) ncrtn$(objext)
+ ncrti$(objext) ncrtn$(objext) \
+ crtsavres$(objext)
# We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and
# end labels to all of the special sections used when we link using gcc.
@@ -58,6 +59,9 @@ ncrti.S: $(srcdir)/config/rs6000/sol-ci.asm
ncrtn.S: $(srcdir)/config/rs6000/sol-cn.asm
cat $(srcdir)/config/rs6000/sol-cn.asm >ncrtn.S
+crtsavres.S: $(srcdir)/config/rs6000/crtsavres.asm
+ cat $(srcdir)/config/rs6000/crtsavres.asm >crtsavres.S
+
# Build multiple copies of ?crt{i,n}.o, one for each target switch.
$(T)ecrti$(objext): ecrti.S
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c ecrti.S -o $(T)ecrti$(objext)
@@ -71,6 +75,9 @@ $(T)ncrti$(objext): ncrti.S
$(T)ncrtn$(objext): ncrtn.S
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c ncrtn.S -o $(T)ncrtn$(objext)
+$(T)crtsavres$(objext): crtsavres.S
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtsavres.S -o $(T)crtsavres$(objext)
+
# It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata.
CRTSTUFF_T_CFLAGS = -msdata=none
# Make sure crt*.o are built with -fPIC even if configured with