From a6cc96866dc81daa0cb98123302a97fb955c122a Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 17 May 2021 22:36:31 +0000 Subject: [PATCH] also strip .eh_frame. libkern dkcksum pushed bootxx_ffs 7 bytes over a limit. remove an old comment. --- sys/arch/mipsco/stand/Makefile.booters | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arch/mipsco/stand/Makefile.booters b/sys/arch/mipsco/stand/Makefile.booters index 3a93b5dafac6..cacea5cda2a6 100644 --- a/sys/arch/mipsco/stand/Makefile.booters +++ b/sys/arch/mipsco/stand/Makefile.booters @@ -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 -mno-abicalls # -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}