[PATCH] D72344: [LLD][ELF][ARM][AArch64] Only round up ThunkSection Size when large OS.
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 09:55:13 PST 2020
peter.smith updated this revision to Diff 238012.
peter.smith marked an inline comment as done.
peter.smith edited the summary of this revision.
peter.smith added a comment.
Updated the fix, and description after testing on a real linux kernel allyesconfig build. The description contains the full details, which should also be present in the comment. In summary we round up the size of a thunk section to nearest 4KiB when:
- The erratum fix is being used.
- The thunk section may be placed before the end of Output Section so there may be code after it.
- The InputSectionDescription is larger than 4KiB.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72344/new/
https://reviews.llvm.org/D72344
Files:
lld/ELF/Relocations.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/test/ELF/aarch64-cortex-a53-843419-thunk-align.s
lld/test/ELF/aarch64-cortex-a53-843419-thunk.s
lld/test/ELF/arm-fix-cortex-a8-thunk-align.s
lld/test/ELF/arm-fix-cortex-a8-thunk.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72344.238012.patch
Type: text/x-patch
Size: 11041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200114/02273628/attachment.bin>
More information about the llvm-commits
mailing list