Sign in
cobalt
/
cobalt.git
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
thread
/
i386
/
tls.s
blob: 6e4c4cb92867b9706aabef9683605b25a1be87c1 [
file
]
.text
.global ___tls_get_addr
.type ___tls_get_addr
,@
function
___tls_get_addr
:
mov
%gs:4,%
edx
mov
(%eax),%
ecx
mov
4
(%eax),%
eax
add
(%edx,%
ecx
,
4
),
%eax
ret