Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Replace assembler flags with .arch* annotation.
details: https://anonhg.NetBSD.org/src/rev/8f7a9c0d707c
branches: trunk
changeset: 355304:8f7a9c0d707c
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jul 24 19:37:41 2017 +0000
description:
Replace assembler flags with .arch* annotation.
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 6 +++++-
sys/arch/evbarm/conf/mk.sunxi | 5 +----
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 74934b2810e4 -r 8f7a9c0d707c sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Mon Jul 24 19:22:32 2017 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Mon Jul 24 19:37:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.48 2017/07/05 20:53:40 skrll Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.49 2017/07/24 19:37:41 joerg Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -50,6 +50,10 @@
blx ip
#endif
+#if defined(CPU_CORTEXA7) || defined(CPU_CORTEXA15) || defined(CPU_CORTEXA17)
+ .arch armv7a
+ .arch_extension virt
+#endif
// We'll modify va and pa at run time so we can use relocatable addresses.
#define MMU_INIT(va,pa,n_sec,attr) \
diff -r 74934b2810e4 -r 8f7a9c0d707c sys/arch/evbarm/conf/mk.sunxi
--- a/sys/arch/evbarm/conf/mk.sunxi Mon Jul 24 19:22:32 2017 +0000
+++ b/sys/arch/evbarm/conf/mk.sunxi Mon Jul 24 19:37:41 2017 +0000
@@ -1,11 +1,8 @@
-# $NetBSD: mk.sunxi,v 1.1 2017/06/28 23:51:29 jmcneill Exp $
+# $NetBSD: mk.sunxi,v 1.2 2017/07/24 19:37:41 joerg Exp $
SYSTEM_FIRST_OBJ= sunxi_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/sunxi/sunxi_start.S
-AFLAGS.sunxi_start.S+= -Wa,-march=armv7-a+virt
-AFLAGS.psci_arm.S+= -Wa,-march=armv7-a+sec+virt
-
GENASSYM_EXTRAS+= ${THISARM}/sunxi/genassym.cf
_OSRELEASE!= ${HOST_SH} $S/conf/osrelease.sh
Home |
Main Index |
Thread Index |
Old Index