[GOLD] PowerPC R_PPC64_PCREL_OPT support
authorAlan Modra <amodra@gmail.com>
Thu, 27 Jun 2019 00:05:15 +0000 (09:35 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 13 Jul 2019 00:27:50 +0000 (09:57 +0930)
commit0c951c25c6c7cfbf0f399d34277f73b0fdfc18cd
tree2f0e971ecacf5a9364ad11bb69619871c021869e
parentc9b8abb7af46c9da4b50ad8495ab2824c4125962
[GOLD] PowerPC R_PPC64_PCREL_OPT support

* powerpc.cc (xlate_pcrel_opt): New function.
(Target_powerpc::Relocate::relocate): Optimise PCREL34 and
GOT_PCREL34 sequences marked with PCREL_OPT.
gold/ChangeLog
gold/powerpc.cc