Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arm/strcmp.S')
-rw-r--r--newlib/libc/machine/arm/strcmp.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/machine/arm/strcmp.S b/newlib/libc/machine/arm/strcmp.S
index 0a4057e3b..6926b2ec3 100644
--- a/newlib/libc/machine/arm/strcmp.S
+++ b/newlib/libc/machine/arm/strcmp.S
@@ -55,6 +55,13 @@
#if defined (__thumb__)
.thumb
.thumb_func
+#if !defined (__thumb2__)
+ /* If we have thumb1 only, we need to explictly mark the
+ compatibility. */
+ .arch armv4t
+ .eabi_attribute Tag_also_compatible_with, "\006\013" /* v6-M. */
+ .eabi_attribute Tag_ARM_ISA_use, 0
+#endif
#endif
.global strcmp
.type strcmp, %function