svn commit: r310825 - in stable/11/sys/boot/efi/loader/arch: amd64 arm64 i386
Ed Maste
emaste at FreeBSD.org
Fri Dec 30 16:19:21 UTC 2016
Author: emaste
Date: Fri Dec 30 16:19:19 2016
New Revision: 310825
URL: https://svnweb.freebsd.org/changeset/base/310825
Log:
MFC r305854: Use arch-specific .text padding fill value in EFI loaders
The fill pattern was previously an ia64 instruction sequence. Presumably
ia64's linker script was copied as a starting point.
Modified:
stable/11/sys/boot/efi/loader/arch/amd64/ldscript.amd64
stable/11/sys/boot/efi/loader/arch/arm64/ldscript.arm64
stable/11/sys/boot/efi/loader/arch/i386/ldscript.i386
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/boot/efi/loader/arch/amd64/ldscript.amd64
==============================================================================
--- stable/11/sys/boot/efi/loader/arch/amd64/ldscript.amd64 Fri Dec 30 16:06:05 2016 (r310824)
+++ stable/11/sys/boot/efi/loader/arch/amd64/ldscript.amd64 Fri Dec 30 16:19:19 2016 (r310825)
@@ -19,7 +19,7 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.plt)
- } =0x00300000010070000002000001000400
+ } =0xCC
. = ALIGN(4096);
.data : {
*(.rodata .rodata.* .gnu.linkonce.r.*)
Modified: stable/11/sys/boot/efi/loader/arch/arm64/ldscript.arm64
==============================================================================
--- stable/11/sys/boot/efi/loader/arch/arm64/ldscript.arm64 Fri Dec 30 16:06:05 2016 (r310824)
+++ stable/11/sys/boot/efi/loader/arch/arm64/ldscript.arm64 Fri Dec 30 16:19:19 2016 (r310825)
@@ -15,7 +15,7 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.plt)
- } =0x00300000010070000002000001000400
+ } =0xD4200000
. = ALIGN(16);
.data : {
*(.rodata .rodata.* .gnu.linkonce.r.*)
Modified: stable/11/sys/boot/efi/loader/arch/i386/ldscript.i386
==============================================================================
--- stable/11/sys/boot/efi/loader/arch/i386/ldscript.i386 Fri Dec 30 16:06:05 2016 (r310824)
+++ stable/11/sys/boot/efi/loader/arch/i386/ldscript.i386 Fri Dec 30 16:19:19 2016 (r310825)
@@ -14,7 +14,7 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.plt)
- } =0x00300000010070000002000001000400
+ } =0xCC
. = ALIGN(4096);
.data : {
*(.rodata .rodata.* .gnu.linkonce.r.*)
More information about the svn-src-all
mailing list