aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/efi/loader/arch/i386/ldscript.i386
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-09-23 13:18:59 +0000
committerEd Maste <emaste@FreeBSD.org>2016-09-23 13:18:59 +0000
commit68f6e19eed76138c4c950482c64f662f36b1273a (patch)
treeaf5cd833abb82ade865102065123a83a6d8d4088 /sys/boot/efi/loader/arch/i386/ldscript.i386
parent0dbb8873c8b33c252b19eaf21b79d4e58cbfb87f (diff)
downloadsrc-68f6e19eed76138c4c950482c64f662f36b1273a.tar.gz
src-68f6e19eed76138c4c950482c64f662f36b1273a.zip
Use 32-bit value for .text padding, for linker portability
GNU ld interprets the padding value as a variable-length byte string, while GNU gold and LLVM lld interpret it as a 32-bit value.
Notes
Notes: svn path=/head/; revision=306264
Diffstat (limited to 'sys/boot/efi/loader/arch/i386/ldscript.i386')
-rw-r--r--sys/boot/efi/loader/arch/i386/ldscript.i3862
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/loader/arch/i386/ldscript.i386 b/sys/boot/efi/loader/arch/i386/ldscript.i386
index 0201269158a0..4b28c104a3fe 100644
--- a/sys/boot/efi/loader/arch/i386/ldscript.i386
+++ b/sys/boot/efi/loader/arch/i386/ldscript.i386
@@ -14,7 +14,7 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.plt)
- } =0xCC
+ } =0xCCCCCCCC
. = ALIGN(4096);
.data : {
*(.rodata .rodata.* .gnu.linkonce.r.*)