summaryrefslogtreecommitdiff
path: root/src/thread/i386/tls.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/i386/tls.s')
-rw-r--r--src/thread/i386/tls.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/thread/i386/tls.s b/src/thread/i386/tls.s
index 6e01adf2..76d5d462 100644
--- a/src/thread/i386/tls.s
+++ b/src/thread/i386/tls.s
@@ -10,6 +10,8 @@ ___tls_get_addr:
add (%edx,%ecx,4),%eax
ret
1: push %eax
- call __tls_get_addr
+.weak __tls_get_new
+.hidden __tls_get_new
+ call __tls_get_new
pop %edx
ret