diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-23 20:31:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-23 20:31:51 +0000 |
commit | 267b2d15fd7b4d568e447734aee337ae24fae982 (patch) | |
tree | f8eb22b0a6815c9a91f85351f08b3a8bc1c860e1 /libc/string/arm/_memcpy.S | |
parent | b7a34690482d70c1b46a8fb166e3c575a00f5b68 (diff) |
arm memcpy: fix the case when src=dst
Diffstat (limited to 'libc/string/arm/_memcpy.S')
-rw-r--r-- | libc/string/arm/_memcpy.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S index 5ef63c45a..103580a0c 100644 --- a/libc/string/arm/_memcpy.S +++ b/libc/string/arm/_memcpy.S @@ -108,8 +108,7 @@ _memcpy: cmp r1, r0 bcc .Lmemcpy_backwards - IT(tt, eq) - moveq r0, #0 /* Quick abort for len=0 */ + IT(tt, eq) /* Quick abort for src=dst */ #if defined(__USE_BX__) bxeq lr #else |