diff options
author | marcel <marcel@FreeBSD.org> | 2004-09-04 00:23:15 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-09-04 00:23:15 +0000 |
commit | 7f85950ec545d79ad29b1638aaa74181b22b9bef (patch) | |
tree | 08eea8a7a15e5085b4886c6149bc8232bd513043 /lib/libc/ia64/string | |
parent | a035e5e43cb3be0164f53aa450d686b7a1c09112 (diff) | |
download | FreeBSD-src-7f85950ec545d79ad29b1638aaa74181b22b9bef.zip FreeBSD-src-7f85950ec545d79ad29b1638aaa74181b22b9bef.tar.gz |
Unbreak memmove(). Return the dst argument. While here, fix the END
macro to actually reference memmove, not memcpy.
Diffstat (limited to 'lib/libc/ia64/string')
-rw-r--r-- | lib/libc/ia64/string/memmove.S | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/ia64/string/memmove.S b/lib/libc/ia64/string/memmove.S index 06639d1..19fa8af 100644 --- a/lib/libc/ia64/string/memmove.S +++ b/lib/libc/ia64/string/memmove.S @@ -28,10 +28,9 @@ __FBSDID("$FreeBSD$"); ENTRY(memmove,3) - - mov r14=in0 ;; - mov in0=in1 ;; - mov in1=r14 - br.cond.sptk.few bcopy - -END(memcpy) + mov r8 = in0 + mov in0 = in1 + ;; + mov in1 = r8 + br.sptk.few bcopy +END(memmove) |