summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-29 21:06:54 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-08-02 10:44:47 +0200
commitc13f823941b103cf744929e5afcb3e2bc1342354 (patch)
treecdcf2aa766eeb73ce17476ec5d3a78cf88d24f3a /libpthread/nptl
parent7966d8aca0af0048b3d82bc9af210c293a4c9aac (diff)
sh: fix static linking issue
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
index bac9dd4f2..9af4ea4ca 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
@@ -138,6 +138,9 @@
.globl __lll_lock_wait_private
.type __lll_lock_wait_private,@function
.hidden __lll_lock_wait_private
+#ifndef IS_IN_libpthread
+ .weak __lll_lock_wait_private
+#endif
.align 5
cfi_startproc
__lll_lock_wait_private:
@@ -409,6 +412,9 @@ __lll_timedlock_wait:
.globl __lll_unlock_wake_private
.type __lll_unlock_wake_private,@function
.hidden __lll_unlock_wake_private
+#ifndef IS_IN_libpthread
+ .weak __lll_unlock_wake_private
+#endif
.align 5
cfi_startproc
__lll_unlock_wake_private: