[PATCH] D132530: [RISCV] Assemble `call foo` to R_RISCV_CALL_PLT

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 00:20:32 PDT 2022


MaskRay updated this revision to Diff 457188.
MaskRay retitled this revision from "[RISCV] Replace deprecated R_RISCV_CALL with R_RISCV_CALL_PLT" to "[RISCV] Assemble `call foo` to R_RISCV_CALL_PLT".
MaskRay edited the summary of this revision.
MaskRay added a comment.

Change assembler instead.

We need to change binutils gas as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132530

Files:
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
  llvm/test/ExecutionEngine/JITLink/RISCV/ELF_pc_indirect.s
  llvm/test/MC/RISCV/function-call.s
  llvm/test/MC/RISCV/linker-relaxation.s
  llvm/test/MC/RISCV/option-pushpop.s
  llvm/test/MC/RISCV/option-relax.s
  llvm/test/MC/RISCV/pseudo-jump.s
  llvm/test/MC/RISCV/tail-call.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132530.457188.patch
Type: text/x-patch
Size: 7659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/7da79213/attachment.bin>


More information about the llvm-commits mailing list