summaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-23 02:16:03 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-29 10:51:50 +0100
commit3ec07c99d8f2f711f801c31a1d7a20573d6f15bb (patch)
treea40b20440c6b8d7042658e5215be9288a02bcc63 /arch/arm/lib
parentc33d389c7ab5924fc7892edaf11798d644a2d824 (diff)
downloadu-boot-3ec07c99d8f2f711f801c31a1d7a20573d6f15bb.tar.gz
u-boot-3ec07c99d8f2f711f801c31a1d7a20573d6f15bb.tar.bz2
u-boot-3ec07c99d8f2f711f801c31a1d7a20573d6f15bb.zip
efi_loader: set IMAGE_FILE_LARGE_ADDRESS_AWARE
For the 64bit EFI binaries that we create set the IMAGE_FILE_LARGE_ADDRESS_AWARE characteristic in the PE-COFF header to indicate that they can handle addresses above 2 GiB. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/crt0_aarch64_efi.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/crt0_aarch64_efi.S b/arch/arm/lib/crt0_aarch64_efi.S
index 7f38465359..b4fc263adf 100644
--- a/arch/arm/lib/crt0_aarch64_efi.S
+++ b/arch/arm/lib/crt0_aarch64_efi.S
@@ -34,6 +34,7 @@ coff_header:
.short (IMAGE_FILE_EXECUTABLE_IMAGE | \
IMAGE_FILE_LINE_NUMS_STRIPPED | \
IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
+ IMAGE_FILE_LARGE_ADDRESS_AWARE | \
IMAGE_FILE_DEBUG_STRIPPED)
optional_header:
.short IMAGE_NT_OPTIONAL_HDR64_MAGIC /* PE32+ format */