diff options
author | Alan Modra <amodra@gmail.com> | 2017-07-29 12:33:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-07-29 13:02:27 +0930 |
commit | 8b5f1ed8777df405f3c7b87472b1506f5125aebe (patch) | |
tree | fe5af9f4c9fd47c2ee17365ddc456e86661f0f47 /ld/ChangeLog | |
parent | ef080e7ed4a373037231e709bfa1a909f4eae0f9 (diff) | |
download | gdb-8b5f1ed8777df405f3c7b87472b1506f5125aebe.zip gdb-8b5f1ed8777df405f3c7b87472b1506f5125aebe.tar.gz gdb-8b5f1ed8777df405f3c7b87472b1506f5125aebe.tar.bz2 |
PR 21847, Don't default PowerPC64 to --plt-localentry
The big comment in ppc64_elf_tls_setup says why. I've also added some
code to the bfd linker that catches the -lpthread -lc symbol
differences and disable generation of optimized call stubs even when
--plt-localentry is activated. Gold doesn't yet have that.
PR 21847
bfd/
* elf64-ppc.c (struct ppc_link_hash_entry): Add non_zero_localentry.
(ppc64_elf_merge_symbol): Set non_zero_localentry.
(is_elfv2_localentry0): Test non_zero_localentry.
(ppc64_elf_tls_setup): Default to --no-plt-localentry.
gold/
* powerpc.cc (Target_powerpc::scan_relocs): Default to
--no-plt-localentry.
ld/
* ld.texinfo (plt-localentry): Document.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 9345785..2a371b9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2017-07-29 Alan Modra <amodra@gmail.com> + + * ld.texinfo (plt-localentry): Document. + 2017-07-28 Andrew Burgess <andrew.burgess@embecosm.com> * ldgram.y (ldgram_had_keep): Make static. |