mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Don't define __ protected names.
This commit is contained in:
parent
75dc7e89eb
commit
409871bc75
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
ENTRY(__htonl)
|
||||
ENTRY(htonl)
|
||||
#ifdef PROF
|
||||
ldgp gp, 0(pv)
|
||||
.set noat
|
||||
@ -43,6 +43,4 @@ ENTRY(__htonl)
|
||||
|
||||
END(__htonl)
|
||||
|
||||
strong_alias_asm(__htonl, __ntohl)
|
||||
weak_alias(__htonl, htonl)
|
||||
weak_alias(__htonl, ntohl)
|
||||
weak_alias(htonl, ntohl)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
ENTRY(__htons)
|
||||
ENTRY(htons)
|
||||
#ifdef PROF
|
||||
ldgp gp, 0(pv)
|
||||
.set noat
|
||||
@ -37,6 +37,4 @@ ENTRY(__htons)
|
||||
|
||||
END(__htons)
|
||||
|
||||
strong_alias_asm(__htons, __ntohs)
|
||||
weak_alias(__htons, htons)
|
||||
weak_alias(__htons, ntohs)
|
||||
weak_alias(htons, ntohs)
|
||||
|
@ -23,11 +23,9 @@
|
||||
|
||||
#include "DEFS.h"
|
||||
|
||||
ENTRY(__htonl, 0)
|
||||
ENTRY(htonl, 0)
|
||||
rotl $-8,4(ap),r0
|
||||
insv r0,$16,$8,r0
|
||||
movb 7(ap),r0
|
||||
ret
|
||||
strong_alias (__htonl, __ntohl)
|
||||
weak_alias (__htonl, htonl)
|
||||
weak_alias (__ntohl, ntohl)
|
||||
weak_alias (htonl, ntohl)
|
||||
|
@ -28,6 +28,4 @@ ENTRY(htons, 0)
|
||||
movb 5(ap),r0
|
||||
movzwl r0,r0
|
||||
ret
|
||||
strong_alias (__htons, __ntohs)
|
||||
weak_alias (__htons, htons)
|
||||
weak_alias (__ntohs, ntohs)
|
||||
weak_alias (htons, ntohs)
|
||||
|
Loading…
Reference in New Issue
Block a user