mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
aarch64: Remove ld.so __tls_get_addr plt usage
Use the hidden alias instead. Checked on aarch64-linux-gnu.
This commit is contained in:
parent
44ccc2465c
commit
50c2be2390
2 changed files with 2 additions and 3 deletions
|
@ -220,7 +220,7 @@ _dl_tlsdesc_dynamic:
|
|||
SAVE_Q_REGISTERS
|
||||
|
||||
mov x0, x1
|
||||
bl __tls_get_addr
|
||||
bl HIDDEN_JUMPTARGET(__tls_get_addr)
|
||||
|
||||
mrs x1, tpidr_el0
|
||||
sub PTR_REG (0), PTR_REG (0), PTR_REG (1)
|
||||
|
@ -246,5 +246,6 @@ _dl_tlsdesc_dynamic:
|
|||
b 1b
|
||||
cfi_endproc
|
||||
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
|
||||
.hidden HIDDEN_JUMPTARGET(__tls_get_addr)
|
||||
# undef NSAVEXREGPAIRS
|
||||
#endif
|
||||
|
|
|
@ -9,5 +9,3 @@ libm.so: matherr
|
|||
# If outline atomics are used, libgcc (built outside of glibc) may
|
||||
# call __getauxval using the PLT.
|
||||
libc.so: __getauxval ?
|
||||
# The dynamic loader needs __tls_get_addr for TLS.
|
||||
ld.so: __tls_get_addr
|
||||
|
|
Loading…
Add table
Reference in a new issue