git: sys/boot: Unbreak efi build with WORLD_LDVER=ld.bfd.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Thu Feb 13 22:31:11 PST 2020
commit ec7e03972acbc8bdc46966d3eaff91d62588039e
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Thu Feb 13 13:59:17 2020 +0200
sys/boot: Unbreak efi build with WORLD_LDVER=ld.bfd.
Adjust 64-bit libstand.a location to use full path if available as it is
done for 32-bit loaders already.
The ld.bfd when invoked with -ffreestanding will not look for /usr/lib.
Match ldscript.x86_64 to sys/platform/pc64/conf/ldscript.x86_64.
Our ld.bfd does not support freebsd emulation target. Generic target is
enough to convert boot1.sym and loader.sym intermediates to PE32+.
While there, use something sane for section padding in ldscript.x86_64.
Summary of changes:
sys/boot/efi/boot1/Makefile | 6 +++++-
sys/boot/efi/loader/arch/x86_64/ldscript.x86_64 | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec7e03972acbc8bdc46966d3eaff91d62588039e
--
DragonFly BSD source repository
More information about the Commits
mailing list