diff options
Diffstat (limited to 'lld/ELF/LinkerScript.h')
-rw-r--r-- | lld/ELF/LinkerScript.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index efa473f45e30..0592c52acb84 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -227,7 +227,7 @@ struct ByteCommand : BaseCommand { }; struct InsertCommand { - OutputSection *os; + std::vector<StringRef> names; bool isAfter; StringRef where; }; @@ -343,6 +343,9 @@ public: // to be reordered. std::vector<InsertCommand> insertCommands; + // OutputSections specified by OVERWRITE_SECTIONS. + std::vector<OutputSection *> overwriteSections; + // Sections that will be warned/errored by --orphan-handling. std::vector<const InputSectionBase *> orphanSections; }; |