commit | 7b298a526c1b9a7b9fbdd241993343025501e1e0 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Dec 31 11:58:54 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Jan 04 13:17:42 2023 +0100 |
tree | 8bb269a7c2447e321e560f0e8660135fb0e419df | |
parent | 04296bf61e367bca43f5161f4b7b7db226bac7a8 [diff] |
efi_loader: fix building aarch64 EFI binaries While our EFI binaries execute without problems on EDK II they crash on a Lenovo X13s. Let our binaries look more like what EDK II produces: * move all writable data to a .data section * align sections to 4 KiB boundaries (matching EFI page size) * remove IMAGE_SCN_LNK_NRELOC_OVFL from .reloc section flags Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>