Add thrd_current for x86-64 linux

This commit is contained in:
Eugen Wissner 2017-09-19 06:16:43 +02:00
parent 14f91b6942
commit 7445d42ad4

View File

@ -0,0 +1,8 @@
.text
.globl thrd_current
.type thrd_current, @function
thrd_current:
mov %fs:0, %rax
ret