summaryrefslogtreecommitdiffhomepage
path: root/arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-04-05 16:21:51 -0400
committermidipix <writeonce@midipix.org>2015-04-05 16:21:51 -0400
commit2a9a46e0b0a1f7e0e21b1152aa2529d94c57db35 (patch)
tree8f5d0fdd6ff6e78f831ec40c4e77a8acaefdebcf /arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s
parent57a53f79b00ffe9ad40c54bfddb6ee07a5801814 (diff)
downloadmmglue-2a9a46e0b0a1f7e0e21b1152aa2529d94c57db35.tar.bz2
mmglue-2a9a46e0b0a1f7e0e21b1152aa2529d94c57db35.tar.xz
nt32: initial commit of the bits that manually export weak symbols;
this works around a limitation in binutils, where weak symbols are correctly resolved within the linked image, yet not exported via --export-all-symbols. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s')
-rw-r--r--arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s b/arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s
new file mode 100644
index 0000000..18ca586
--- /dev/null
+++ b/arch/nt32/weak/nt32/__pthread_mutex_lock_sym.s
@@ -0,0 +1,3 @@
+ .globl _pthread_mutex_lock
+_pthread_mutex_lock:
+ jmp ___pthread_mutex_lock