Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2017 22:09:33 +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: r320482 - head/sys/boot/efi/loader/arch/arm
Message-ID:  <201706292209.v5TM9XHe032096@repo.freebsd.org>

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



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