[LLD][PowerPC] Add support for R_PPC64_GOT_PCREL34
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 24 Jun 2020 12:40:35 +0000 (07:40 -0500)
committerKamau Bridgeman <kamau.bridgeman@ibm.com>
Wed, 24 Jun 2020 12:40:35 +0000 (07:40 -0500)
commit8131ef5d635bc01b398c8648ea921f2891aaa9d2
treed13d667a279a4d0b57e3f40744ba85571888aa68
parent4e62c6359c7f9c0939c2a9072f8f1c41b2628412
[LLD][PowerPC] Add support for R_PPC64_GOT_PCREL34

Add support for the 34bit relocation R_PPC64_GOT_PCREL34 for
PC Relative in LLD.

Reviewers: sfertile, MaskRay

Differential Revision: https://reviews.llvm.org/D81948
lld/ELF/Arch/PPC64.cpp
lld/test/ELF/ppc64-reloc-got-pcrel34.s [new file with mode: 0644]