[GOLD] Edit PowerPC64 ELFv2 function entry code
authorAlan Modra <amodra@gmail.com>
Tue, 8 Dec 2015 23:48:44 +0000 (10:18 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 9 Dec 2015 00:06:43 +0000 (10:36 +1030)
commite3a7574e2e06f975a4933d3f7e77af1d9189d9de
treea38b95b61e6ed7db09dbb57839fc5fabac0943b3
parent91a65d2fe88fabe2d553a0362b2f76034f820175
[GOLD] Edit PowerPC64 ELFv2 function entry code

In an fixed position executable, the entry code does not need to be
PIC and can thus lose a dependency on r12.

* powerpc.cc (Target_powerpc::Relocate::relocate): Edit ELFv2
entry code.
(Target_powerpc::relocate_relocs): Edit relocs to suit.
gold/ChangeLog
gold/powerpc.cc