Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/arch/arc/stand/boot Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/376d7249fd5c
branches:  netbsd-9
changeset: 963931:376d7249fd5c
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 07 16:59:04 2020 +0000

description:
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)

diffstat:

 sys/arch/arc/stand/boot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 88574dff38ef -r 376d7249fd5c sys/arch/arc/stand/boot/Makefile
--- a/sys/arch/arc/stand/boot/Makefile  Sun Jun 07 16:40:00 2020 +0000
+++ b/sys/arch/arc/stand/boot/Makefile  Sun Jun 07 16:59:04 2020 +0000
@@ -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 @@
            -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



Home | Main Index | Thread Index | Old Index