From: Daniel Jacobowitz Date: Thu, 27 Oct 2005 18:50:12 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS. X-Git-Tag: glibc-2.16-ports-before-merge~1012 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7837483d3d1baaae6ef46f0634e059f1ca15e83;p=thirdparty%2Fglibc.git * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS. --- diff --git a/ChangeLog.arm b/ChangeLog.arm index f38a92946ad..4cf9c1ae34e 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,7 @@ +2005-10-27 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS. + 2005-10-10 Daniel Jacobowitz Joseph Myers Julian Brown diff --git a/sysdeps/unix/sysv/linux/arm/socket.S b/sysdeps/unix/sysv/linux/arm/socket.S index 212a489afed..69f88eb3ca0 100644 --- a/sysdeps/unix/sysv/linux/arm/socket.S +++ b/sysdeps/unix/sysv/linux/arm/socket.S @@ -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