Don't define __ protected names.

This commit is contained in:
Ulrich Drepper 1997-07-24 01:35:45 +00:00
parent 75dc7e89eb
commit 409871bc75
4 changed files with 9 additions and 17 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)