diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-04-05 05:07:39 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-04-05 05:07:39 +0000 |
| commit | 2ec34544aa6e5f8faaef396744040d09ebe9e6a2 (patch) | |
| tree | 0239d6358c4686e16dd90ed163c27be8b16e9c7d /lld/ELF/LinkerScript.h | |
| parent | fd9dafdc65bc625f7e1d7a39807a6828213e10ef (diff) | |
| download | bcm5719-llvm-2ec34544aa6e5f8faaef396744040d09ebe9e6a2.tar.gz bcm5719-llvm-2ec34544aa6e5f8faaef396744040d09ebe9e6a2.zip | |
Move the parser for the linker script to a separate file.
LinkerScript.cpp contains both the linker script processor and the
linker script parser. I put both into a single file, but the file grown
too large, so it's time to put them into two different files.
llvm-svn: 299515
Diffstat (limited to 'lld/ELF/LinkerScript.h')
| -rw-r--r-- | lld/ELF/LinkerScript.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index addd004ba0c..83dd42220b8 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -57,15 +57,6 @@ struct ExprValue { // Later, we evaluate the expression by calling the function. typedef std::function<ExprValue()> Expr; -// Parses a linker script. Calling this function updates -// Config and ScriptConfig. -void readLinkerScript(MemoryBufferRef MB); - -// Parses a version script. -void readVersionScript(MemoryBufferRef MB); - -void readDynamicList(MemoryBufferRef MB); - // This enum is used to implement linker script SECTIONS command. // https://sourceware.org/binutils/docs/ld/SECTIONS.html#SECTIONS enum SectionsCommandKind { |

