Module Name:    src
Committed By:   martin
Date:           Tue Jul  7 10:49:11 UTC 2020

Modified Files:
        src/sys/arch/sun3/conf [netbsd-9]: DISKLESS DISKLESS3X GENERIC
            GENERIC3X INSTALL INSTALL3X RAMDISK RAMDISK3X

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #984):

        sys/arch/sun3/conf/DISKLESS3X: revision 1.61
        sys/arch/sun3/conf/GENERIC3X: revision 1.135
        sys/arch/sun3/conf/INSTALL3X: revision 1.61
        sys/arch/sun3/conf/INSTALL: revision 1.62
        sys/arch/sun3/conf/DISKLESS: revision 1.77
        sys/arch/sun3/conf/GENERIC: revision 1.182
        sys/arch/sun3/conf/RAMDISK3X: revision 1.44
        sys/arch/sun3/conf/RAMDISK: revision 1.56

Use "-fno-unwind-tables" to shrink binaries more.

sun3 GENERIC -Os
   text    data     bss     dec     hex filename
1762862   75292   93032 1931186  1d77b2 netbsd
sun3 GENERIC -Os -fno-unwind-tables
   text    data     bss     dec     hex filename
1545726   75292   93032 1714050  1a2782 netbsd

GENERIC is tested on TME.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.76.4.1 src/sys/arch/sun3/conf/DISKLESS
cvs rdiff -u -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/DISKLESS3X \
    src/sys/arch/sun3/conf/INSTALL3X
cvs rdiff -u -r1.181 -r1.181.2.1 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.134 -r1.134.2.1 src/sys/arch/sun3/conf/GENERIC3X
cvs rdiff -u -r1.61 -r1.61.4.1 src/sys/arch/sun3/conf/INSTALL
cvs rdiff -u -r1.55 -r1.55.4.1 src/sys/arch/sun3/conf/RAMDISK
cvs rdiff -u -r1.43 -r1.43.4.1 src/sys/arch/sun3/conf/RAMDISK3X

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/sun3/conf/DISKLESS
diff -u src/sys/arch/sun3/conf/DISKLESS:1.76 src/sys/arch/sun3/conf/DISKLESS:1.76.4.1
--- src/sys/arch/sun3/conf/DISKLESS:1.76	Wed Dec 19 13:57:50 2018
+++ src/sys/arch/sun3/conf/DISKLESS	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS,v 1.76 2018/12/19 13:57:50 maxv Exp $
+# $NetBSD: DISKLESS,v 1.76.4.1 2020/07/07 10:49:11 martin Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/50, 3/60, 3/110)
@@ -9,7 +9,7 @@ include "arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 options 	FPU_EMULATE

Index: src/sys/arch/sun3/conf/DISKLESS3X
diff -u src/sys/arch/sun3/conf/DISKLESS3X:1.60 src/sys/arch/sun3/conf/DISKLESS3X:1.60.4.1
--- src/sys/arch/sun3/conf/DISKLESS3X:1.60	Wed Aug  1 20:04:14 2018
+++ src/sys/arch/sun3/conf/DISKLESS3X	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: DISKLESS3X,v 1.60.4.1 2020/07/07 10:49:11 martin Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/80)
@@ -9,7 +9,7 @@ include "arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE	# XXX - Ever needed?
Index: src/sys/arch/sun3/conf/INSTALL3X
diff -u src/sys/arch/sun3/conf/INSTALL3X:1.60 src/sys/arch/sun3/conf/INSTALL3X:1.60.4.1
--- src/sys/arch/sun3/conf/INSTALL3X:1.60	Wed Aug  1 20:04:14 2018
+++ src/sys/arch/sun3/conf/INSTALL3X	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL3X,v 1.60.4.1 2020/07/07 10:49:11 martin Exp $
 #
 # INSTALL3X - Installation kernel for the Sun3X
 #
