diff options
author | Rui Ueyama <ruiu@google.com> | 2016-08-09 04:42:01 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-08-09 04:42:01 +0000 |
commit | e2696e79c939e5c3f56a824145b7b36830136b89 (patch) | |
tree | 5e2b698e58fb65be09bf2cb6b59e3670579b9cb0 /lld/ELF/Writer.h | |
parent | 9bcb480e3fad6ccfa859ad079d26ac848936c95b (diff) |
Remove isOutputDynamic and use Out<ELFT>::DynSymTab instead.
This patch is to not instantiate DynSymTab and DynStrTab if the
output is not a dynamic output.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 30472821f03..914db53e8e4 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(); template <class ELFT> void markLive(); -template <class ELFT> bool isOutputDynamic(); template <class ELFT> bool isRelroSection(OutputSectionBase<ELFT> *Sec); // This describes a program header entry. |