summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-10-11 15:10:23 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-10-21 04:46:04 +0300
commitebdea88d57d5e67b8f6e6cf615300eedbc7200a9 (patch)
tree0d10af5c52e927ac6a0ab2789729ddaf7e3566c9 /cmd
parentfa00b6fc3f86c88bf7afe00253340f529eeacb6d (diff)
downloadu-boot-ebdea88d57d5e67b8f6e6cf615300eedbc7200a9.tar.xz
efi_loader: Fix loaded image alignment
We are ignoring the alignment communicated via the PE/COFF header. Starting 5.10 the Linux kernel will loudly complain about it. For more details look at [1] (in linux kernel). So add a function that can allocate aligned EFI memory and use it for our relocated loaded image. [1] c32ac11da3f83 ("efi/libstub: arm64: Double check image alignment at entry") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Tested-by: Vincent Stehlé <vincent.stehle@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions