Module Name: src
Committed By: skrll
Date: Sat Aug 17 19:57:10 UTC 2013
Modified Files:
src/sys/arch/cats/conf: Makefile.cats.inc
Log Message:
Use -fno-unwind-tables when creating a.out kernels.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/cats/conf/Makefile.cats.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/cats/conf/Makefile.cats.inc
diff -u src/sys/arch/cats/conf/Makefile.cats.inc:1.26 src/sys/arch/cats/conf/Makefile.cats.inc:1.27
--- src/sys/arch/cats/conf/Makefile.cats.inc:1.26 Thu Jun 27 01:01:08 2013
+++ src/sys/arch/cats/conf/Makefile.cats.inc Sat Aug 17 19:57:09 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cats.inc,v 1.26 2013/06/27 01:01:08 matt Exp $
+# $NetBSD: Makefile.cats.inc,v 1.27 2013/08/17 19:57:09 skrll Exp $
MACHINE_ARCH?= arm
CPPFLAGS+= -D${MACHINE}
@@ -11,6 +11,8 @@ LINKFLAGS= -T ${THISARM}/conf/ldscript.e
# Need to convert the kernel from ELF to a.out so that the firmware
# can load it.
+CFLAGS+= -fno-unwind-tables
+
LINKFLAGS= -T ldscript
SYSTEM_LD_HEAD_EXTRA+=; \