Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sbmips/stand/netboot Apply workaround for an ld bug...
details: https://anonhg.NetBSD.org/src/rev/d664edf18702
branches: trunk
changeset: 748753:d664edf18702
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Nov 04 17:03:52 2009 +0000
description:
Apply workaround for an ld bug which creates an empty .rel.dyn section.
diffstat:
sys/arch/sbmips/stand/netboot/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 01fa10a8b95e -r d664edf18702 sys/arch/sbmips/stand/netboot/Makefile
--- a/sys/arch/sbmips/stand/netboot/Makefile Wed Nov 04 17:02:43 2009 +0000
+++ b/sys/arch/sbmips/stand/netboot/Makefile Wed Nov 04 17:03:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/12/11 12:18:51 christos Exp $
+# $NetBSD: Makefile,v 1.4 2009/11/04 17:03:52 skrll Exp $
PROG = netboot
@@ -15,7 +15,8 @@
${PROG}: ${PROG}.sym
@echo creating ${PROG} from ${PROG}.sym...
- @${OBJCOPY} --output-target=binary -R .reginfo ${PROG}.sym ${PROG}
+ @${OBJCOPY} --output-target=binary -R .reginfo -R .rel.dyn \
+ ${PROG}.sym ${PROG}
@chmod 644 ${PROG}
@ls -l ${PROG}
@${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \
Home |
Main Index |
Thread Index |
Old Index