summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/libkern/arch/hppa/bcopy.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/arch/hppa/bcopy.S b/sys/lib/libkern/arch/hppa/bcopy.S
index 809fa2b7986..0f11f51368a 100644
--- a/sys/lib/libkern/arch/hppa/bcopy.S
+++ b/sys/lib/libkern/arch/hppa/bcopy.S
@@ -37,12 +37,12 @@
#include <machine/asm.h>
#include <machine/frame.h>
+
LEAF_ENTRY(memcpy)
ALTENTRY(memmove)
- copy arg0, t1
- copy arg1, arg0
- copy t1, arg1
copy arg0, ret0
+ copy arg1, arg0
+ copy ret0, arg1
ALTENTRY(ovbcopy)
ALTENTRY(bcopy)
comb,>,n arg1, arg0, $bcopy.reverse