[git commit] Fix Thumb-2 memcpy.

Joseph Myers joseph at codesourcery.com
Tue Jun 30 21:16:56 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=b637569b48acfbd3364f1ce8aeb9f1b52cf2a1da
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl


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 at codesourcery.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/string/arm/_memcpy.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S
index 103580a..1dc0887 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
-- 
1.6.3.3


More information about the uClibc-cvs mailing list