svn commit: r315452 - head/sys/boot/efi/loader/arch/arm64
Andrew Turner
andrew at FreeBSD.org
Fri Mar 17 13:31:25 UTC 2017
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"
More information about the svn-src-head
mailing list