diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-12-06 00:15:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-12-06 00:15:34 +0000 |
commit | 71885b7a9149b5e54906204491b64d5ad0a48e9d (patch) | |
tree | fbfabb7feac989e3a9d502bccf80000fd3780ad7 /sysdeps | |
parent | 261d16fece027a4c6985cee8114318d45c27172e (diff) | |
download | glibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.tar.gz glibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.tar.xz glibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.zip |
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
instead of doing things manually.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/i386/dl-tlsdesc.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/i386/dl-tlsdesc.S b/sysdeps/i386/dl-tlsdesc.S index db5005d9f4..4d17e59911 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 |