From c13f823941b103cf744929e5afcb3e2bc1342354 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 29 Jul 2015 21:06:54 +0200 Subject: sh: fix static linking issue --- libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh') 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: -- cgit v1.2.3