From: Ard Biesheuvel Date: Fri, 10 Oct 2014 09:25:24 +0000 (+0200) Subject: arm64/efi: set PE/COFF section alignment to 4 KB X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~18^2~60^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6bc80d1819f307d98c6562c8ebb2c6c1297d47;p=pandora-kernel.git arm64/efi: set PE/COFF section alignment to 4 KB Position independent AArch64 code needs to be linked and loaded at the same relative offset from a 4 KB boundary, or adrp/add and adrp/ldr pairs will not work correctly. (This is how PC relative symbol references with a 4 GB reach are emitted) We need to declare this in the PE/COFF header, otherwise the PE/COFF loader may load the Image and invoke the stub at an offset which violates this rule. Reviewed-by: Roy Franz Acked-by: Mark Rutland Signed-off-by: Ard Biesheuvel --- Reading git-diff-tree failed