Switch to ld.bfd as default ld for world stage.
authorzrj <rimvydas.jasinskas@gmail.com>
Sat, 31 Oct 2020 09:12:38 +0000 (09:12 +0000)
committerzrj <rimvydas.jasinskas@gmail.com>
Sat, 31 Oct 2020 15:26:54 +0000 (17:26 +0200)
commit7c19e7bb8e84ae5332f90d70af4cf3e3c871fa1d
tree8b66da626b137a8cf5884e274015224f00ec94c1
parent628f4db5d544bd30dbe41783d5a22fc6d1a49132
Switch to ld.bfd as default ld for world stage.

 Until boot/efi issues are resolved:
 * ld.gold not respecting linker script for section merges;
 * clang built boot1.efi and loader.efi failures.

 Default can be restored by setting WORLD_LDVER=ld.gold in make.conf(5).
 Final installed ld(1) will still default to ld.gold to not disturb
 things in DPorts.

 NOTE: this might produce different final binaries if building in tree,
 but it should not be fatal as we support both ld.bfd and ld.gold.
 Use "make LDVER=ld.bfd" to mimic buildworld behaviour when needed.
Makefile.inc1