install dynamic tls synchronously at dlopen, streamline access
[musl] / src / thread / i386 / tls.s
1 .text
2 .global ___tls_get_addr
3 .type ___tls_get_addr,@function
4 ___tls_get_addr:
5         mov %gs:4,%edx
6         mov (%eax),%ecx
7         mov 4(%eax),%eax
8         add (%edx,%ecx,4),%eax
9         ret