Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 13:31:24 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315452 - head/sys/boot/efi/loader/arch/arm64
Message-ID:  <201703171331.v2HDVO4k046460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703171331.v2HDVO4k046460>