Module Name: src
Committed By: skrll
Date: Wed Nov 4 17:03:52 UTC 2009
Modified Files:
src/sys/arch/sbmips/stand/netboot: Makefile
Log Message:
Apply workaround for an ld bug which creates an empty .rel.dyn section.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sbmips/stand/netboot/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sbmips/stand/netboot/Makefile
diff -u src/sys/arch/sbmips/stand/netboot/Makefile:1.3 src/sys/arch/sbmips/stand/netboot/Makefile:1.4
--- src/sys/arch/sbmips/stand/netboot/Makefile:1.3 Sun Dec 11 12:18:51 2005
+++ src/sys/arch/sbmips/stand/netboot/Makefile Wed Nov 4 17:03:52 2009
@@ -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} \