@@ -11,7 +11,7 @@ include "arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# Optimise for space. Implies -O2
+makeoptions	COPTS="-Os -fno-unwind-tables"	# Optimise for space. Implies -O2
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE	# XXX - Ever needed?

Index: src/sys/arch/sun3/conf/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.181 src/sys/arch/sun3/conf/GENERIC:1.181.2.1
--- src/sys/arch/sun3/conf/GENERIC:1.181	Fri Apr 26 22:46:04 2019
+++ src/sys/arch/sun3/conf/GENERIC	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.181 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC,v 1.181.2.1 2020/07/07 10:49:11 martin Exp $
 #
 # GENERIC machine description file
 # 
@@ -25,9 +25,9 @@ include 	"arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.181 $"
+#ident		"GENERIC-$Revision: 1.181.2.1 $"
 
-makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 options 	FPU_EMULATE

Index: src/sys/arch/sun3/conf/GENERIC3X
diff -u src/sys/arch/sun3/conf/GENERIC3X:1.134 src/sys/arch/sun3/conf/GENERIC3X:1.134.2.1
--- src/sys/arch/sun3/conf/GENERIC3X:1.134	Fri Apr 26 22:46:04 2019
+++ src/sys/arch/sun3/conf/GENERIC3X	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.134 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC3X,v 1.134.2.1 2020/07/07 10:49:11 martin Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -7,9 +7,9 @@ include 	"arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC3X-$Revision: 1.134 $"
+#ident		"GENERIC3X-$Revision: 1.134.2.1 $"
 
-makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 #options 	FPU_EMULATE	# XXX - Ever needed?

Index: src/sys/arch/sun3/conf/INSTALL
diff -u src/sys/arch/sun3/conf/INSTALL:1.61 src/sys/arch/sun3/conf/INSTALL:1.61.4.1
--- src/sys/arch/sun3/conf/INSTALL:1.61	Wed Aug  1 20:04:14 2018
+++ src/sys/arch/sun3/conf/INSTALL	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.61 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL,v 1.61.4.1 2020/07/07 10:49:11 martin Exp $
 #
 # INSTALL - Installation kernel for the Sun3
 #
@@ -11,7 +11,7 @@ include "arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# Optimise for space. Implies -O2
+makeoptions	COPTS="-Os -fno-unwind-tables"	# Optimise for space. Implies -O2
 
 # Machines to be supported by this kernel
 options 	FPU_EMULATE

Index: src/sys/arch/sun3/conf/RAMDISK
diff -u src/sys/arch/sun3/conf/RAMDISK:1.55 src/sys/arch/sun3/conf/RAMDISK:1.55.4.1
--- src/sys/arch/sun3/conf/RAMDISK:1.55	Thu Feb  7 04:33:58 2019
+++ src/sys/arch/sun3/conf/RAMDISK	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: RAMDISK,v 1.55 2019/02/07 04:33:58 mrg Exp $
+#	$NetBSD: RAMDISK,v 1.55.4.1 2020/07/07 10:49:11 martin Exp $
 
 # RAMDISK: Root/swap on ramdisk
 # This kernel is used to:
@@ -10,7 +10,7 @@ include "arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE		# No FP code here!

Index: src/sys/arch/sun3/conf/RAMDISK3X
diff -u src/sys/arch/sun3/conf/RAMDISK3X:1.43 src/sys/arch/sun3/conf/RAMDISK3X:1.43.4.1
--- src/sys/arch/sun3/conf/RAMDISK3X:1.43	Thu Feb  7 04:33:58 2019
+++ src/sys/arch/sun3/conf/RAMDISK3X	Tue Jul  7 10:49:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK3X,v 1.43 2019/02/07 04:33:58 mrg Exp $
+# $NetBSD: RAMDISK3X,v 1.43.4.1 2020/07/07 10:49:11 martin Exp $
 
 # RAMDISK: Root/swap on ramdisk
 # This kernel is used to:
@@ -10,7 +10,7 @@ include "arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE	# XXX - Ever needed?

Reply via email to