summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-06-30 21:16:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-06-30 21:16:56 +0000
commitea697ec9ea1cd82f8eb21c2a70bccc9e760bcc7a (patch)
tree781bc4a11782c7bf9c580fc3484f37de718ef3a7 /libc/string
parent60e244a98fbaa4c8637dd1c3147979633e5179aa (diff)
Fix Thumb-2 memcpy.
When an IT block was changed from having two instructions to having one, the IT instruction at the start of the block was not updated, causing memcpy to fail to assemble for Thumb-2; this patch makes the obvious fix. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/arm/_memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S
index 103580a0c..1dc0887a4 100644
--- a/libc/string/arm/_memcpy.S
+++ b/libc/string/arm/_memcpy.S
@@ -108,7 +108,7 @@ _memcpy:
cmp r1, r0
bcc .Lmemcpy_backwards
- IT(tt, eq) /* Quick abort for src=dst */
+ IT(t, eq) /* Quick abort for src=dst */
#if defined(__USE_BX__)
bxeq lr
#else