Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips/conf Specify -fno-unwind-tables to shri...



details:   https://anonhg.NetBSD.org/src/rev/5cf8856fe80d
branches:  trunk
changeset: 934267:5cf8856fe80d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Jun 09 16:49:08 2020 +0000

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

diffstat:

 sys/arch/ews4800mips/conf/RAMDISK |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 97e556dfb102 -r 5cf8856fe80d sys/arch/ews4800mips/conf/RAMDISK
--- a/sys/arch/ews4800mips/conf/RAMDISK Tue Jun 09 16:43:01 2020 +0000
+++ b/sys/arch/ews4800mips/conf/RAMDISK Tue Jun 09 16:49:08 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index