While here, kill redundant use of _C_LABEL() in ENTRY().
-/* $OpenBSD: htonl.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */
+/* $OpenBSD: htonl.S,v 1.2 2015/05/29 09:25:28 uebayasi Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(htonl))
+ENTRY(htonl)
movl %edi,%eax
bswapl %eax
ret
+END(htonl)
-/* $OpenBSD: htons.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */
+/* $OpenBSD: htons.S,v 1.3 2015/05/29 09:25:28 uebayasi Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(htons))
+ENTRY(htons)
movl %edi,%eax
xchgb %ah,%al
ret
-
+END(htons)
-/* $OpenBSD: ntohl.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */
+/* $OpenBSD: ntohl.S,v 1.3 2015/05/29 09:25:28 uebayasi Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(ntohl))
+ENTRY(ntohl)
movl %edi,%eax
bswapl %eax
ret
+END(ntohl)
-/* $OpenBSD: ntohs.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */
+/* $OpenBSD: ntohs.S,v 1.3 2015/05/29 09:25:28 uebayasi Exp $ */
/* Written by Artur Grabowski. Public Domain */
#include <machine/asm.h>
-ENTRY(_C_LABEL(ntohs))
+ENTRY(ntohs)
movl %edi,%eax
xchgb %ah,%al
ret
-
+END(ntohs)