diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2013-05-28 12:43:48 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2013-05-28 12:43:48 +0000 |
commit | ef05ad03f2f3b3ad73eed85f9ba63ecf8197daa6 (patch) | |
tree | d6763fd3dee16d4041f51dd805e787801502fe4f /newlib/libc | |
parent | 0dd70ae52100033fc965c9223b889d8f8a9bb3ec (diff) | |
download | cygnal-ef05ad03f2f3b3ad73eed85f9ba63ecf8197daa6.tar.gz cygnal-ef05ad03f2f3b3ad73eed85f9ba63ecf8197daa6.tar.bz2 cygnal-ef05ad03f2f3b3ad73eed85f9ba63ecf8197daa6.zip |
* libc/macine/arm/strcpy.S: Explicitly set build attributes when
building for thumb1 targets.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/arm/strcmp.S | 7 |
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 |