[PATCH] D24127: [ELF] - Linkerscript: create multiple output sections for inputs with different attributes.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 04:43:27 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: davide, evgeny777, llvm-commits, grimar.

Previously we to 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.

https://reviews.llvm.org/D24127

Files:
  ELF/LinkerScript.cpp
  test/ELF/linkerscript/linkerscript-merge-sections.s
  test/ELF/linkerscript/linkerscript-phdrs.s
  test/ELF/linkerscript/linkerscript-repsection-va.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24127.69987.patch
Type: text/x-patch
Size: 5628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160901/44cfcd45/attachment.bin>


More information about the llvm-commits mailing list