diff options
author | Ard Biesheuvel <[email protected]> | 2020-04-13 17:55:18 +0200 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-04-28 17:36:52 +0100 |
commit | 76085aff29f585139a37a10ea0a7daa63f70872c (patch) | |
tree | 1e58cb403639d509472b0b3865c49b35b5c63e33 /scripts/gdb/linux/modules.py | |
parent | f4be140fa33f9c9ba36374a52e1c317f0ba17089 (diff) |
efi/libstub/arm64: align PE/COFF sections to segment alignment
The arm64 kernel's segment alignment is fixed at 64 KB for any page
size, and relocatable kernels are able to fix up any misalignment of
the kernel image with respect to the 2 MB section alignment that is
mandated by the arm64 boot protocol.
Let's increase the PE/COFF section alignment to the same value, so that
kernels loaded by the UEFI PE/COFF loader are guaranteed to end up at
an address that doesn't require any reallocation to be done if the
kernel is relocatable.
Signed-off-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions