Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sbmips/stand remove .MIPS.abiflags to avoid objcopy...



details:   https://anonhg.NetBSD.org/src/rev/cc13d51de264
branches:  trunk
changeset: 346611:cc13d51de264
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 21 17:45:00 2016 +0000

description:
remove .MIPS.abiflags to avoid objcopy creating a 0x20000000 large boot file.

diffstat:

 sys/arch/sbmips/stand/Makefile.bootxx |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 74bd14e27f1e -r cc13d51de264 sys/arch/sbmips/stand/Makefile.bootxx
--- a/sys/arch/sbmips/stand/Makefile.bootxx     Thu Jul 21 17:02:47 2016 +0000
+++ b/sys/arch/sbmips/stand/Makefile.bootxx     Thu Jul 21 17:45:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.3 2011/02/20 07:47:39 matt Exp $
+# $NetBSD: Makefile.bootxx,v 1.4 2016/07/21 17:45:00 christos Exp $
 
 SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
        putstr.c panic_putstr.c 
@@ -19,7 +19,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 .MIPS.abiflags \
+           ${PROG}.sym ${PROG}
        @chmod 644 ${PROG}
        @ls -l ${PROG}
        @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${PRIMARY_MAX_LOAD} \



Home | Main Index | Thread Index | Old Index