[PATCH] D143226: [MC][RISCV] Introduce handling for R_RISCV_PLT32 relocation

Leonard Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 14:07:44 PST 2023


leonardchan added a comment.

In D143226#4101389 <https://reviews.llvm.org/D143226#4101389>, @jrtc27 wrote:

> Title should say [MC] not [llvm]. Do we not also need CodeGen support for this to be useful outside of hand-written assembly?

CodeGen already picks this up via the `PLTRelativeVariantKind = MCSymbolRefExpr::VK_PLT;`. A `dso_local_equivalent @func` gets lowered to `func at PLT`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143226



More information about the llvm-commits mailing list