[ELF] - Linkerscript: create multiple output sections for inputs with different attri...
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 7 Sep 2016 10:46:07 +0000 (10:46 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 7 Sep 2016 10:46:07 +0000 (10:46 +0000)
commita14b13d86767703cfd0b9cce3ca5edd157ad28fd
tree8a93d20849125398a938c15f934ed0d8fcc8c1b1
parentaf17c7959e1403a5d4ca0132ed81284ab69aa777
[ELF] - Linkerscript: create multiple output sections for inputs with different attributes.

Previously we combined sections by name if linkerscript was used.
For that we had to disable SHF_MERGE handling temporarily, but then
found that implementing it properly will require additional complexity layers like
subsections or something.
At the same time looks we can live with multiple output sections approach for now.
That patch do this change.

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

llvm-svn: 280801
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/merge-sections.s [deleted file]
lld/test/ELF/linkerscript/phdrs.s
lld/test/ELF/linkerscript/repsection-va.s