[PATCH] D143226: [MC][CodeGen] Introduce handling for R_RISCV_PLT32 relocation
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 14:55:11 PST 2023
leonardchan added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/dso_local_equivalent.ll:9
+; CHECK: const:
+; CHECK: .word extern_func at PLT
+ at const = constant i32 trunc (i64 ptrtoint (ptr dso_local_equivalent @extern_func to i64) to i32)
----------------
jrtc27 wrote:
> This isn't PC-relative
Updated with pc-relative codegen
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