svn commit: r320482 - head/sys/boot/efi/loader/arch/arm

Andrew Turner andrew at FreeBSD.org
Thu Jun 29 22:09:34 UTC 2017


Author: andrew
Date: Thu Jun 29 22:09:32 2017
New Revision: 320482
URL: https://svnweb.freebsd.org/changeset/base/320482

Log:
  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

Modified:
  head/sys/boot/efi/loader/arch/arm/start.S

Modified: head/sys/boot/efi/loader/arch/arm/start.S
==============================================================================
--- head/sys/boot/efi/loader/arch/arm/start.S	Thu Jun 29 21:31:13 2017	(r320481)
+++ head/sys/boot/efi/loader/arch/arm/start.S	Thu Jun 29 22:09:32 2017	(r320482)
@@ -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"


More information about the svn-src-head mailing list