[PPC64] isRelExpr should return true for the PPC Call Exprs.
authorSean Fertile <sfertile@ca.ibm.com>
Fri, 11 May 2018 19:31:19 +0000 (19:31 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Fri, 11 May 2018 19:31:19 +0000 (19:31 +0000)
commitc12f051112fa42bf5522d909252d0ae3314adf53
treefc65cbc19f3bdaaa2579636012e761f9e23f0345
parent3a380fb2ff767c1fd9ddb6fba6b2608130d44ba0
[PPC64] isRelExpr should return true for the PPC Call Exprs.

Both R_PPC_CALL and R_PPC_CALL_PLT Exprs map to the R_PPC64_REL24 relocation
which has the form Sym + addend - P.

Differential Revision: https://reviews.llvm.org/D46654

llvm-svn: 332127
lld/ELF/Relocations.cpp
lld/test/ELF/ppc64-rel-so-local-calls.s [new file with mode: 0644]