diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:13:44 +0000 |
commit | fbe69f787ace06f44b6cb1bd3cd45ac703a16a05 (patch) | |
tree | 71baf2dfe04008283f87b4c0ae75a2268033cd62 /ELF/LinkerScript.h | |
parent | d803cda42997f42649910309ac18170d2d6f2214 (diff) | |
download | src-fbe69f787ace06f44b6cb1bd3cd45ac703a16a05.tar.gz src-fbe69f787ace06f44b6cb1bd3cd45ac703a16a05.zip |
Vendor import of lld trunk r302418:vendor/lld/lld-trunk-r302418
Notes
Notes:
svn path=/vendor/lld/dist/; revision=317957
svn path=/vendor/lld/lld-trunk-r302418/; revision=317958; tag=vendor/lld/lld-trunk-r302418
Diffstat (limited to 'ELF/LinkerScript.h')
-rw-r--r-- | ELF/LinkerScript.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ELF/LinkerScript.h b/ELF/LinkerScript.h index dd96d335a660..7bcd21c87602 100644 --- a/ELF/LinkerScript.h +++ b/ELF/LinkerScript.h @@ -228,6 +228,7 @@ protected: MemoryRegion *findMemoryRegion(OutputSectionCommand *Cmd); void switchTo(OutputSection *Sec); + uint64_t advance(uint64_t Size, unsigned Align); void output(InputSection *Sec); void process(BaseCommand &Base); @@ -252,7 +253,7 @@ public: bool isDefined(StringRef S); std::vector<OutputSection *> *OutputSections; - void fabricateDefaultCommands(bool AllocateHeader); + void fabricateDefaultCommands(); void addOrphanSections(OutputSectionFactory &Factory); void removeEmptyCommands(); void adjustSectionsBeforeSorting(); @@ -269,9 +270,8 @@ public: void processNonSectionCommands(); void synchronize(); void assignAddresses(std::vector<PhdrEntry> &Phdrs); - int getSectionIndex(StringRef Name); - void writeDataBytes(StringRef Name, uint8_t *Buf); + void writeDataBytes(OutputSection *Sec, uint8_t *Buf); void addSymbol(SymbolAssignment *Cmd); void processCommands(OutputSectionFactory &Factory); |