aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-moxie.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-08-30 20:35:09 +0930
committerAlan Modra <amodra@gmail.com>2017-08-30 20:35:09 +0930
commitb9f04fe0dfe64bc6224e7bb96378607f17da7446 (patch)
treec97562790bfe1c4b7e81aab4a9368666ef177a6b /bfd/elf32-moxie.c
parentc7dffc390cf861b313001fd08049a5fd8d758d0d (diff)
downloadgdb-b9f04fe0dfe64bc6224e7bb96378607f17da7446.zip
gdb-b9f04fe0dfe64bc6224e7bb96378607f17da7446.tar.gz
gdb-b9f04fe0dfe64bc6224e7bb96378607f17da7446.tar.bz2
PowerPC64 __tls_get_addr sequence optimization
There isn't a good reason for ld.bfd to behave differently from gold in the code generated by TLS GD/LD to LE optimization. bfd/ * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing __tls_get_addr call sequences to LE, don't move the addi down to the nop. Replace the bl with addi and leave the nop alone. ld/ * testsuite/ld-powerpc/tls.d: Update. * testsuite/ld-powerpc/tlsexe.d: Update. * testsuite/ld-powerpc/tlsexetoc.d: Update. * testsuite/ld-powerpc/tlsld.d: Update. * testsuite/ld-powerpc/tlsmark.d: Update. * testsuite/ld-powerpc/tlsopt4.d: Update. * testsuite/ld-powerpc/tlstoc.d: Update.
Diffstat (limited to 'bfd/elf32-moxie.c')
0 files changed, 0 insertions, 0 deletions