[PATCH] D24230: [ELF] Linkerscript: Fix handling of empty sections
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 08:30:19 PDT 2016
evgeny777 updated this revision to Diff 71829.
evgeny777 added a comment.
Diff updated. This one uses a different approach: for all empty sections it virtual output section with type SHT_NULL and SHF_EXCLUDE flag and adds it to OutputSections array. It is slightly more complex than previous ones, but after Rafael added section array "rotation" it looks to be the only way possible.
https://reviews.llvm.org/D24230
Files:
ELF/LinkerScript.cpp
ELF/Writer.cpp
test/ELF/linkerscript/symbols-synthetic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24230.71829.patch
Type: text/x-patch
Size: 6193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160919/740f7b39/attachment.bin>
More information about the llvm-commits
mailing list