summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2015-10-21 12:42:24 +0530
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-22 04:02:03 +0200
commitda25b583ece753e46f6af1342986e189099dc679 (patch)
tree2a89155a4ce8d982644c5644ec257ac578956973 /libpthread/nptl/sysdeps/unix/sysv/linux
parentfef346b2666ed2e7331fe4ca74a7dbaedc380b20 (diff)
NPTL/ARC: fix __lll_lock_wait_private redefinition for static links
Commit 2d9740a65a "uclibc: nptl: fix __lll_lock_wait_private multiple definition" did a sweeping change which did for all in tree arches at that time (ARC wasn't) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
index 1aa79609a..fd39fe907 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
@@ -24,8 +24,10 @@
#include <tls.h>
#include <tcb-offsets.h>
-
void
+#ifndef IS_IN_libpthread
+weak_function
+#endif
__lll_lock_wait_private (int *futex)
{
if (*futex == 2)