summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/LinkerScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index f924d8cb054..231e4f024b8 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -366,7 +366,7 @@ template <class ELFT> void assignOffsets(OutputSectionBase<ELFT> *Sec) {
I->OutSecOff = Off;
Off += I->getSize();
}
- // Update section size inside for-loop, so that SIZEOF
+ // Update section size inside for-loop, so that SIZEOF
// works correctly in the case below:
// .foo { *(.aaa) a = SIZEOF(.foo); *(.bbb) }
Sec->setSize(Off);
OpenPOWER on IntegriCloud