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 | |
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.
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/i386/dl-tlsdesc.S | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 716d6658b3..925d3b07e7 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2008-11-24 Arkadiusz MiĆkiewicz <arekm@maven.pl> + + * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG + instead of doing things manually. + 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> * posix/regex_internal.h (build_wcs_upper_buffer): 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 |