[PATCH] D70962: [LLD][ELF] .note.gnu.property sections should have wordsize alignment

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 10:24:14 PST 2019


peter.smith updated this revision to Diff 231942.
peter.smith retitled this revision from "[LLD][ELF][AArch64] .note.gnu.property sections should have alignment 8" to "[LLD][ELF] .note.gnu.property sections should have wordsize alignment".
peter.smith edited the summary of this revision.
peter.smith added a comment.

Thanks both for the comments. Updated to use config->wordsize, converted test to x86_64 and added 32-bit x86 test for the alignment 4 case.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70962/new/

https://reviews.llvm.org/D70962

Files:
  lld/ELF/SyntheticSections.cpp
  lld/test/ELF/gnu-property-align-32.s
  lld/test/ELF/gnu-property-align.s
  lld/test/ELF/pt-gnu-property.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70962.231942.patch
Type: text/x-patch
Size: 3761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191203/247e4096/attachment.bin>


More information about the llvm-commits mailing list