[PPC][PPC64] PPC_REL14 and PPC64_REL14 relocations
authorMartell Malone <martellmalone@gmail.com>
Tue, 4 Dec 2018 12:26:21 +0000 (12:26 +0000)
committerMartell Malone <martellmalone@gmail.com>
Tue, 4 Dec 2018 12:26:21 +0000 (12:26 +0000)
commitaa6086a64c8c5bfaf67891c1a974532a206ac304
treeb214949bd1b73cfd5c126eacd0597de7349f6a27
parent58d44235e5026a9ee3275b6db12a2115caf7b90f
[PPC][PPC64] PPC_REL14 and PPC64_REL14 relocations

When linking the linux kernel on ppc64 and ppc
ld.lld: error: unrecognized reloc 11
11 is PPC_REL14 and PPC64_REL14

Differential revision: https://reviews.llvm.org/D54868

llvm-svn: 348255
lld/ELF/Arch/PPC.cpp
lld/ELF/Arch/PPC64.cpp
lld/test/ELF/ppc-relocs.s
lld/test/ELF/ppc64-relocs.s