Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips/stand/boot Use -fno-unwind-tables to sh...



details:   https://anonhg.NetBSD.org/src/rev/a47c5e73828a
branches:  trunk
changeset: 1010802:a47c5e73828a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jun 07 03:02:42 2020 +0000

description:
Use -fno-unwind-tables to shrink boot binaries a bit.

diffstat:

 sys/arch/ews4800mips/stand/boot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 41e4abd461c7 -r a47c5e73828a sys/arch/ews4800mips/stand/boot/Makefile
--- a/sys/arch/ews4800mips/stand/boot/Makefile  Sun Jun 07 03:00:53 2020 +0000
+++ b/sys/arch/ews4800mips/stand/boot/Makefile  Sun Jun 07 03:02:42 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2019/12/23 19:28:04 christos Exp $
+#      $NetBSD: Makefile,v 1.25 2020/06/07 03:02:42 tsutsui Exp $
 
 WARNS          ?= 1
 NOMAN          =
@@ -62,7 +62,7 @@
 DEBUGFLAGS     = -Wall -Werror
 DEBUGFLAGS     += -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
 DEBUGFLAGS     += -Wno-format-zero-length -Wno-sign-compare
-OPTFLAGS       = -Os -mmemcpy
+OPTFLAGS       = -Os -mmemcpy -fno-unwind-tables
 FLAGS          = ${MIPSFLAGS} ${DEBUGFLAGS} ${OPTFLAGS}
 AFLAGS         = -xassembler-with-cpp -D_LOCORE ${FLAGS}
 CFLAGS         = ${FLAGS} -ffreestanding



Home | Main Index | Thread Index | Old Index