diff options
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 3f68e6eff87..71c8ff2497c 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -481,7 +481,6 @@ void LinkerScript::processSectionCommands() { if (Sec->Name == "/DISCARD/") { discard(V); Sec->SectionCommands.clear(); - Sec->SectionIndex = 0; // Not an orphan. continue; } |

