about summary refs log tree commit diff
path: root/src/ldso/i386/tlsdesc.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/i386/tlsdesc.s')
-rw-r--r--src/ldso/i386/tlsdesc.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ldso/i386/tlsdesc.s b/src/ldso/i386/tlsdesc.s
index 3ac61297..00a9fc09 100644
--- a/src/ldso/i386/tlsdesc.s
+++ b/src/ldso/i386/tlsdesc.s
@@ -5,6 +5,8 @@ __tlsdesc_static:
 	mov 4(%eax),%eax
 	ret
 
+.hidden __tls_get_new
+
 .global __tlsdesc_dynamic
 .type __tlsdesc_dynamic,@function
 __tlsdesc_dynamic:
@@ -22,6 +24,6 @@ __tlsdesc_dynamic:
 	pop %edx
 	ret
 1:	push %eax
-	call __tls_get_addr
+	call __tls_get_new
 	pop %ecx
 	jmp 2b