[GOLD] R_PPC64_REL16_HIGH relocs
authorAlan Modra <amodra@gmail.com>
Fri, 28 Jun 2019 00:47:08 +0000 (10:17 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 28 Jun 2019 00:47:08 +0000 (10:17 +0930)
commitc432bbbaaa072438e6303b819bdcb4289c2b22e0
tree15cfc4379068d45412637895fceeecdddf2c973a
parent60d53d7f032ad7af09760afbaf01b2ec413f198a
[GOLD] R_PPC64_REL16_HIGH relocs

These relocs have been around for quite a while.  It's past time gold
supported them.

elfcpp/
* powerpc.h (R_PPC64_REL16_HIGH, R_PPC64_REL16_HIGHA),
(R_PPC64_REL16_HIGHER, R_PPC64_REL16_HIGHERA),
(R_PPC64_REL16_HIGHEST, R_PPC64_REL16_HIGHESTA): Define.

gold/
* powerpc.cc (Target_powerpc::Scan::get_reference_flags): Handle
REL16_HIGH* relocs.
(Target_powerpc::Scan::local): Likewise.
(Target_powerpc::Scan::global): Likewise.
(Target_powerpc::Relocate::relocate): Likewise.
elfcpp/ChangeLog
elfcpp/powerpc.h
gold/ChangeLog
gold/powerpc.cc