From ba2789556ee7f8f6d93b945bed51d29906624bc2 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 17 May 2002 03:04:47 +0000 Subject: [PATCH] GCC 3.1 on PowerPC also has the crtsavres C Run Time file. --- gnu/lib/csu/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index d39fab9dab8a..0b1cdd9c9c17 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -17,6 +17,11 @@ CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -I. \ CRTS_CFLAGS= -DCRTSTUFFS_O ${PICFLAG} MKDEPCMD= CC="${CC}" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep +.if ${TARGET_ARCH} == "powerpc" +.PATH: ${GCCDIR}/config/${GCC_CPU} +TGTOBJS= crtsavres.o +SRCS+= crtsavres.asm +.endif .if ${TARGET_ARCH} == "sparc64" .PATH: ${GCCDIR}/config/${GCC_CPU} TGTOBJS= crtfastmath.o