summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/arm/strlen-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arm/strlen-stub.c')
-rw-r--r--newlib/libc/machine/arm/strlen-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/arm/strlen-stub.c b/newlib/libc/machine/arm/strlen-stub.c
index 97500e0e8..bcd3d2d46 100644
--- a/newlib/libc/machine/arm/strlen-stub.c
+++ b/newlib/libc/machine/arm/strlen-stub.c
@@ -44,7 +44,7 @@
#if defined __thumb__ && ! defined __thumb2__
#include "../../string/strlen.c"
-#elif (__ARM_ARCH >= 7 && defined __ARM_ARCH_ISA_ARM) || defined __ARM_ARCH_6T2__
+#elif __ARM_ARCH_ISA_THUMB >= 2 && defined __ARM_FEATURE_DSP
/* Implemented in strlen.S. */
#else