Module Name:    src
Committed By:   tsutsui
Date:           Fri Jan 27 15:36:58 UTC 2023

Modified Files:
        src/sys/arch/next68k/conf: GENERIC

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 src/sys/arch/next68k/conf/GENERIC

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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.154 src/sys/arch/next68k/conf/GENERIC:1.155
--- src/sys/arch/next68k/conf/GENERIC:1.154	Thu Dec 22 11:05:55 2022
+++ src/sys/arch/next68k/conf/GENERIC	Fri Jan 27 15:36:58 2023
@@ -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 @@ include 	"arch/next68k/conf/std.next68k"
 
 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.
 

Reply via email to