aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/dl-tlsdesc.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-12-06 00:15:34 +0000
committerUlrich Drepper <drepper@redhat.com>2008-12-06 00:15:34 +0000
commit71885b7a9149b5e54906204491b64d5ad0a48e9d (patch)
treefbfabb7feac989e3a9d502bccf80000fd3780ad7 /sysdeps/i386/dl-tlsdesc.S
parent261d16fece027a4c6985cee8114318d45c27172e (diff)
downloadglibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.zip
glibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.tar.gz
glibc-71885b7a9149b5e54906204491b64d5ad0a48e9d.tar.bz2
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
instead of doing things manually.
Diffstat (limited to 'sysdeps/i386/dl-tlsdesc.S')
-rw-r--r--sysdeps/i386/dl-tlsdesc.S3
1 files changed, 1 insertions, 2 deletions
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