Module Name: src
Committed By: mrg
Date: Mon May 17 22:36:31 UTC 2021
Modified Files:
src/sys/arch/mipsco/stand: Makefile.booters
Log Message:
also strip .eh_frame. libkern dkcksum pushed bootxx_ffs 7 bytes over a limit.
remove an old comment.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mipsco/stand/Makefile.booters
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/mipsco/stand/Makefile.booters
diff -u src/sys/arch/mipsco/stand/Makefile.booters:1.24 src/sys/arch/mipsco/stand/Makefile.booters:1.25
--- src/sys/arch/mipsco/stand/Makefile.booters:1.24 Sat Apr 8 19:53:21 2017
+++ src/sys/arch/mipsco/stand/Makefile.booters Mon May 17 22:36:31 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.24 2017/04/08 19:53:21 christos Exp $
+# $NetBSD: Makefile.booters,v 1.25 2021/05/17 22:36:31 mrg Exp $
NOMAN= # defined
NOPIE= # defined
@@ -26,8 +26,6 @@ AFLAGS+= -D_LOCORE -D_KERNEL -DASSEMBLER
# -I${.CURDIR}/../.. done by Makefile.inc
CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ABICALLS -D_NO_PROM_DEFINES
CPPFLAGS+= -I${.OBJDIR} -I${S}
-# compiler flags for smallest code size
-#CFLAGS= -Os -mmemcpy -mno-abicalls -G 128
CFLAGS= -Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
@@ -68,7 +66,7 @@ CPPFLAGS+= -DPRIMARY_BOOTBLOCK \
CHECKSIZE_CMD?= SIZE=${SIZE} ${HOST_SH} ${.CURDIR}/../common/checksize.sh
STRIPSECTIONS?= -R .reginfo -R .mdebug.abi32 -R .comment -R .pdr \
- -R .MIPS.abiflags -R .gnu.attributes
+ -R .MIPS.abiflags -R .gnu.attributes -R .eh_frame
.elif defined(SECONDARY_PROG)
PROG= ${SECONDARY_PROG}