[PATCH] D79625: [PowerPC] Extend .reloc directive on PowerPC

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 21:16:27 PDT 2020


stefanp updated this revision to Diff 279325.
stefanp added a comment.

Updated patch to correctly remove new fixup.
In order to create the fixup I can use:

  MCFixup::create(Offset, Expr, FirstLiteralRelocationKind + R_PPC64_PCREL_OPT, Loc);


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79625/new/

https://reviews.llvm.org/D79625

Files:
  llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
  llvm/lib/MC/MCObjectStreamer.cpp
  llvm/test/MC/PowerPC/ppc64-reloc-directive-pcrel.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79625.279325.patch
Type: text/x-patch
Size: 15872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200721/79bedd1d/attachment-0001.bin>


More information about the llvm-commits mailing list