[lld] r250206 - [ELF2] Fixup comment about section sorting requirements
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 11:55:02 PDT 2015
Author: hfinkel
Date: Tue Oct 13 13:55:01 2015
New Revision: 250206
URL: http://llvm.org/viewvc/llvm-project?rev=250206&view=rev
Log:
[ELF2] Fixup comment about section sorting requirements
As Rafael pointed out in his review of r250100, the NOBITS check is no longer
the last requirement.
Modified:
lld/trunk/ELF/Writer.cpp
Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=250206&r1=250205&r2=250206&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Tue Oct 13 13:55:01 2015
@@ -322,7 +322,7 @@ static bool compareOutputSections(Output
return BIsExec;
// If we got here we know that both A and B are in the same PT_LOAD.
- // The last requirement we have is to put nobits section last. The
+ // The next requirement we have is to put nobits sections last. The
// reason is that the only thing the dynamic linker will see about
// them is a p_memsz that is larger than p_filesz. Seeing that it
// zeros the end of the PT_LOAD, so that has to correspond to the
More information about the llvm-commits
mailing list