This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
powerpc64-linux crtsavres.o
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 5 Apr 2002 14:15:35 +0930
- Subject: powerpc64-linux crtsavres.o
I've just checked in the following to mainline, and will commit to
3.1 in a moment, approved privately by David Edelsohn. ENDFILE_SPEC
from rs6000/sysv4.h wants crtsavres.o, and it was either this or
duplicate ENDFILE_SPEC in rs6000/linux64.h
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
Add rules to make null object file.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
Index: gcc/config/rs6000/t-linux64
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/t-linux64,v
retrieving revision 1.2
diff -u -p -r1.2 t-linux64
--- t-linux64 2002/04/04 02:38:46 1.2
+++ t-linux64 2002/04/05 01:45:15
@@ -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