From 287c0e3b92f557f56edecdbf6961b2fb7397636d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 15 Jan 2013 08:01:33 +0000 Subject: [PATCH] csu: restore crt1.o symlink . minix gcc package uses crt1.o to link --- lib/csu/common/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/csu/common/Makefile.inc b/lib/csu/common/Makefile.inc index 98b50d23e..c635479c6 100644 --- a/lib/csu/common/Makefile.inc +++ b/lib/csu/common/Makefile.inc @@ -10,6 +10,10 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/libexec/ld.elf_so -I${COMMON_DIR} -I. OBJS+= crt0.o gcrt0.o crti.o crtn.o OBJS+= crtbegin.o crtbeginS.o crtend.o +# BJG - for backwards compatability with minix gcc +# which links with crt1.o instead of crt0.o +SYMLINKS+= crt0.o ${LIBDIR}/crt1.o + realall: ${OBJS} crtbegin.o: crtbegin.S -- 2.44.0