From 63edd9f831172a00d46b75f6355349bdbe1a776c Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 29 Oct 2017 22:38:00 +0000 Subject: [PATCH] Remove an obscure comment. llvm-svn: 316878 --- lld/ELF/InputFiles.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;