[ELF] - Fix the comment. NFC.

llvm-svn: 329062
This commit is contained in:
George Rimar 2018-04-03 12:28:53 +00:00
parent bc1d58a6b1
commit 8fcd04b786
1 changed files with 2 additions and 3 deletions

View File

@ -1985,9 +1985,8 @@ template <class ELFT> void Writer<ELFT>::assignFileOffsets() {
// not do that. Unfortunately, there are apps in the wild, for example, Linux
// kernel, which control segment distribution explicitly and move the counter
// backwards, so we have to allow doing that to support linking them. We
// perform non-critical checks for overlaps in checkNoOverlappingSections(),
// but here we want to prevent file size overflows because it would crash the
// linker.
// perform non-critical checks for overlaps in checkSectionOverlap(), but here
// we want to prevent file size overflows because it would crash the linker.
for (OutputSection *Sec : OutputSections) {
if (Sec->Type == SHT_NOBITS)
continue;