Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch/sparc/stand/ofwboot Pull up following revision(s...



details:   https://anonhg.NetBSD.org/src/rev/a6e668fcb564
branches:  netbsd-7
changeset: 798829:a6e668fcb564
user:      snj <snj%NetBSD.org@localhost>
date:      Mon Jan 12 20:57:31 2015 +0000

description:
Pull up following revision(s) (requested by martin in ticket #411):
        sys/arch/sparc/stand/ofwboot/Makefile: revision 1.33
Strip debug symbols from ofwboot.
The forth bootsector loading this file when booting from disk is
"simplistic" and does not skip non loadable sections. The five times
bigger file with debug info overruns some important memory contents
with some firmware versions otherwise.

diffstat:

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

diffs (18 lines):

diff -r 7dd099beea93 -r a6e668fcb564 sys/arch/sparc/stand/ofwboot/Makefile
--- a/sys/arch/sparc/stand/ofwboot/Makefile     Mon Jan 12 19:18:22 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Makefile     Mon Jan 12 20:57:31 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.32 2014/01/12 15:26:31 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.32.4.1 2015/01/12 20:57:31 snj Exp $
 
 CURDIR=        ${.CURDIR}
 S=     ${CURDIR}/../../../..
@@ -103,7 +103,7 @@
 .else
 ${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
        ${_MKTARGET_LINK}
-       ${LD} -X -N -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
+       ${LD} -X -N -S -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
            ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} # native linker
 .endif
 



Home | Main Index | Thread Index | Old Index