[ELF] Heuristic for placing orphan section
authorEugene Leviant <evgeny.leviant@gmail.com>
Tue, 8 Nov 2016 10:44:48 +0000 (10:44 +0000)
committerEugene Leviant <evgeny.leviant@gmail.com>
Tue, 8 Nov 2016 10:44:48 +0000 (10:44 +0000)
commitbae1c656bb33de759d3ea70d8089a25e7cc33ff8
tree37170f922317d7c45f2330aacb0749c5a2b63677
parent9e83e22ddfa4f02b367e23d15d1b856196497145
[ELF] Heuristic for placing orphan section

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

llvm-svn: 286225
lld/ELF/Writer.cpp
lld/test/ELF/linkerscript/orphan.s [new file with mode: 0644]
lld/test/ELF/linkerscript/sections-constraint.s