Module Name: src Committed By: martin Date: Sun Jun 7 16:59:04 UTC 2020
Modified Files: src/sys/arch/arc/stand/boot [netbsd-9]: Makefile Log Message: Pull up following revision(s) (requested by tsutsui in ticket #947): sys/arch/arc/stand/boot/Makefile: revision 1.18 Explicitly strip debug info on calling objdump for ecoff boot binaries. As noted by martin@ on tech-toolchain@, release binaries are built with MKDEBUG=yes so standalone binaries should explicitly remove debug info generated by -g option. https://mail-index.netbsd.org/tech-toolchain/2020/06/02/msg003809.html Should be pulled up to netbsd-9. (ARC BIOS gets confused by debug info sections in ecoff binaries and boot binary in 9.0 doesn't work) To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.18.1 src/sys/arch/arc/stand/boot/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/arc/stand/boot/Makefile diff -u src/sys/arch/arc/stand/boot/Makefile:1.17 src/sys/arch/arc/stand/boot/Makefile:1.17.18.1 --- src/sys/arch/arc/stand/boot/Makefile:1.17 Sat Apr 8 19:53:20 2017 +++ src/sys/arch/arc/stand/boot/Makefile Sun Jun 7 16:59:04 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2017/04/08 19:53:20 christos Exp $ +# $NetBSD: Makefile,v 1.17.18.1 2020/06/07 16:59:04 martin Exp $ .include <bsd.init.mk> @@ -62,7 +62,7 @@ ${PROG}: ${OBJS} ${LIBS} -e start -o ${PROG}.elf ${OBJS} ${LIBS} @${SIZE} ${PROG}.elf ${OBJCOPY} --impure -O ecoff-littlemips \ - -R .pdr -R .mdebug.abi32 -R .comment -R .ident \ + -R .pdr -R .mdebug.abi32 -R .comment -R .ident --strip-debug \ ${PROG}.elf ${.TARGET} CLEANFILES+= ${PROG}.elf ${PROG}.map