diff options
Diffstat (limited to 'lib/libc/amd64/net/ntohs.S')
-rw-r--r-- | lib/libc/amd64/net/ntohs.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/amd64/net/ntohs.S b/lib/libc/amd64/net/ntohs.S index 110faf7..3f0a36a 100644 --- a/lib/libc/amd64/net/ntohs.S +++ b/lib/libc/amd64/net/ntohs.S @@ -43,7 +43,9 @@ #include <machine/asm.h> -ENTRY(ntohs) + .weak CNAME(ntohs) + .set CNAME(ntohs),CNAME(__ntohs) +ENTRY(__ntohs) movzwl 4(%esp),%eax xchgb %al,%ah ret |