[ELF] - Allow discarding .dynsym from the linker script.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 10 Dec 2018 09:13:36 +0000 (09:13 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 10 Dec 2018 09:13:36 +0000 (09:13 +0000)
commitad667661c48c06807a87851d4b7360d97eb79b16
tree936d40c1e2c01726a83de1138bd4c15c46bae5db
parent2eb1f5432face477de5319a62f90961ca9143235
[ELF] - Allow discarding .dynsym from the linker script.

This is a part of https://bugs.llvm.org/show_bug.cgi?id=39810.
The patch allows discarding the .dynsym section using linker script.

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

llvm-svn: 348748
lld/ELF/LinkerScript.cpp
lld/ELF/SyntheticSections.cpp
lld/test/ELF/linkerscript/discard-section-err.s