remove .MIPS.abiflags to avoid objcopy creating a 0x20000000 large boot file.
This commit is contained in:
parent
67c90d24d8
commit
687ac45a6a
|
@ -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 \
|
SRCS = start.S bootxx.c booted_dev.c blkdev.c cfe.c cfe_api.c \
|
||||||
putstr.c panic_putstr.c
|
putstr.c panic_putstr.c
|
||||||
|
@ -19,7 +19,8 @@ CLEANFILES+= ${PROG}.sym
|
||||||
|
|
||||||
${PROG}: ${PROG}.sym
|
${PROG}: ${PROG}.sym
|
||||||
@echo creating ${PROG} from ${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}
|
@chmod 644 ${PROG}
|
||||||
@ls -l ${PROG}
|
@ls -l ${PROG}
|
||||||
@${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${PRIMARY_MAX_LOAD} \
|
@${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${PRIMARY_MAX_LOAD} \
|
||||||
|
|
Loading…
Reference in New Issue