diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index ff7ef2dce5c79..d5d3823e2d46c 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -1398,7 +1398,7 @@ template void EhInputSection::split() { } // Find the first relocation that points to [off,off+size). Relocations - // have been sorted by r_offset. + // have been sorted by offset. const uint64_t off = d.data() - content().data(); while (relI != rels.size() && rels[relI].offset < off) ++relI;