mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 23:40:10 +00:00
arm: Remove ld.so __tls_get_addr plt usage
Use the hidden alias instead. Checked on arm-linux-gnueabihf.
This commit is contained in:
parent
50c2be2390
commit
95700e7998
@ -147,7 +147,7 @@ _dl_tlsdesc_dynamic:
|
|||||||
4: .inst 0xeef12a10 /* vmrs r2, fpscr */
|
4: .inst 0xeef12a10 /* vmrs r2, fpscr */
|
||||||
str r2, [r3]
|
str r2, [r3]
|
||||||
.Lno_vfp:
|
.Lno_vfp:
|
||||||
bl __tls_get_addr
|
bl HIDDEN_JUMPTARGET(__tls_get_addr)
|
||||||
rsb r0, r4, r0
|
rsb r0, r4, r0
|
||||||
#ifdef __SOFTFP__
|
#ifdef __SOFTFP__
|
||||||
tst r5, #HWCAP_ARM_VFP
|
tst r5, #HWCAP_ARM_VFP
|
||||||
@ -181,6 +181,7 @@ _dl_tlsdesc_dynamic:
|
|||||||
eabi_fnend
|
eabi_fnend
|
||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
|
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
|
||||||
|
.hidden HIDDEN_JUMPTARGET(__tls_get_addr)
|
||||||
|
|
||||||
3: .long _GLOBAL_OFFSET_TABLE_ - 0b - PC_OFS
|
3: .long _GLOBAL_OFFSET_TABLE_ - 0b - PC_OFS
|
||||||
.Lrtld_global_ro:
|
.Lrtld_global_ro:
|
||||||
|
@ -4,5 +4,3 @@ libc.so: malloc
|
|||||||
libc.so: raise
|
libc.so: raise
|
||||||
libc.so: realloc
|
libc.so: realloc
|
||||||
libm.so: matherr
|
libm.so: matherr
|
||||||
# The dynamic loader needs __tls_get_addr for TLS.
|
|
||||||
ld.so: __tls_get_addr
|
|
||||||
|
Loading…
Reference in New Issue
Block a user