summaryrefslogtreecommitdiff
path: root/lld/ELF/Writer.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-07-21 11:01:23 +0000
committerRui Ueyama <ruiu@google.com>2016-07-21 11:01:23 +0000
commitb7a89d03a3c695b275d92397be722dd16b1eea37 (patch)
tree177e5d30cd097da46cbd280db8736e63acc15c88 /lld/ELF/Writer.h
parenta169fa441766d70bb6e4fb3a7cb172e6a0e3af63 (diff)
Instantiate Interp output section only when needed.
This change simplifies interaction between Writer and the linker script because we can make needsInterpSection() a file-scope function.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r--lld/ELF/Writer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h
index 6ded7c64f27..1c451ec66c7 100644
--- a/lld/ELF/Writer.h
+++ b/lld/ELF/Writer.h
@@ -25,7 +25,6 @@ template <class ELFT> class ObjectFile;
template <class ELFT> class SymbolTable;
template <class ELFT> void writeResult(SymbolTable<ELFT> *Symtab);
template <class ELFT> void markLive();
-template <class ELFT> bool needsInterpSection();
template <class ELFT> bool isOutputDynamic();
template <class ELFT> bool isRelroSection(OutputSectionBase<ELFT> *Sec);
template <class ELFT> bool needsPtLoad(OutputSectionBase<ELFT> *Sec);