aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr25416-1a.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-01-20 12:33:29 +1030
committerAlan Modra <amodra@gmail.com>2020-01-20 18:58:05 +1030
commitb9ca1af69e097b8dc15b23a4e12194f9567c4ad7 (patch)
treefd79a39913d96fc6411b90855e94fb103d1604af /ld/testsuite/ld-x86-64/pr25416-1a.d
parented7007c18a83d0d654c366d507fcf053985c698b (diff)
downloadgdb-b9ca1af69e097b8dc15b23a4e12194f9567c4ad7.zip
gdb-b9ca1af69e097b8dc15b23a4e12194f9567c4ad7.tar.gz
gdb-b9ca1af69e097b8dc15b23a4e12194f9567c4ad7.tar.bz2
Don't touch r11 in __tls_get_addr stub
This modifies the special __tls_get_addr stub that checks for a tlsdesc style __tls_index entry and returns early. Not using r11 isn't much benefit at the moment but a followup patch will preserve regs around the first call to __tls_get_addr when the __tls_index entry isn't yet set up for an early return. bfd/ * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1), (MTLR_R11): Don't define. (LD_R0_0R3, CMPDI_R0_0): Define. (build_tls_get_addr_stub): Don't use r11 in stub. ld/ * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub. * testsuite/ld-powerpc/tlsexeno.d: Likewise. * testsuite/ld-powerpc/tlsexetoc.d: Likewise. * testsuite/ld-powerpc/tlsexetocno.d: Likewise. * testsuite/ld-powerpc/tlsopt5.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr25416-1a.d')
0 files changed, 0 insertions, 0 deletions