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.
This commit is contained in:
parent
2bc8a9011b
commit
7182ec6375
|
@ -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 @@ 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
|
||||
|
|
|
@ -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 @@ 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?
|
||||
|
|
|
@ -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 @@ 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.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
|
||||
|
|
|
@ -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 @@ 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.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?
|
||||
|
|
|
@ -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 @@ 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
|
||||
|
|
|
@ -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 @@ 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?
|
||||
|
|
|
@ -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 @@ 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!
|
||||
|
|
|
@ -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 @@ 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?
|
||||
|
|
Loading…
Reference in New Issue