Tue Jul 7 10:49:11 2020 UTC ()
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.


(martin)
diff -r1.76 -r1.76.4.1 src/sys/arch/sun3/conf/DISKLESS
diff -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/DISKLESS3X
diff -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/INSTALL3X
diff -r1.181 -r1.181.2.1 src/sys/arch/sun3/conf/GENERIC
diff -r1.134 -r1.134.2.1 src/sys/arch/sun3/conf/GENERIC3X
diff -r1.61 -r1.61.4.1 src/sys/arch/sun3/conf/INSTALL
diff -r1.55 -r1.55.4.1 src/sys/arch/sun3/conf/RAMDISK
diff -r1.43 -r1.43.4.1 src/sys/arch/sun3/conf/RAMDISK3X

cvs diff -r1.76 -r1.76.4.1 src/sys/arch/sun3/conf/DISKLESS (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/DISKLESS 2018/12/19 13:57:50 1.76
+++ src/sys/arch/sun3/conf/DISKLESS 2020/07/07 10:49:11 1.76.4.1
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: DISKLESS,v 1.76 2018/12/19 13:57:50 maxv Exp $ 1# $NetBSD: DISKLESS,v 1.76.4.1 2020/07/07 10:49:11 martin Exp $
2 2
3# DISKLESS - Root and swap on NFS 3# DISKLESS - Root and swap on NFS
4# Desktop machines only (3/50, 3/60, 3/110) 4# Desktop machines only (3/50, 3/60, 3/110)
5# 5#
6# Includes devices needed to run as an X-terminal 6# Includes devices needed to run as an X-terminal
7 7
8include "arch/sun3/conf/std.sun3" 8include "arch/sun3/conf/std.sun3"
9 9
10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 11
12makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 12makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
13 13
14# Machines to be supported by this kernel 14# Machines to be supported by this kernel
15options FPU_EMULATE 15options FPU_EMULATE
16options HAVECACHE # Sun3/260 VAC 16options HAVECACHE # Sun3/260 VAC
17 17
18# Needs to be set per system. i.e change these as you see fit 18# Needs to be set per system. i.e change these as you see fit
19maxusers 2 19maxusers 2
20 20
21# Standard system options 21# Standard system options
22#options KTRACE # system call tracing 22#options KTRACE # system call tracing
23#options SYSVMSG # System V message queues 23#options SYSVMSG # System V message queues
24#options SYSVSEM # System V semaphores 24#options SYSVSEM # System V semaphores
25#options SYSVSHM # System V shared memory 25#options SYSVSHM # System V shared memory

cvs diff -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/DISKLESS3X (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/DISKLESS3X 2018/08/01 20:04:14 1.60
+++ src/sys/arch/sun3/conf/DISKLESS3X 2020/07/07 10:49:11 1.60.4.1
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: DISKLESS3X,v 1.60 2018/08/01 20:04:14 maxv Exp $ 1# $NetBSD: DISKLESS3X,v 1.60.4.1 2020/07/07 10:49:11 martin Exp $
2 2
3# DISKLESS - Root and swap on NFS 3# DISKLESS - Root and swap on NFS
4# Desktop machines only (3/80) 4# Desktop machines only (3/80)
5# 5#
6# Includes devices needed to run as an X-terminal 6# Includes devices needed to run as an X-terminal
7 7
8include "arch/sun3/conf/std.sun3x" 8include "arch/sun3/conf/std.sun3x"
9 9
10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 11
12makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 12makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
13 13
14# Machines to be supported by this kernel 14# Machines to be supported by this kernel
15# options FPU_EMULATE # XXX - Ever needed? 15# options FPU_EMULATE # XXX - Ever needed?
16# options HAVE_IOCACHE # XXX - Not yet supported. 16# options HAVE_IOCACHE # XXX - Not yet supported.
17 17
18# Needs to be set per system. i.e change these as you see fit 18# Needs to be set per system. i.e change these as you see fit
19maxusers 2 19maxusers 2
20 20
21# Standard system options 21# Standard system options
22#options KTRACE # system call tracing 22#options KTRACE # system call tracing
23#options SYSVMSG # System V message queues 23#options SYSVMSG # System V message queues
24#options SYSVSEM # System V semaphores 24#options SYSVSEM # System V semaphores
25#options SYSVSHM # System V shared memory 25#options SYSVSHM # System V shared memory

cvs diff -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/INSTALL3X (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/INSTALL3X 2018/08/01 20:04:14 1.60
+++ src/sys/arch/sun3/conf/INSTALL3X 2020/07/07 10:49:11 1.60.4.1
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: INSTALL3X,v 1.60 2018/08/01 20:04:14 maxv Exp $ 1# $NetBSD: INSTALL3X,v 1.60.4.1 2020/07/07 10:49:11 martin Exp $
2# 2#
3# INSTALL3X - Installation kernel for the Sun3X 3# INSTALL3X - Installation kernel for the Sun3X
4# 4#
5# This kernel is derived from GENERIC with some features commented out. 5# This kernel is derived from GENERIC with some features commented out.
6# 6#
7# This kernel does NOT support X, mice, non-NetBSD emulation, etc. 7# This kernel does NOT support X, mice, non-NetBSD emulation, etc.
8# 8#
9 9
10include "arch/sun3/conf/std.sun3x" 10include "arch/sun3/conf/std.sun3x"
11 11
12#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
13 13
14makeoptions COPTS="-Os" # Optimise for space. Implies -O2 14makeoptions COPTS="-Os -fno-unwind-tables" # Optimise for space. Implies -O2
15 15
16# Machines to be supported by this kernel 16# Machines to be supported by this kernel
17# options FPU_EMULATE # XXX - Ever needed? 17# options FPU_EMULATE # XXX - Ever needed?
18# options HAVE_IOCACHE # XXX - Not yet supported. 18# options HAVE_IOCACHE # XXX - Not yet supported.
19 19
20# Needs to be set per system. i.e change these as you see fit 20# Needs to be set per system. i.e change these as you see fit
21maxusers 2 21maxusers 2
22 22
23# Standard system options 23# Standard system options
24#options KTRACE # system call tracing 24#options KTRACE # system call tracing
25#options SYSVMSG # System V message queues 25#options SYSVMSG # System V message queues
26#options SYSVSEM # System V semaphores 26#options SYSVSEM # System V semaphores
27#options SYSVSHM # System V shared memory 27#options SYSVSHM # System V shared memory

cvs diff -r1.181 -r1.181.2.1 src/sys/arch/sun3/conf/GENERIC (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/GENERIC 2019/04/26 22:46:04 1.181
+++ src/sys/arch/sun3/conf/GENERIC 2020/07/07 10:49:11 1.181.2.1
@@ -1,43 +1,43 @@ @@ -1,43 +1,43 @@
1# $NetBSD: GENERIC,v 1.181 2019/04/26 22:46:04 sevan Exp $ 1# $NetBSD: GENERIC,v 1.181.2.1 2020/07/07 10:49:11 martin Exp $
2# 2#
3# GENERIC machine description file 3# GENERIC machine description file
4#  4#
5# This machine description file is used to generate the default NetBSD 5# This machine description file is used to generate the default NetBSD
6# kernel. The generic kernel does not include all options, subsystems 6# kernel. The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications. 7# and device drivers, but should be useful for most applications.
8# 8#
9# The machine description file can be customised for your specific 9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance. 10# machine to reduce the kernel size and improve its performance.
11# 11#
12# For further information on compiling NetBSD kernels, see the config(8) 12# For further information on compiling NetBSD kernels, see the config(8)
13# man page. 13# man page.
14# 14#
15# For further information on hardware support for this architecture, see 15# For further information on hardware support for this architecture, see
16# the intro(4) man page. For further information about kernel options 16# the intro(4) man page. For further information about kernel options
17# for this architecture, see the options(4) man page. For an explanation 17# for this architecture, see the options(4) man page. For an explanation
18# of each device driver in this file see the section 4 man page for the 18# of each device driver in this file see the section 4 man page for the
19# device. 19# device.
20 20
21# Supports Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E) 21# Supports Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
22# Supports root on: ie0, le0, sd*, ... 22# Supports root on: ie0, le0, sd*, ...
23 23
24include "arch/sun3/conf/std.sun3" 24include "arch/sun3/conf/std.sun3"
25 25
26#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 26#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
27 27
28#ident "GENERIC-$Revision: 1.181 $" 28#ident "GENERIC-$Revision: 1.181.2.1 $"
29 29
30makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 30makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
31 31
32# Machines to be supported by this kernel 32# Machines to be supported by this kernel
33options FPU_EMULATE 33options FPU_EMULATE
34options HAVECACHE # Sun3/260 VAC 34options HAVECACHE # Sun3/260 VAC
35 35
36# Needs to be set per system. i.e change these as you see fit 36# Needs to be set per system. i.e change these as you see fit
37maxusers 4 37maxusers 4
38 38
39# Standard system options 39# Standard system options
40options KTRACE # system call tracing 40options KTRACE # system call tracing
41options SYSVMSG # System V message queues 41options SYSVMSG # System V message queues
42options SYSVSEM # System V semaphores 42options SYSVSEM # System V semaphores
43options SYSVSHM # System V shared memory 43options SYSVSHM # System V shared memory

cvs diff -r1.134 -r1.134.2.1 src/sys/arch/sun3/conf/GENERIC3X (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/GENERIC3X 2019/04/26 22:46:04 1.134
+++ src/sys/arch/sun3/conf/GENERIC3X 2020/07/07 10:49:11 1.134.2.1
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: GENERIC3X,v 1.134 2019/04/26 22:46:04 sevan Exp $ 1# $NetBSD: GENERIC3X,v 1.134.2.1 2020/07/07 10:49:11 martin Exp $
2 2
3# GENERIC Sun3X (3/80, 3/470) 3# GENERIC Sun3X (3/80, 3/470)
4# Supports root on: ie0, le0, sd*, ... 4# Supports root on: ie0, le0, sd*, ...
5 5
6include "arch/sun3/conf/std.sun3x" 6include "arch/sun3/conf/std.sun3x"
7 7
8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 9
10#ident "GENERIC3X-$Revision: 1.134 $" 10#ident "GENERIC3X-$Revision: 1.134.2.1 $"
11 11
12makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 12makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
13 13
14# Machines to be supported by this kernel 14# Machines to be supported by this kernel
15#options FPU_EMULATE # XXX - Ever needed? 15#options FPU_EMULATE # XXX - Ever needed?
16#options HAVE_IOCACHE # XXX - Not yet supported. 16#options HAVE_IOCACHE # XXX - Not yet supported.
17 17
18# Needs to be set per system. i.e change these as you see fit 18# Needs to be set per system. i.e change these as you see fit
19maxusers 4 19maxusers 4
20 20
21# Standard system options 21# Standard system options
22options KTRACE # system call tracing 22options KTRACE # system call tracing
23options SYSVMSG # System V message queues 23options SYSVMSG # System V message queues
24options SYSVSEM # System V semaphores 24options SYSVSEM # System V semaphores
25options SYSVSHM # System V shared memory 25options SYSVSHM # System V shared memory

cvs diff -r1.61 -r1.61.4.1 src/sys/arch/sun3/conf/INSTALL (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/INSTALL 2018/08/01 20:04:14 1.61
+++ src/sys/arch/sun3/conf/INSTALL 2020/07/07 10:49:11 1.61.4.1
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: INSTALL,v 1.61 2018/08/01 20:04:14 maxv Exp $ 1# $NetBSD: INSTALL,v 1.61.4.1 2020/07/07 10:49:11 martin Exp $
2# 2#
3# INSTALL - Installation kernel for the Sun3 3# INSTALL - Installation kernel for the Sun3
4# 4#
5# This kernel is derived from GENERIC with some features commented out. 5# This kernel is derived from GENERIC with some features commented out.
6# 6#
7# This kernel does NOT support X, mice, non-NetBSD emulation, etc. 7# This kernel does NOT support X, mice, non-NetBSD emulation, etc.
8# 8#
9 9
10include "arch/sun3/conf/std.sun3" 10include "arch/sun3/conf/std.sun3"
11 11
12#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
13 13
14makeoptions COPTS="-Os" # Optimise for space. Implies -O2 14makeoptions COPTS="-Os -fno-unwind-tables" # Optimise for space. Implies -O2
15 15
16# Machines to be supported by this kernel 16# Machines to be supported by this kernel
17options FPU_EMULATE 17options FPU_EMULATE
18options HAVECACHE # Sun3/260 VAC 18options HAVECACHE # Sun3/260 VAC
19 19
20# Needs to be set per system. i.e change these as you see fit 20# Needs to be set per system. i.e change these as you see fit
21maxusers 2 21maxusers 2
22 22
23# Standard system options 23# Standard system options
24#options KTRACE # system call tracing 24#options KTRACE # system call tracing
25#options SYSVMSG # System V message queues 25#options SYSVMSG # System V message queues
26#options SYSVSEM # System V semaphores 26#options SYSVSEM # System V semaphores
27#options SYSVSHM # System V shared memory 27#options SYSVSHM # System V shared memory

cvs diff -r1.55 -r1.55.4.1 src/sys/arch/sun3/conf/RAMDISK (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/RAMDISK 2019/02/07 04:33:58 1.55
+++ src/sys/arch/sun3/conf/RAMDISK 2020/07/07 10:49:11 1.55.4.1
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1# $NetBSD: RAMDISK,v 1.55 2019/02/07 04:33:58 mrg Exp $ 1# $NetBSD: RAMDISK,v 1.55.4.1 2020/07/07 10:49:11 martin Exp $
2 2
3# RAMDISK: Root/swap on ramdisk 3# RAMDISK: Root/swap on ramdisk
4# This kernel is used to: 4# This kernel is used to:
5# format the disk (not yet implemented) 5# format the disk (not yet implemented)
6# partition the disk (disklabel) 6# partition the disk (disklabel)
7# install the miniroot in the swap partition 7# install the miniroot in the swap partition
8 8
9include "arch/sun3/conf/std.sun3" 9include "arch/sun3/conf/std.sun3"
10 10
11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12 12
13makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 13makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
14 14
15# Machines to be supported by this kernel 15# Machines to be supported by this kernel
16# options FPU_EMULATE # No FP code here! 16# options FPU_EMULATE # No FP code here!
17options HAVECACHE # Sun3/260 VAC 17options HAVECACHE # Sun3/260 VAC
18 18
19# Needs to be set per system. i.e change these as you see fit 19# Needs to be set per system. i.e change these as you see fit
20maxusers 2 20maxusers 2
21 21
22# Standard system options 22# Standard system options
23# ... debugging options 23# ... debugging options
24#options DDB 24#options DDB
25# Compatibility options (none) 25# Compatibility options (none)
26 26

cvs diff -r1.43 -r1.43.4.1 src/sys/arch/sun3/conf/RAMDISK3X (expand / switch to unified diff)

--- src/sys/arch/sun3/conf/RAMDISK3X 2019/02/07 04:33:58 1.43
+++ src/sys/arch/sun3/conf/RAMDISK3X 2020/07/07 10:49:11 1.43.4.1
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1# $NetBSD: RAMDISK3X,v 1.43 2019/02/07 04:33:58 mrg Exp $ 1# $NetBSD: RAMDISK3X,v 1.43.4.1 2020/07/07 10:49:11 martin Exp $
2 2
3# RAMDISK: Root/swap on ramdisk 3# RAMDISK: Root/swap on ramdisk
4# This kernel is used to: 4# This kernel is used to:
5# format the disk (not yet implemented) 5# format the disk (not yet implemented)
6# partition the disk (disklabel) 6# partition the disk (disklabel)
7# install the miniroot in the swap partition 7# install the miniroot in the swap partition
8 8
9include "arch/sun3/conf/std.sun3x" 9include "arch/sun3/conf/std.sun3x"
10 10
11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12 12
13makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 13makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB)
14 14
15# Machines to be supported by this kernel 15# Machines to be supported by this kernel
16# options FPU_EMULATE # XXX - Ever needed? 16# options FPU_EMULATE # XXX - Ever needed?
17# options HAVE_IOCACHE # XXX - Not yet supported. 17# options HAVE_IOCACHE # XXX - Not yet supported.
18 18
19# Needs to be set per system. i.e change these as you see fit 19# Needs to be set per system. i.e change these as you see fit
20maxusers 2 20maxusers 2
21 21
22# Standard system options 22# Standard system options
23# ... debugging options 23# ... debugging options
24#options DDB 24#options DDB
25# Compatibility options (none) 25# Compatibility options (none)
26 26