Skip to content

Commit 439939e

Browse files
committed
Mark TPREL_ADD as needing R_RISCV_RELAX
1 parent fcc304e commit 439939e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ static bool fixupGetsRelaxRelocation(const MCFixupKind Kind) {
820820
case ELF::R_RISCV_TPREL_LO12_I:
821821
case ELF::R_RISCV_TPREL_LO12_S:
822822
case ELF::R_RISCV_TPREL_HI20:
823+
case ELF::R_RISCV_TPREL_ADD:
823824
return true;
824825
}
825826
return false;

0 commit comments

Comments
 (0)