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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|
||||||
ENTRY(__htonl)
|
ENTRY(htonl)
|
||||||
#ifdef PROF
|
#ifdef PROF
|
||||||
ldgp gp, 0(pv)
|
ldgp gp, 0(pv)
|
||||||
.set noat
|
.set noat
|
||||||
|
@ -43,6 +43,4 @@ ENTRY(__htonl)
|
||||||
|
|
||||||
END(__htonl)
|
END(__htonl)
|
||||||
|
|
||||||
strong_alias_asm(__htonl, __ntohl)
|
weak_alias(htonl, ntohl)
|
||||||
weak_alias(__htonl, htonl)
|
|
||||||
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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|
||||||
ENTRY(__htons)
|
ENTRY(htons)
|
||||||
#ifdef PROF
|
#ifdef PROF
|
||||||
ldgp gp, 0(pv)
|
ldgp gp, 0(pv)
|
||||||
.set noat
|
.set noat
|
||||||
|
@ -37,6 +37,4 @@ ENTRY(__htons)
|
||||||
|
|
||||||
END(__htons)
|
END(__htons)
|
||||||
|
|
||||||
strong_alias_asm(__htons, __ntohs)
|
weak_alias(htons, ntohs)
|
||||||
weak_alias(__htons, htons)
|
|
||||||
weak_alias(__htons, ntohs)
|
|
||||||
|
|
|
@ -23,11 +23,9 @@
|
||||||
|
|
||||||
#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, ntohl)
|
||||||
weak_alias (__htonl, htonl)
|
|
||||||
weak_alias (__ntohl, ntohl)
|
|
||||||
|
|
|
@ -28,6 +28,4 @@ ENTRY(htons, 0)
|
||||||
movb 5(ap),r0
|
movb 5(ap),r0
|
||||||
movzwl r0,r0
|
movzwl r0,r0
|
||||||
ret
|
ret
|
||||||
strong_alias (__htons, __ntohs)
|
weak_alias (htons, ntohs)
|
||||||
weak_alias (__htons, htons)
|
|
||||||
weak_alias (__ntohs, ntohs)
|
|
||||||
|
|
Loading…
Reference in New Issue