Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/stand Add -fno-unwind-tables



details:   https://anonhg.NetBSD.org/src/rev/7e7b1e08a2cc
branches:  trunk
changeset: 787555:7e7b1e08a2cc
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jun 23 13:56:01 2013 +0000

description:
Add -fno-unwind-tables

diffstat:

 sys/arch/evbarm/stand/boot2440/Makefile      |  4 ++--
 sys/arch/evbarm/stand/bootimx23/Makefile     |  5 +++--
 sys/arch/evbarm/stand/gzboot/Makefile.gzboot |  3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 906948df6e18 -r 7e7b1e08a2cc sys/arch/evbarm/stand/boot2440/Makefile
--- a/sys/arch/evbarm/stand/boot2440/Makefile   Sun Jun 23 09:00:36 2013 +0000
+++ b/sys/arch/evbarm/stand/boot2440/Makefile   Sun Jun 23 13:56:01 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2013/03/29 17:01:00 matt Exp $
+#      $NetBSD: Makefile,v 1.9 2013/06/23 13:56:40 matt Exp $
 
 S=             ${.CURDIR}/../../../..
 
@@ -9,7 +9,7 @@
 .include <bsd.own.mk>
 
 CLEANFILES+=   vers.c ${PROG}.elf
-CFLAGS+=       -Wall -Wno-main -ffreestanding
+CFLAGS+=       -Wall -Wno-main -ffreestanding -fno-unwind-tables
 CPPFLAGS+=     -D_STANDALONE -DSUPPORT_DHCP -DLIBSA_PRINTF_WIDTH_SUPPORT
 CPPFLAGS+=     -DDM9000MAC="0x08,0x08,0x11,0x18,0x12,0x27" 
 CPPFLAGS+=     -DDEFAULT_BOOTFILE="ld0a:netbsd;net:"
diff -r 906948df6e18 -r 7e7b1e08a2cc sys/arch/evbarm/stand/bootimx23/Makefile
--- a/sys/arch/evbarm/stand/bootimx23/Makefile  Sun Jun 23 09:00:36 2013 +0000
+++ b/sys/arch/evbarm/stand/bootimx23/Makefile  Sun Jun 23 13:56:01 2013 +0000
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.5 2013/02/23 16:22:39 jkunz Exp $
+# $Id: Makefile,v 1.6 2013/06/23 13:57:27 matt Exp $
 
 S=             ${.CURDIR}/../../../../
 PROG=          bootimx23
@@ -8,7 +8,8 @@
 .include <bsd.own.mk>
 
 CLEANFILES+=   ${PROG}
-CFLAGS+=       -Wall -Wno-main -ffreestanding -march=armv5te -mtune=arm926ej-s
+CFLAGS+=       -Wall -Wno-main -ffreestanding -fno-unwind-tables
+CFLAGS+=       -march=armv5te -mtune=arm926ej-s
 CPPFLAGS+=     -D_STANDALONE -DMEMSIZE=64
 CPPFLAGS+=     -DKERNEL_BOOT_ARGS=\"root=ld0a\"
 CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
diff -r 906948df6e18 -r 7e7b1e08a2cc sys/arch/evbarm/stand/gzboot/Makefile.gzboot
--- a/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Sun Jun 23 09:00:36 2013 +0000
+++ b/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Sun Jun 23 13:56:01 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gzboot,v 1.22 2013/02/06 07:19:19 matt Exp $
+#      $NetBSD: Makefile.gzboot,v 1.23 2013/06/23 13:56:01 matt Exp $
 
 NOMAN=  # defined
 
@@ -51,6 +51,7 @@
 
 COPTS+=        -ffreestanding
 COPTS+=        -fno-stack-protector
+COPTS+=        -fno-unwind-tables
 CWARNFLAGS+= -Werror
 CWARNFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
 



Home | Main Index | Thread Index | Old Index