Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mipsco/stand also strip .eh_frame. libkern dkcksum...



details:   https://anonhg.NetBSD.org/src/rev/9398c2860baf
branches:  trunk
changeset: 983350:9398c2860baf
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon May 17 22:36:31 2021 +0000

description:
also strip .eh_frame.  libkern dkcksum pushed bootxx_ffs 7 bytes over a limit.

remove an old comment.

diffstat:

 sys/arch/mipsco/stand/Makefile.booters |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 3ea0aaa4831e -r 9398c2860baf sys/arch/mipsco/stand/Makefile.booters
--- a/sys/arch/mipsco/stand/Makefile.booters    Mon May 17 20:21:05 2021 +0000
+++ b/sys/arch/mipsco/stand/Makefile.booters    Mon May 17 22:36:31 2021 +0000
@@ -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 @@
 # -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 @@
 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}



Home | Main Index | Thread Index | Old Index