summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2020-10-11 16:22:02 +0000
committerskrll <skrll@NetBSD.org>2020-10-11 16:22:02 +0000
commitdf4c7e1230ebbcd60f5d320dbf1fa178e04c0c2f (patch)
tree6712ec169803c6a538a9785451addfcbf2aeba9a /common
parenteb1998d7d48400cca95e50c89b19af722a68f910 (diff)
Define _ARM_ARCH_8 when __ARM_ARCH_8A (no trailing double underscore) as
it is defined by gcc. __ARM_ARCH_8A__ (with trailing double underscore) seems to be a typo (or maybe historical)
Diffstat (limited to 'common')
-rw-r--r--common/lib/libc/arch/arm/features.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/lib/libc/arch/arm/features.c b/common/lib/libc/arch/arm/features.c
index f7c489be28f..7e6fba235fe 100644
--- a/common/lib/libc/arch/arm/features.c
+++ b/common/lib/libc/arch/arm/features.c
@@ -1,4 +1,4 @@
-/* $NetBSD: features.c,v 1.2 2019/08/02 12:07:24 joerg Exp $ */
+/* $NetBSD: features.c,v 1.3 2020/10/11 16:22:02 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -38,7 +38,8 @@
* FEAT_THUMB2!=if ${COMPILE.c} -fsyntax-only -DTHUMB2_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
*/
-#if defined (__ARM_ARCH_8A__) || defined (__ARM_ARCH_7__) || \
+#if defined(__ARM_ARCH_8A) || defined (__ARM_ARCH_8A__) || \
+ defined (__ARM_ARCH_7__) || \
defined (__ARM_ARCH_7A__) || defined (__ARM_ARCH_7R__) || \
defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__) || \
defined (__ARM_ARCH_6T2__)