about summary refs log tree commit diff
path: root/ports/sysdeps/arm/strlen.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-13 20:32:14 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-28 00:18:30 -0800
commit365261c37ff9156372a32f4ab3f07dcfbd72217e (patch)
tree381ad467184a51527351b37cca2fc096755220d2 /ports/sysdeps/arm/strlen.S
parent6ccd0107f3303732409aadffc3bac0e741f1eac4 (diff)
downloadglibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.tar.gz
glibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.tar.xz
glibc-365261c37ff9156372a32f4ab3f07dcfbd72217e.zip
arm: Mark assembly files that will not use thumb mode
Some routines are written with complex LDM/STM insns that cannot be
used in thumb mode, or are highly conditional requiring excessive
IT insns.

When a future patch goes in to enable thumb2 by default, this marker
will be used to override that default.
Diffstat (limited to 'ports/sysdeps/arm/strlen.S')
-rw-r--r--ports/sysdeps/arm/strlen.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/sysdeps/arm/strlen.S b/ports/sysdeps/arm/strlen.S
index 15e922118a..2b947e240e 100644
--- a/ports/sysdeps/arm/strlen.S
+++ b/ports/sysdeps/arm/strlen.S
@@ -16,6 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* Thumb requires excessive IT insns here.  */
+#define NO_THUMB
 #include <sysdep.h>
 
 /* size_t strlen(const char *S)