Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand Add -fno-asynchronous-unwind-tables -fno...



details:   https://anonhg.NetBSD.org/src/rev/adb8e2085f38
branches:  trunk
changeset: 795814:adb8e2085f38
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu May 01 18:37:26 2014 +0000

description:
Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds.
One of these (probably the first) is needed to stop the eh-frame
section being created.
The eh_frame section is loadable and bloats the boot images.
This might be enough to make pxeboot work.

diffstat:

 sys/arch/i386/stand/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r f4f3d5896eb6 -r adb8e2085f38 sys/arch/i386/stand/Makefile.inc
--- a/sys/arch/i386/stand/Makefile.inc  Thu May 01 18:08:47 2014 +0000
+++ b/sys/arch/i386/stand/Makefile.inc  Thu May 01 18:37:26 2014 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.11 2013/07/01 12:48:03 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.12 2014/05/01 18:37:26 dsl Exp $
 
 .include <bsd.own.mk>
 
 BINDIR=        /usr/mdec
 
-OPT_SIZE.gcc=  -Os -ffreestanding -fomit-frame-pointer -fno-unwind-tables
+OPT_SIZE.gcc=  -Os -ffreestanding -fomit-frame-pointer -fno-unwind-tables \
+               -fno-asynchronous-unwind-tables -fno-exceptions
 OPT_SIZE.clang=        -Oz -ffreestanding -fomit-frame-pointer -DNDEBUG \
                -fno-stack-protector -mno-sse \
                -mstack-alignment=4 \



Home | Main Index | Thread Index | Old Index