diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-02 13:32:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-02-02 13:32:07 +0000 |
commit | 22cba234393e85cacb460dd6e3f6aadc75278969 (patch) | |
tree | 2a2b3982e48ded6f3aa6d8d4539b9873d7c5d4d9 /sys/lib/libkern/arch/m68k/htons.S | |
parent | bfb23955a64b7aa0e072e92cbfc69f31228df265 (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.S | 6 |
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 |