]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
authorDaniel Jacobowitz <dan@codesourcery.com>
Thu, 27 Oct 2005 18:50:12 +0000 (18:50 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Thu, 27 Oct 2005 18:50:12 +0000 (18:50 +0000)
ChangeLog.arm
sysdeps/unix/sysv/linux/arm/socket.S

index f38a92946ad9dda69690ee8979825524ebd6d752..4cf9c1ae34e43fce9de5b853e5ca414943d61719 100644 (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>
index 212a489afedbba5b3f09fd9a9af85df192cd3428..69f88eb3ca06873f8023d01ca2da911b9bdb96fa 100644 (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
    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