From 6215ed7c5c0e8cdd536123ec658a081748cfc85c Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Thu, 10 Sep 2020 14:13:49 +0000 Subject: [PATCH] Ignore the .interp section in the arm64 EFI loader When building the loader an unneeded .interp section may be added. Move this to the unused section region so offsets of used sections don't change. Obtained from: CheriBSD Sponsored by: Innovate UK --- stand/efi/loader/arch/arm64/ldscript.arm64 | 1 + 1 file changed, 1 insertion(+) diff --git a/stand/efi/loader/arch/arm64/ldscript.arm64 b/stand/efi/loader/arch/arm64/ldscript.arm64 index 685c0967840d..d0ed320a319c 100644 --- a/stand/efi/loader/arch/arm64/ldscript.arm64 +++ b/stand/efi/loader/arch/arm64/ldscript.arm64 @@ -80,6 +80,7 @@ SECTIONS _edata = .; /* Unused sections */ + .interp : { *(.interp) } .dynstr : { *(.dynstr) } .hash : { *(.hash) } }