[PATCH] D111717: [ELF] Avoid adding orphan sections to a less fit segment
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 18 06:24:46 PDT 2021
ikudrin updated this revision to Diff 380358.
ikudrin added a comment.
- Added `CHECK-NEXT` checks
- Added checks for read-only orphan sections
In D111717#3067381 <https://reviews.llvm.org/D111717#3067381>, @MaskRay wrote:
> Am I right that this makes our behavior closer to ld.bfd? If yes, this looks quite nice.
I hope so.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111717/new/
https://reviews.llvm.org/D111717
Files:
lld/ELF/Writer.cpp
lld/test/ELF/aarch64-thunk-pi.s
lld/test/ELF/linkerscript/implicit-program-header.test
lld/test/ELF/linkerscript/orphan-phdrs2.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111717.380358.patch
Type: text/x-patch
Size: 6504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/eb685cd6/attachment.bin>
More information about the llvm-commits
mailing list