Module Name: src
Committed By: dsl
Date: Thu May 1 18:37:26 UTC 2014
Modified Files:
src/sys/arch/i386/stand: Makefile.inc
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/i386/stand/Makefile.inc
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/i386/stand/Makefile.inc
diff -u src/sys/arch/i386/stand/Makefile.inc:1.11 src/sys/arch/i386/stand/Makefile.inc:1.12
--- src/sys/arch/i386/stand/Makefile.inc:1.11 Mon Jul 1 12:48:03 2013
+++ src/sys/arch/i386/stand/Makefile.inc Thu May 1 18:37:26 2014
@@ -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 \