[ELF] - Combine LinkerScriptBase and LinkerScript<ELFT>
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 20 Mar 2017 10:09:58 +0000 (10:09 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 20 Mar 2017 10:09:58 +0000 (10:09 +0000)
commita8dba487620a5984be1484a09e4d1b92019947d9
treeaf96dfc73faa4f09f350845cedde4a29b1695bca
parent009833d377246f1e1f193d4f9a49da9d3a4ee676
[ELF] - Combine LinkerScriptBase and LinkerScript<ELFT>

Patch removes templated linkerscript class.

Unfortunately that required 2 additional static methods
findSymbol() and addRegularSymbol() because code
depends on Symtab<ELFT>::X

Differential revision: https://reviews.llvm.org/D30982

llvm-svn: 298241
lld/ELF/Driver.cpp
lld/ELF/LinkerScript.cpp
lld/ELF/LinkerScript.h
lld/ELF/MarkLive.cpp
lld/ELF/OutputSections.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/Writer.cpp