[lld] [ELF] Support relocatable files using CREL (PR #98115)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 07:26:46 PDT 2024
================
@@ -324,6 +324,8 @@ bool ICF<ELFT>::equalsConstant(const InputSection *a, const InputSection *b) {
const RelsOrRelas<ELFT> ra = a->template relsOrRelas<ELFT>();
const RelsOrRelas<ELFT> rb = b->template relsOrRelas<ELFT>();
+ if (ra.areRelocsCrel())
----------------
arichardson wrote:
Should this also have `|| rb.areRelocsCrel()` like the rel case below?
https://github.com/llvm/llvm-project/pull/98115
More information about the llvm-commits
mailing list