mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 6 additions and 7 deletions
|
|
@ -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…
Reference in a new issue