Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/arm/atomic Require ARMv5TE to assemble.



details:   https://anonhg.NetBSD.org/src/rev/8d717d327054
branches:  trunk
changeset: 808912:8d717d327054
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jun 07 11:46:56 2015 +0000

description:
Require ARMv5TE to assemble.

diffstat:

 common/lib/libc/arch/arm/atomic/Makefile.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e17e511dd672 -r 8d717d327054 common/lib/libc/arch/arm/atomic/Makefile.inc
--- a/common/lib/libc/arch/arm/atomic/Makefile.inc      Sun Jun 07 11:41:59 2015 +0000
+++ b/common/lib/libc/arch/arm/atomic/Makefile.inc      Sun Jun 07 11:46:56 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.27 2015/05/17 22:08:24 justin Exp $
+#      $NetBSD: Makefile.inc,v 1.28 2015/06/07 11:46:56 joerg Exp $
 
 .ifnmake obj
 .include "${NETBSDSRCDIR}/common/lib/libc/arch/arm/features.mk"
@@ -68,6 +68,7 @@
 .if "${FEAT_LDREX}" == "no"
 SRCS.atomic+=  atomic_init_testset.c
 SRCS.atomic+=  atomic_cas_up.S
+AFLAGS.atomic_cas_up.S+=       -march=armv5te
 CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
 CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_16_UP
 CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_8_UP



Home | Main Index | Thread Index | Old Index