summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-03 00:28:18 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-03 00:28:18 -0400
commite9e15c687c5ebdf64f2f0679f5a21b41062bc210 (patch)
tree53a11b091a118adb696da91d134ee91f7be8ec0e /libc/string
parent14276f18072accb6ad36e8d784e44ee1e1a29c56 (diff)
parenteac5e6eee91332c3c98f4c5a3ee2d55ec1723d81 (diff)
Merge branch 'master' of git://uclibc.org/uClibc
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/arm/_memcpy.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S
index 103580a0c..b26080d02 100644
--- a/libc/string/arm/_memcpy.S
+++ b/libc/string/arm/_memcpy.S
@@ -67,8 +67,9 @@
* a time where possible.
*
* Note: r12 (aka ip) can be trashed during the function along with
- * r0-r3 although r0-r2 have defined uses i.e. src, dest, len through out.
+ * r0-r3 although r0-r2 have defined uses i.e. dest, src, len throughout.
* Additional registers are preserved prior to use i.e. r4, r5 & lr
+ * The return value in r0 must be the destination address.
*
* Apologies for the state of the comments ;-)
*/
@@ -108,7 +109,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