summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>2000-12-13 17:10:38 +0000
committerrnordier <rnordier@FreeBSD.org>2000-12-13 17:10:38 +0000
commit385258aeec532b05d56e79948e0317eb7c3a432a (patch)
tree85b8307c546c8e051a19856231157d7085469e40 /sys/boot/i386
parent9de15e4f2c32306e3143f4d79ebbe2e25763c0e1 (diff)
downloadFreeBSD-src-385258aeec532b05d56e79948e0317eb7c3a432a.zip
FreeBSD-src-385258aeec532b05d56e79948e0317eb7c3a432a.tar.gz
Strip the .comment and .note sections when stripping. There's no
point in retaining this info, particularly under BTX.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index fa54f51..d034adc 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -91,7 +91,7 @@ ${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} ${BTXCRT} ${BASE}.help
${BASE}.bin: ${BASE}.sym
cp ${.ALLSRC} ${.TARGET}
- strip ${.TARGET}
+ strip -R .comment -R .note ${.TARGET}
${BASE}.help: help.common help.i386
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
OpenPOWER on IntegriCloud