Quellcode durchsuchen

sh: fix static linking issue

Waldemar Brodkorb vor 10 Jahren
Ursprung
Commit
c13f823941
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S

+ 6 - 0
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: