Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/conf Specify -fno-unwind-tables to shrink b...



details:   https://anonhg.NetBSD.org/src/rev/b1f0819f31ca
branches:  trunk
changeset: 366445:b1f0819f31ca
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri May 27 16:59:19 2022 +0000

description:
Specify -fno-unwind-tables to shrink binaries.

diffstat:

 sys/arch/luna68k/conf/GENERIC |  6 +++---
 sys/arch/luna68k/conf/INSTALL |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 0be26e07ae0b -r b1f0819f31ca sys/arch/luna68k/conf/GENERIC
--- a/sys/arch/luna68k/conf/GENERIC     Fri May 27 09:25:39 2022 +0000
+++ b/sys/arch/luna68k/conf/GENERIC     Fri May 27 16:59:19 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.131 2022/02/04 18:28:53 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.132 2022/05/27 16:59:19 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,9 +22,9 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.131 $"
+#ident                 "GENERIC-$Revision: 1.132 $"
 
-makeoptions    COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer"
+makeoptions    COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
        # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
        # backtraces in DDB.
 
diff -r 0be26e07ae0b -r b1f0819f31ca sys/arch/luna68k/conf/INSTALL
--- a/sys/arch/luna68k/conf/INSTALL     Fri May 27 09:25:39 2022 +0000
+++ b/sys/arch/luna68k/conf/INSTALL     Fri May 27 16:59:19 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: INSTALL,v 1.32 2022/02/04 18:28:53 tsutsui Exp $
+# $NetBSD: INSTALL,v 1.33 2022/05/27 16:59:19 tsutsui Exp $
 #
 # config for installation ramdisk kernel
 # 
 include        "arch/luna68k/conf/std.luna68k"
 
-makeoptions    COPTS="-Os"             # Optimise for space. Implies -O2
+makeoptions    COPTS="-Os -fno-unwind-tables"  # Optimise for space.
 
 maxusers       4
 



Home | Main Index | Thread Index | Old Index