* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.

This commit is contained in:
Daniel Jacobowitz 2005-10-27 18:50:12 +00:00
parent 011363465f
commit e7837483d3
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-10-27 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
2005-10-10 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Julian Brown <julian@codesourcery.com>

View File

@ -1,4 +1,6 @@
/* Copyright (C) 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc.
/* Copyright (C) 1995, 1996, 1997, 1998, 2003, 2004, 2005
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
@ -32,7 +34,11 @@
The .S files for the other calls just #define socket and #include this. */
#ifndef __socket
#ifndef NO_WEAK_ALIAS
#define __socket P(__,socket)
#else
#define __socket socket
#endif
#endif
#define PUSHARGS_1 str a1, [sp, $-4]!
@ -120,4 +126,6 @@ ENTRY (__socket)
PSEUDO_END (__socket)
#ifndef NO_WEAK_ALIAS
weak_alias (__socket, socket)
#endif