diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-12-23 02:16:03 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-12-29 10:51:50 +0100 |
commit | 3ec07c99d8f2f711f801c31a1d7a20573d6f15bb (patch) | |
tree | a40b20440c6b8d7042658e5215be9288a02bcc63 /arch/arm/lib | |
parent | c33d389c7ab5924fc7892edaf11798d644a2d824 (diff) | |
download | u-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.S | 1 |
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 */ |