[lld] [LLD][RISCV] Error on PCREL_LO referencing other Section (PR #107558)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 23:06:04 PDT 2024
================
@@ -671,6 +671,15 @@ void RISCV::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const {
errorOrWarn(sec.getLocation(rel.offset) +
": R_RISCV_SET_ULEB128 not paired with R_RISCV_SUB_SET128");
return;
+ case R_RISCV_PC_INDIRECT:
----------------
MaskRay wrote:
Should this be moved to L828 beside `getRISCVPCRelHi20(&sym, a)`
https://github.com/llvm/llvm-project/pull/107558
More information about the llvm-commits
mailing list