Author: andrew Date: Fri Mar 17 13:31:24 2017 New Revision: 315452 URL: https://svnweb.freebsd.org/changeset/base/315452
Log: Mark the EFI PE header as allocated. While ld.bfd doesn't seem to care about not having this flag ld.lld fails to link without it. Sponsored by: DARPA, AFRL Modified: head/sys/boot/efi/loader/arch/arm64/start.S Modified: head/sys/boot/efi/loader/arch/arm64/start.S ============================================================================== --- head/sys/boot/efi/loader/arch/arm64/start.S Fri Mar 17 12:59:16 2017 (r315451) +++ head/sys/boot/efi/loader/arch/arm64/start.S Fri Mar 17 13:31:24 2017 (r315452) @@ -40,7 +40,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" _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"