t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file.
authorAlan Modra <amodra@bigpond.net.au>
Fri, 5 Apr 2002 04:42:17 +0000 (04:42 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 5 Apr 2002 04:42:17 +0000 (14:12 +0930)
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
Add rules to make null object file.

From-SVN: r51901

gcc/ChangeLog
gcc/config/rs6000/t-linux64

index f9c6ac23daa2566448292c87e02cc27586cf0b8d..ee5ca79a26c9551fada9dae20752cfc46d32720e 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
+       Add rules to make null object file.
+
 2002-04-04  Jim Blandy  <jimb@redhat.com>
 
        * cppmacro.c (cpp_macro_definition): Do not emit spaces after
index 0323986bc60392e2363cb1292fd594942aece20f..48b61505bf1019b7faa8067c63c0e014074c301e 100644 (file)
@@ -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