Allow adding start/end symbols to any section
authorEugene Leviant <evgeny.leviant@gmail.com>
Wed, 31 Aug 2016 08:13:33 +0000 (08:13 +0000)
committerEugene Leviant <evgeny.leviant@gmail.com>
Wed, 31 Aug 2016 08:13:33 +0000 (08:13 +0000)
commit20889c51b7633419ed2162b247acb9f6ce532b07
treed8c86708f0f17ea061fa8da9e4007b07527cf2ce
parent1e3b086749d4af4cdc44482d2b6da86ac40040db
Allow adding start/end symbols to any section

Allows adding start and/or end symbols to special output sections,
like .eh_frame_hdr, which aren't lists of regular input sections.

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

llvm-svn: 280205
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/linkerscript-symbols-synthetic.s