x86/efi: Drop alignment flags from PE section headers
authorArd Biesheuvel <ardb@kernel.org>
Tue, 12 Sep 2023 09:00:54 +0000 (09:00 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Sep 2023 09:18:41 +0000 (11:18 +0200)
commitbfab35f552ab3dd6d017165bf9de1d1d20f198cc
treedd39d31267c4b75d8057ff7ff65c2d0c2e4104b3
parent7e50262229faad0c7b8c54477cd1c883f31cc4a7
x86/efi: Drop alignment flags from PE section headers

The section header flags for alignment are documented in the PE/COFF
spec as being applicable to PE object files only, not to PE executables
such as the Linux bzImage, so let's drop them from the PE header.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230912090051.4014114-20-ardb@google.com
arch/x86/boot/header.S