fix wide printf forms ignoring width for %lc format specifier
[musl] / src / ldso / i386 / tlsdesc.s
index 4a553bc..32c8176 100644 (file)
@@ -6,8 +6,6 @@ __tlsdesc_static:
        mov 4(%eax),%eax
        ret
 
-.hidden __tls_get_new
-
 .global __tlsdesc_dynamic
 .hidden __tlsdesc_dynamic
 .type __tlsdesc_dynamic,@function
@@ -17,15 +15,9 @@ __tlsdesc_dynamic:
        mov %gs:4,%edx
        push %ecx
        mov (%eax),%ecx
-       cmp %ecx,(%edx)
-       jc 1f
        mov 4(%eax),%eax
        add (%edx,%ecx,4),%eax
-2:     pop %ecx
+       pop %ecx
        sub %gs:0,%eax
        pop %edx
        ret
-1:     push %eax
-       call __tls_get_new
-       pop %ecx
-       jmp 2b