OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a3469
)
arm memcpy: fix the case when src=dst
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 23 May 2008 20:31:51 +0000
(20:31 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 23 May 2008 20:31:51 +0000
(20:31 -0000)
libc/string/arm/_memcpy.S
patch
|
blob
|
history
diff --git
a/libc/string/arm/_memcpy.S
b/libc/string/arm/_memcpy.S
index
5ef63c4
..
103580a
100644
(file)
--- 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