summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/LinkerScript.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 817c6c69ace..19ac7236153 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -710,8 +710,6 @@ void LinkerScript::output(InputSection *S) {
}
void LinkerScript::switchTo(OutputSection *Sec) {
- if (Ctx->OutSec == Sec)
- return;
Ctx->OutSec = Sec;
uint64_t Before = advance(0, 1);
OpenPOWER on IntegriCloud