summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/m68k/htons.S
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:32:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:32:07 +0000
commit22cba234393e85cacb460dd6e3f6aadc75278969 (patch)
tree2a2b3982e48ded6f3aa6d8d4539b9873d7c5d4d9 /sys/lib/libkern/arch/m68k/htons.S
parentbfb23955a64b7aa0e072e92cbfc69f31228df265 (diff)
Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbel
in fpsp has to be renamed due to a clash with other parts of the kernel.
Diffstat (limited to 'sys/lib/libkern/arch/m68k/htons.S')
-rw-r--r--sys/lib/libkern/arch/m68k/htons.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/arch/m68k/htons.S b/sys/lib/libkern/arch/m68k/htons.S
index d9b4a308931..6fd535f8e74 100644
--- a/sys/lib/libkern/arch/m68k/htons.S
+++ b/sys/lib/libkern/arch/m68k/htons.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: htons.S,v 1.4 2007/11/25 18:25:35 deraadt Exp $ */
+/* $OpenBSD: htons.S,v 1.5 2013/02/02 13:32:06 miod Exp $ */
/* $NetBSD: htons.S,v 1.2 1994/10/26 06:39:27 cgd Exp $ */
/*-
@@ -41,6 +41,6 @@
ALTENTRY(ntohs, _htons)
ALTENTRY(bswap16, _htons)
ENTRY(htons)
- clrl d0
- movw sp@(6),d0
+ clrl %d0
+ movw %sp@(6),%d0
rts