Module Name: src
Committed By: christos
Date: Thu Jul 21 17:45:00 UTC 2016
Modified Files:
src/sys/arch/sbmips/stand: Makefile.bootxx
Log Message:
remove .MIPS.abiflags to avoid objcopy creating a 0x20000000 large boot file.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sbmips/stand/Makefile.bootxx
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/sbmips/stand/Makefile.bootxx
diff -u src/sys/arch/sbmips/stand/Makefile.bootxx:1.3 src/sys/arch/sbmips/stand/Makefile.bootxx:1.4
--- src/sys/arch/sbmips/stand/Makefile.bootxx:1.3 Sun Feb 20 02:47:39 2011
+++ src/sys/arch/sbmips/stand/Makefile.bootxx Thu Jul 21 13:45:00 2016
@@ -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 @@ CLEANFILES+= ${PROG}.sym
${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} \