summaryrefslogtreecommitdiff
path: root/libc/string/arm/_memcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/arm/_memcpy.S')
-rw-r--r--libc/string/arm/_memcpy.S3
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