uses, as the latter requires manual handling of _PROF_PROLOGUE.
Add END()s to match ENTRY()s.
ok deraadt@
#include <machine/asm.h>
-_ENTRY(htonl)
-_NENTRY(ntohl)
-_NENTRY(bswap32)
-_PROF_PROLOGUE
+STRONG_ALIAS(ntohl, htonl)
+STRONG_ALIAS(bswap32, htonl)
+
+ENTRY(htonl)
RETGUARD_SETUP(htonl, r11)
movl %edi,%eax
bswap %eax
RETGUARD_CHECK(htonl, r11)
ret
lfence
+END(htonl)
#include <machine/asm.h>
-_ENTRY(htons)
-_NENTRY(ntohs)
-_NENTRY(bswap16)
-_PROF_PROLOGUE
+STRONG_ALIAS(ntohs, htons)
+STRONG_ALIAS(bswap16, htons)
+
+ENTRY(htons)
RETGUARD_SETUP(htons, r11)
movl %edi,%eax
xchgb %ah,%al
RETGUARD_CHECK(htons, r11)
ret
lfence
+END(htons)