arm64/efi: set PE/COFF file alignment to 512 bytes
commita352ea3e197b3aa74deb51728b050cd4a0c6105a
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 10 Oct 2014 16:42:55 +0000 (10 18:42 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Nov 2014 08:03:09 +0000 (5 09:03 +0100)
tree6515e8871f2366e95bc76dc7cc18f6cf3d044fd1
parentea6bc80d1819f307d98c6562c8ebb2c6c1297d47
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>
arch/arm64/kernel/head.S
arch/arm64/kernel/vmlinux.lds.S