]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-top-half/musl/src/thread/i386/tls.s
Update to musl 1.1.22.
[wasi-libc.git] / libc-top-half / musl / src / thread / i386 / tls.s
index 76d5d46253132b35705e27493ca0b1ad7fcbc66a..6e4c4cb92867b9706aabef9683605b25a1be87c1 100644 (file)
@@ -4,14 +4,6 @@
 ___tls_get_addr:
        mov %gs:4,%edx
        mov (%eax),%ecx
-       cmp %ecx,(%edx)
-       jc 1f
        mov 4(%eax),%eax
        add (%edx,%ecx,4),%eax
        ret
-1:     push %eax
-.weak __tls_get_new
-.hidden __tls_get_new
-       call __tls_get_new
-       pop %edx
-       ret