[PATCH] D46654: [PPC64] isRelExpr should return true for the PPC Call Exprs

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 11:36:00 PDT 2018


sfertile created this revision.
sfertile added reviewers: syzaara, ruiu, rdhindsa.
Herald added subscribers: llvm-commits, kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.

Both `R_PPC_CALL` and `R_PPC_CALL_PLT` Exprs map to the `R_PPC64_REL24` relocation which is a RelExp since it has the form `Sym + addend - P`


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46654

Files:
  ELF/Relocations.cpp
  test/ELF/ppc64-rel-so-local-calls.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46654.145970.patch
Type: text/x-patch
Size: 2320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180509/a6c86d99/attachment.bin>


More information about the llvm-commits mailing list