Module Name:    src
Committed By:   matt
Date:           Sat Jan 11 00:23:41 UTC 2014

Modified Files:
        src/lib/csu/common_elf [matt-nb5-mips64]: Makefile.inc

Log Message:
Make sure $a/$t/$d are preserved for ARM BE.


To generate a diff of this commit:
cvs rdiff -u -r1.30.10.1 -r1.30.10.2 src/lib/csu/common_elf/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/csu/common_elf/Makefile.inc
diff -u src/lib/csu/common_elf/Makefile.inc:1.30.10.1 src/lib/csu/common_elf/Makefile.inc:1.30.10.2
--- src/lib/csu/common_elf/Makefile.inc:1.30.10.1	Tue Sep  1 23:09:14 2009
+++ src/lib/csu/common_elf/Makefile.inc	Sat Jan 11 00:23:41 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.30.10.1 2009/09/01 23:09:14 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.30.10.2 2014/01/11 00:23:41 matt Exp $
 
 .include <bsd.own.mk>
 
@@ -33,23 +33,23 @@ realall: ${OBJS}
 crt0.o: crt0.c
 	${_MKTARGET_COMPILE}
 	${COMPILE.c} -DCRT0 ${.IMPSRC} -o ${.TARGET}
-	${OBJCOPY} -x ${.TARGET}
+	${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
 
 # dependant on crt0.o to pick up header dependencies
 gcrt0.o: ${.CURDIR}/crt0.c crt0.o
 	${_MKTARGET_COMPILE}
 	${COMPILE.c} -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}
-	${OBJCOPY} -x ${.TARGET}
+	${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
 
 crti.o: crti.c
 	${_MKTARGET_COMPILE}
 	${COMPILE.c} ${.IMPSRC} -o ${.TARGET}
-	${OBJCOPY} -X ${.TARGET}
+	${OBJCOPY} ${OBJCOPYLIBFLAGS} -X ${.TARGET}
 
 crtn.o: crtn.c
 	${_MKTARGET_COMPILE}
 	${COMPILE.c} ${.IMPSRC} -o ${.TARGET}
-	${OBJCOPY} -X ${.TARGET}
+	${OBJCOPY} ${OBJCOPYLIBFLAGS} -X ${.TARGET}
 
 FILES=${OBJS}
 FILESDIR=${LIBDIR}

Reply via email to