]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/efi: set PE/COFF file alignment to 512 bytes
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 10 Oct 2014 16:42:55 +0000 (18:42 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Nov 2014 08:03:09 +0000 (09:03 +0100)
commit5fa9783420fff261786843997d83dbc8dcd41908
tree6515e8871f2366e95bc76dc7cc18f6cf3d044fd1
parent85e7c0bfe68d2eb775e1acf4e744ddfd00b57ae0
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