[X32][CET] Fix size and alignment of .note.gnu.property section
authorHarald van Dijk <harald@gigawatt.nl>
Sat, 1 May 2021 21:17:04 +0000 (22:17 +0100)
committerHarald van Dijk <harald@gigawatt.nl>
Sat, 1 May 2021 21:17:04 +0000 (22:17 +0100)
commitf30500632b299a8f8f8a53f06efb1038eb7fa48d
tree7ebbb5cd6bf3a04093829392a58594cdef4443b9
parentdb9d00c5e7b02b5fe77cb8f3c7c40405c5f1222a
[X32][CET] Fix size and alignment of .note.gnu.property section

X32 uses 32-bit ELF object files with 32-bit alignment, so the
.note.gnu.property section needs to be emitted as it is for X86.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D101689
llvm/lib/Target/X86/X86AsmPrinter.cpp
llvm/test/CodeGen/X86/note-cet-property.ll