Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common_elf -x is too heavy-handed for removing symbo...
details: https://anonhg.NetBSD.org/src/rev/616cd02ca833
branches: trunk
changeset: 532389:616cd02ca833
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu Jun 06 19:17:01 2002 +0000
description:
-x is too heavy-handed for removing symbols; newer versions of GNU ld
will completely delete empty local symbols with it. Use -X instead
for crt{begin,end}*.o, to keep init_fallthru hacks.
diffstat:
lib/csu/common_elf/Makefile.inc | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 20e95ecf519d -r 616cd02ca833 lib/csu/common_elf/Makefile.inc
--- a/lib/csu/common_elf/Makefile.inc Thu Jun 06 17:20:50 2002 +0000
+++ b/lib/csu/common_elf/Makefile.inc Thu Jun 06 19:17:01 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.16 2002/05/05 00:45:31 thorpej Exp $
+# $NetBSD: Makefile.inc,v 1.17 2002/06/06 19:17:01 fvdl Exp $
.include <bsd.own.mk>
@@ -41,25 +41,25 @@
crtbegin.o: crtbegin.c
@echo "${COMPILE.c} ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
+ @${LD} -X -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
crtbeginS.o: crtbegin.c
@echo "${COMPILE.c} -DSHARED ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c} -DSHARED ${.ALLSRC} -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
+ @${LD} -X -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
crtend.o: crtend.c
@echo "${COMPILE.c} ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
+ @${LD} -X -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
crtendS.o: crtend.c
@echo "${COMPILE.c} -DSHARED ${.ALLSRC} -o ${.TARGET}"
@${COMPILE.c} -DSHARED ${.ALLSRC} -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
+ @${LD} -X -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
FILES=${OBJS}
Home |
Main Index |
Thread Index |
Old Index