summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-05 04:42:17 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-05 04:42:17 +0000
commit88a4e075bb522053ee521367b047d48609ae784d (patch)
tree25cd98d341c42367bb509de02876afac12e9c198
parent2aff182612bf63fdcdc2895147156a2c1d1e8244 (diff)
downloadppe42-gcc-88a4e075bb522053ee521367b047d48609ae784d.tar.gz
ppe42-gcc-88a4e075bb522053ee521367b047d48609ae784d.zip
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
Add rules to make null object file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51901 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/t-linux6410
2 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9c6ac23daa..ee5ca79a26c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64
index 0323986bc60..48b61505bf1 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
OpenPOWER on IntegriCloud