Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork



details:   https://anonhg.NetBSD.org/src/rev/2232bfef433d
branches:  trunk
changeset: 789339:2232bfef433d
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Aug 15 21:41:08 2013 +0000

description:
Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork

diffstat:

 sys/arch/acorn26/stand/Makefile.buildboot    |  5 +++--
 sys/arch/acorn32/stand/Makefile.buildboot    |  5 +++--
 sys/arch/evbarm/stand/boot2440/Makefile      |  3 ++-
 sys/arch/evbarm/stand/bootimx23/Makefile     |  3 ++-
 sys/arch/evbarm/stand/gzboot/Makefile.gzboot |  3 ++-
 sys/arch/zaurus/stand/zboot/Makefile         |  3 ++-
 6 files changed, 14 insertions(+), 8 deletions(-)

diffs (109 lines):

diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/acorn26/stand/Makefile.buildboot
--- a/sys/arch/acorn26/stand/Makefile.buildboot Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/acorn26/stand/Makefile.buildboot Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.15 2013/05/02 04:22:44 matt Exp $
+#      $NetBSD: Makefile.buildboot,v 1.16 2013/08/15 21:41:08 matt Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -34,8 +34,9 @@
 CPPFLAGS+=     -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
 CPPFLAGS+=     -I${.CURDIR}/../lib
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft -march=armv2
+CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 CFLAGS=                -O2
-CFLAGS+=       -ffreestanding
+CFLAGS+=       -ffreestanding -fno-unwind-tables
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 
 .if !make(obj) && !make(clean) && !make(cleandir)
diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/acorn32/stand/Makefile.buildboot
--- a/sys/arch/acorn32/stand/Makefile.buildboot Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/acorn32/stand/Makefile.buildboot Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.16 2013/05/02 04:22:44 matt Exp $
+#      $NetBSD: Makefile.buildboot,v 1.17 2013/08/15 21:41:08 matt Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -44,9 +44,10 @@
 CPPFLAGS+=     -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
 CPPFLAGS+=     -I${.CURDIR}/../lib
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
+CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 CPUFLAGS=
 CFLAGS=                -O2
-CFLAGS+=       -ffreestanding
+CFLAGS+=       -ffreestanding -fno-unwind-tables
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 
 CLEANFILES+= machine ${MACHINE_ARCH}
diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/evbarm/stand/boot2440/Makefile
--- a/sys/arch/evbarm/stand/boot2440/Makefile   Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/evbarm/stand/boot2440/Makefile   Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2013/06/23 13:56:40 matt Exp $
+#      $NetBSD: Makefile,v 1.10 2013/08/15 21:41:08 matt Exp $
 
 S=             ${.CURDIR}/../../../..
 
@@ -15,6 +15,7 @@
 CPPFLAGS+=     -DDEFAULT_BOOTFILE="ld0a:netbsd;net:"
 CPPFLAGS+=     -nostdinc -I. -I${.OBJDIR} -I${S} -I${S}/arch
 CPPFLAGS+=     -march=armv4 -mabi=apcs-gnu -mfloat-abi=soft
+CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 CPUFLAGS=
 DBG=           
 
diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/evbarm/stand/bootimx23/Makefile
--- a/sys/arch/evbarm/stand/bootimx23/Makefile  Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/evbarm/stand/bootimx23/Makefile  Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2013/06/23 13:57:27 matt Exp $
+# $Id: Makefile,v 1.7 2013/08/15 21:41:09 matt Exp $
 
 S=             ${.CURDIR}/../../../../
 PROG=          bootimx23
@@ -14,6 +14,7 @@
 CPPFLAGS+=     -DKERNEL_BOOT_ARGS=\"root=ld0a\"
 CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft
+CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 #CPPFLAGS+=    -DDEBUG
 #DBG=          -g
 
diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/evbarm/stand/gzboot/Makefile.gzboot
--- a/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gzboot,v 1.23 2013/06/23 13:56:01 matt Exp $
+#      $NetBSD: Makefile.gzboot,v 1.24 2013/08/15 21:41:09 matt Exp $
 
 NOMAN=  # defined
 
@@ -36,6 +36,7 @@
 CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa
 CPPFLAGS+= -I${S}/../common/dist/zlib
 CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
+CPPFLAGS+= -mno-thumb -mno-thumb-interwork
 
 CPPFLAGS+= -D_STANDALONE
 
diff -r f6ca2cf5080c -r 2232bfef433d sys/arch/zaurus/stand/zboot/Makefile
--- a/sys/arch/zaurus/stand/zboot/Makefile      Thu Aug 15 21:40:11 2013 +0000
+++ b/sys/arch/zaurus/stand/zboot/Makefile      Thu Aug 15 21:41:08 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2013/08/12 22:50:51 matt Exp $
+#      $NetBSD: Makefile,v 1.12 2013/08/15 21:41:09 matt Exp $
 
 PROG=          zboot
 
@@ -22,6 +22,7 @@
 CPPFLAGS+=     -D_STANDALONE -DHEAP_VARIABLE
 CPPFLAGS+=     -DLIBSA_ENABLE_LS_OP
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft -mcpu=xscale
+CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
 CPUFLAGS=
 AFLAGS+=       -D_LOCORE
 LDFLAGS+=      -nostdlib -Bstatic



Home | Main Index | Thread Index | Old Index