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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 11:44:24 PDT 2020


nemanjai added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp:118
       { "fixup_ppc_pcrel34",     0,      34,   MCFixupKindInfo::FKF_IsPCRel },
+      { "fixup_ppc_linker_opt",  0,       0,   0 },
       { "fixup_ppc_nofixup",     0,       0,   0 }
----------------
This is going to need `MCFixupKindInfo::FKF_IsPCRel` or else it needs to be moved to the non-PC-Rel section of the switch in `getRelocType()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79625





More information about the llvm-commits mailing list