From edca29bf48b9867c40003f7cec5f1c9621156d06 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Thu, 29 Jun 2017 22:09:32 +0000 Subject: [PATCH] As with arm64 mark the EFI PE header as allocated on arm. This is needed for lld to link laoder.efi and boot1.efi. Reported by: emaste --- sys/boot/efi/loader/arch/arm/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/efi/loader/arch/arm/start.S b/sys/boot/efi/loader/arch/arm/start.S index 9bc0c9f0f08..5b6182d67d0 100644 --- a/sys/boot/efi/loader/arch/arm/start.S +++ b/sys/boot/efi/loader/arch/arm/start.S @@ -42,7 +42,7 @@ #define IMAGE_SCN_MEM_EXECUTE 0x20000000 #define IMAGE_SCN_MEM_READ 0x40000000 - .section .peheader + .section .peheader,"a" efi_start: /* The MS-DOS Stub, only used to get the offset of the COFF header */ .ascii "MZ" -- 2.45.0