From a2e9374ac3ed90a5e04da1a58362cf84b3a5be1a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 5 Apr 2002 04:42:17 +0000 Subject: [PATCH] t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file. * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file. From-SVN: r51901 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/t-linux64 | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9c6ac23daa2..ee5ca79a26c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-05 Alan Modra + + * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o + Add rules to make null object file. + 2002-04-04 Jim Blandy * cppmacro.c (cpp_macro_definition): Do not emit spaces after diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64 index 0323986bc603..48b61505bf10 100644 --- a/gcc/config/rs6000/t-linux64 +++ b/gcc/config/rs6000/t-linux64 @@ -2,7 +2,15 @@ CRTSTUFF_T_CFLAGS_S = TARGET_LIBGCC2_CFLAGS = -EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o +EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ + crtsavres.o + +# ld provides these functions as needed. +crtsavres.S: + echo >crtsavres.S + +$(T)crtsavres.o: crtsavres.S + $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtsavres.S -o $(T)crtsavres.o # Modify the shared lib version file SHLIB_MKMAP_OPTS = -v dotsyms=1 -- 2.47.2