Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/next68k/conf next68k: Specify -fno-unwind-tables t...



details:   https://anonhg.NetBSD.org/src/rev/958d38c762d8
branches:  trunk
changeset: 373249:958d38c762d8
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jan 27 15:36:58 2023 +0000

description:
next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.

diffstat:

 sys/arch/next68k/conf/GENERIC |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r b246be11d6f6 -r 958d38c762d8 sys/arch/next68k/conf/GENERIC
--- a/sys/arch/next68k/conf/GENERIC     Fri Jan 27 15:31:05 2023 +0000
+++ b/sys/arch/next68k/conf/GENERIC     Fri Jan 27 15:36:58 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.154 2022/12/22 11:05:55 nat Exp $
+# $NetBSD: GENERIC,v 1.155 2023/01/27 15:36:58 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,9 +22,9 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.154 $"
+#ident                 "GENERIC-$Revision: 1.155 $"
 
-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.
 



Home | Main Index | Thread Index | Old Index