mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Add aliases for ntohl.
This commit is contained in:
parent
4264456034
commit
36968baa40
@ -23,8 +23,11 @@
|
|||||||
|
|
||||||
#include "DEFS.h"
|
#include "DEFS.h"
|
||||||
|
|
||||||
ENTRY(htonl, 0)
|
ENTRY(__htonl, 0)
|
||||||
rotl $-8,4(ap),r0
|
rotl $-8,4(ap),r0
|
||||||
insv r0,$16,$8,r0
|
insv r0,$16,$8,r0
|
||||||
movb 7(ap),r0
|
movb 7(ap),r0
|
||||||
ret
|
ret
|
||||||
|
strong_alias (__htonl, __ntohl)
|
||||||
|
weak_alias (__htonl, htonl)
|
||||||
|
weak_alias (__ntohl, ntohl)
|
||||||
|
Loading…
Reference in New Issue
Block a user