diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 24ab052c915e..73afa3e82a73 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -227,10 +227,7 @@ template bool ObjFile::shouldMerge(const Elf_Shdr &Sec) { // Do not merge sections if generating a relocatable object. It makes // the code simpler because we do not need to update relocation addends - // to reflect changes introduced by merging. Instead of that we write - // such "merge" sections into separate OutputSections and keep SHF_MERGE - // / SHF_STRINGS flags and sh_entsize value to be able to perform merging - // later during a final linking. + // to reflect changes introduced by merging. if (Config->Relocatable) return false;