Module Name:    src
Committed By:   tsutsui
Date:           Tue Jun  9 16:49:08 UTC 2020

Modified Files:
        src/sys/arch/ews4800mips/conf: RAMDISK

Log Message:
Specify -fno-unwind-tables to shrink binary.  Saves ~3.5%.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/ews4800mips/conf/RAMDISK

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/ews4800mips/conf/RAMDISK
diff -u src/sys/arch/ews4800mips/conf/RAMDISK:1.27 src/sys/arch/ews4800mips/conf/RAMDISK:1.28
--- src/sys/arch/ews4800mips/conf/RAMDISK:1.27	Tue Jun  9 16:43:01 2020
+++ src/sys/arch/ews4800mips/conf/RAMDISK	Tue Jun  9 16:49:08 2020
@@ -1,4 +1,4 @@
-# 	$NetBSD: RAMDISK,v 1.27 2020/06/09 16:43:01 tsutsui Exp $
+# 	$NetBSD: RAMDISK,v 1.28 2020/06/09 16:49:08 tsutsui Exp $
 #
 # kernel config file with memory disk for installation
 #
@@ -6,7 +6,7 @@
 include 	"arch/ews4800mips/conf/GENERIC"
 
 # Enable the hooks used for initializing the root memory-disk.
-makeoptions	COPTS="-Os -mmemcpy"	# optimize for space
+makeoptions	COPTS="-Os -mmemcpy -fno-unwind-tables"	# optimize for space
 
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT	# force root on memory disk

Reply via email to