[PATCH] D24795: [ELF] Linkerscript: Try to put section to the last PT_LOAD, in case there is no exact segment specification
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 05:41:37 PDT 2016
evgeny777 created this revision.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
Some scripts may look like this:
```
PHDRS { all PT_LOAD; }
SECTIONS {
.aaa : { *(.aaa) } : all;
.bbb : { *(.bbb) }
}
```
This patch will try to put section .bbb to segment 'all'
Repository:
rL LLVM
https://reviews.llvm.org/D24795
Files:
ELF/LinkerScript.cpp
test/ELF/linkerscript/phdrs-flags.s
test/ELF/linkerscript/phdrs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24795.72030.patch
Type: text/x-patch
Size: 4676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160921/aec756aa/attachment.bin>
More information about the llvm-commits
mailing list