diff options
author | Ed Maste <emaste@FreeBSD.org> | 2016-09-23 13:18:59 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2016-09-23 13:18:59 +0000 |
commit | 68f6e19eed76138c4c950482c64f662f36b1273a (patch) | |
tree | af5cd833abb82ade865102065123a83a6d8d4088 /sys/boot/efi/loader/arch/i386/ldscript.i386 | |
parent | 0dbb8873c8b33c252b19eaf21b79d4e58cbfb87f (diff) | |
download | src-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.i386 | 2 |
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.*) |