From: Ulrich Drepper Date: Sat, 6 Dec 2008 00:15:34 +0000 (+0000) Subject: * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG X-Git-Tag: cvs/fedora-glibc-20090102T0809~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71885b7a9149b5e54906204491b64d5ad0a48e9d;p=platform%2Fupstream%2Fglibc.git * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 716d665..925d3b0 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2008-11-24 Arkadiusz Miśkiewicz + + * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG + instead of doing things manually. + 2008-11-26 Chris Steel * posix/regex_internal.h (build_wcs_upper_buffer): diff --git a/sysdeps/i386/dl-tlsdesc.S b/sysdeps/i386/dl-tlsdesc.S index db5005d..4d17e59 100644 --- a/sysdeps/i386/dl-tlsdesc.S +++ b/sysdeps/i386/dl-tlsdesc.S @@ -128,8 +128,7 @@ _dl_tlsdesc_dynamic: .Lslow: cfi_adjust_cfa_offset (28) movl %ebx, 16(%esp) - call __i686.get_pc_thunk.bx - addl $_GLOBAL_OFFSET_TABLE_, %ebx + LOAD_PIC_REG (bx) call ___tls_get_addr@PLT movl 16(%esp), %ebx jmp .Lret