Unbreak memmove(). Return the dst argument. While here, fix the END
macro to actually reference memmove, not memcpy.
This commit is contained in:
parent
4c36bcaa87
commit
ef0cd312df
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user