[lld] r316878 - Remove an obscure comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 29 15:38:00 PDT 2017


Author: ruiu
Date: Sun Oct 29 15:38:00 2017
New Revision: 316878

URL: http://llvm.org/viewvc/llvm-project?rev=316878&view=rev
Log:
Remove an obscure comment.

Modified:
    lld/trunk/ELF/InputFiles.cpp

Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=316878&r1=316877&r2=316878&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Sun Oct 29 15:38:00 2017
@@ -227,10 +227,7 @@ template <class ELFT> bool ObjFile<ELFT>
 
   // 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;
 




More information about the llvm-commits mailing list