From ef0cd312df6002624e556e04dd97a0135be888b8 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 4 Sep 2004 00:23:15 +0000 Subject: [PATCH] Unbreak memmove(). Return the dst argument. While here, fix the END macro to actually reference memmove, not memcpy. --- lib/libc/ia64/string/memmove.S | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/libc/ia64/string/memmove.S b/lib/libc/ia64/string/memmove.S index 06639d15f68..19fa8affc39 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)