summaryrefslogtreecommitdiff
path: root/src/thread/i386
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/i386')
-rw-r--r--src/thread/i386/tls.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/i386/tls.s b/src/thread/i386/tls.s
new file mode 100644
index 00000000..e1f22629
--- /dev/null
+++ b/src/thread/i386/tls.s
@@ -0,0 +1,8 @@
+.text
+.global ___tls_get_addr
+.type ___tls_get_addr,@function
+___tls_get_addr:
+ push %eax
+ call __tls_get_addr
+ pop %edx
+ ret