UPSTREAM: arm64/efi: set PE/COFF file alignment to 512 bytes
Change our PE/COFF header to use the minimum file alignment of 512 bytes (0x200), as mandated by the PE/COFF spec v8.3 Also update the linker script so that the Image file itself is also a round multiple of FileAlignment. Acked-by:Catalin Marinas <catalin.marinas@arm.com> Acked-by:
Roy Franz <roy.franz@linaro.org> Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org> (cherry picked from commit a352ea3e197b3aa74deb51728b050cd4a0c6105a) Signed-off-by:
Tomasz Figa <tfiga@chromium.org> Bug: 24475017 Change-Id: Ia9ae614f5004a7bee2254e3813d5b24d95bcff99 Signed-off-by:
Kees Cook <keescook@google.com>
Loading
Please register or sign in to comment