[lld] [llvm] [ELF] Rename IsRela to HasAddend (PR #96592)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 20:09:35 PDT 2024
================
@@ -492,7 +492,7 @@ int64_t RelocationScanner::computeMipsAddend(const RelTy &rel, RelExpr expr,
// The ABI says that the paired relocation is used only for REL.
// See p. 4-17 at ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf
- if (RelTy::IsRela)
+ if (RelTy::HasAddend)
----------------
MaskRay wrote:
Thx. Added. (I think MIPS will die before anyone implements CREL for it...)
https://github.com/llvm/llvm-project/pull/96592
More information about the llvm-commits
mailing list