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 Get rid of more -mno-thumb -mno-thumb-...



details:   https://anonhg.NetBSD.org/src/rev/e1fa36576b9f
branches:  trunk
changeset: 821939:e1fa36576b9f
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Feb 22 13:14:45 2017 +0000

description:
Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8

diffstat:

 sys/arch/evbarm/stand/boot2440/Makefile  |  6 +-----
 sys/arch/evbarm/stand/bootimx23/Makefile |  6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 5fe40d66b6f8 -r e1fa36576b9f sys/arch/evbarm/stand/boot2440/Makefile
--- a/sys/arch/evbarm/stand/boot2440/Makefile   Wed Feb 22 12:51:38 2017 +0000
+++ b/sys/arch/evbarm/stand/boot2440/Makefile   Wed Feb 22 13:14:45 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2014/01/12 15:26:28 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.17 2017/02/22 13:14:45 maya Exp $
 
 S=             ${.CURDIR}/../../../..
 
@@ -16,11 +16,7 @@
 CPPFLAGS+=     -DDEFAULT_BOOTFILE="ld0a:netbsd;net:"
 CPPFLAGS+=     -nostdinc -I. -I${.OBJDIR} -I${S} -I${S}/arch
 CPPFLAGS+=     -march=armv4 ${ARM_APCS_FLAGS}
-.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
 CPPFLAGS+=     -marm
-.else
-CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
-.endif
 CPUFLAGS=
 DBG=           -Os
 
diff -r 5fe40d66b6f8 -r e1fa36576b9f sys/arch/evbarm/stand/bootimx23/Makefile
--- a/sys/arch/evbarm/stand/bootimx23/Makefile  Wed Feb 22 12:51:38 2017 +0000
+++ b/sys/arch/evbarm/stand/bootimx23/Makefile  Wed Feb 22 13:14:45 2017 +0000
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.14 2014/07/22 17:46:59 bouyer Exp $
+# $Id: Makefile,v 1.15 2017/02/22 13:14:45 maya Exp $
 
 S=             ${.CURDIR}/../../../../
 PROG=          bootimx23
@@ -13,11 +13,7 @@
 CPPFLAGS+=     -DKERNEL_BOOT_ARGS=\"root=ld0a\"
 CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
 CPPFLAGS+=     ${ARM_APCS_FLAGS}
-.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
 CPPFLAGS+=     -marm
-.else
-CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
-.endif
 #CPPFLAGS+=    -DDEBUG
 #CPPFLAGS+=    -DDIAGNOSTIC
 DBG=           -g



Home | Main Index | Thread Index | Old Index