[LLD][ELF] - Support discarding .dynstr section.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 10 Dec 2018 09:07:30 +0000 (09:07 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 10 Dec 2018 09:07:30 +0000 (09:07 +0000)
commit4af28e46ca8db0a0abc76a613871972597e48e5c
tree84a7a5b9d4b6f5d8f4cebb894f5d0dd4303e601b
parent50bd2ec19818fd41feb310467b660a4e52db6dd6
[LLD][ELF] - Support discarding .dynstr section.

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

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

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