Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/conf Use "-fno-unwind-tables" to shrink binari...
details: https://anonhg.NetBSD.org/src/rev/2eb0b505d7d1
branches: trunk
changeset: 934788:2eb0b505d7d1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jun 19 10:35:11 2020 +0000
description:
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.
diffstat:
sys/arch/sun3/conf/DISKLESS | 4 ++--
sys/arch/sun3/conf/DISKLESS3X | 4 ++--
sys/arch/sun3/conf/GENERIC | 6 +++---
sys/arch/sun3/conf/GENERIC3X | 6 +++---
sys/arch/sun3/conf/INSTALL | 4 ++--
sys/arch/sun3/conf/INSTALL3X | 4 ++--
sys/arch/sun3/conf/RAMDISK | 4 ++--
sys/arch/sun3/conf/RAMDISK3X | 4 ++--
8 files changed, 18 insertions(+), 18 deletions(-)
diffs (150 lines):
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/DISKLESS
--- a/sys/arch/sun3/conf/DISKLESS Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/DISKLESS Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS,v 1.76 2018/12/19 13:57:50 maxv Exp $
+# $NetBSD: DISKLESS,v 1.77 2020/06/19 10:35:11 tsutsui Exp $
# DISKLESS - Root and swap on NFS
# Desktop machines only (3/50, 3/60, 3/110)
@@ -9,7 +9,7 @@
#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
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/DISKLESS3X
--- a/sys/arch/sun3/conf/DISKLESS3X Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/DISKLESS3X Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: DISKLESS3X,v 1.61 2020/06/19 10:35:11 tsutsui Exp $
# DISKLESS - Root and swap on NFS
# Desktop machines only (3/80)
@@ -9,7 +9,7 @@
#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?
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/GENERIC
--- a/sys/arch/sun3/conf/GENERIC Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/GENERIC Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.181 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC,v 1.182 2020/06/19 10:35:11 tsutsui Exp $
#
# GENERIC machine description file
#
@@ -25,9 +25,9 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.181 $"
+#ident "GENERIC-$Revision: 1.182 $"
-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
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/GENERIC3X
--- a/sys/arch/sun3/conf/GENERIC3X Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/GENERIC3X Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.134 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC3X,v 1.135 2020/06/19 10:35:11 tsutsui Exp $
# GENERIC Sun3X (3/80, 3/470)
# Supports root on: ie0, le0, sd*, ...
@@ -7,9 +7,9 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC3X-$Revision: 1.134 $"
+#ident "GENERIC3X-$Revision: 1.135 $"
-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?
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/INSTALL
--- a/sys/arch/sun3/conf/INSTALL Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/INSTALL Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.61 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL,v 1.62 2020/06/19 10:35:11 tsutsui Exp $
#
# INSTALL - Installation kernel for the Sun3
#
@@ -11,7 +11,7 @@
#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
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/INSTALL3X
--- a/sys/arch/sun3/conf/INSTALL3X Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/INSTALL3X Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL3X,v 1.61 2020/06/19 10:35:11 tsutsui Exp $
#
# INSTALL3X - Installation kernel for the Sun3X
#
@@ -11,7 +11,7 @@
#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?
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/RAMDISK
--- a/sys/arch/sun3/conf/RAMDISK Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/RAMDISK Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK,v 1.55 2019/02/07 04:33:58 mrg Exp $
+# $NetBSD: RAMDISK,v 1.56 2020/06/19 10:35:11 tsutsui Exp $
# RAMDISK: Root/swap on ramdisk
# This kernel is used to:
@@ -10,7 +10,7 @@
#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!
diff -r 8e14bea2970c -r 2eb0b505d7d1 sys/arch/sun3/conf/RAMDISK3X
--- a/sys/arch/sun3/conf/RAMDISK3X Fri Jun 19 10:30:27 2020 +0000
+++ b/sys/arch/sun3/conf/RAMDISK3X Fri Jun 19 10:35:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK3X,v 1.43 2019/02/07 04:33:58 mrg Exp $
+# $NetBSD: RAMDISK3X,v 1.44 2020/06/19 10:35:11 tsutsui Exp $
# RAMDISK: Root/swap on ramdisk
# This kernel is used to:
@@ -10,7 +10,7 @@
#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?
Home |
Main Index |
Thread Index |
Old Index