[PowerPC] Switch powerpc and powerpcspe to lld
Now that LLD 10 is out, and required patches have landed, we are now ready to finally switch away from the ancient in-tree ld.bfd. Special thanks to Fangrui Song for many hours of work on getting the 32-bit powerpc lld ready for prime-time. Reviewed by: emaste (earlier revision), jhibbits Relnotes: yes Differential Revision: https://reviews.freebsd.org/D24111
This commit is contained in:
@@ -17,12 +17,6 @@ SUBDIR.${MK_BINUTILS}+= objdump
|
||||
SUBDIR.${MK_BINUTILS}+= as
|
||||
.endif
|
||||
|
||||
# All archs except powerpc either use lld or require external toolchain.
|
||||
# powerpc still needs binutils ld to link 32-bit binaries.
|
||||
.if ${TARGET} == "powerpc"
|
||||
SUBDIR.${MK_BINUTILS}+=ld
|
||||
.endif
|
||||
|
||||
SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h
|
||||
SUBDIR_DEPEND_as=libbfd libiberty libopcodes
|
||||
SUBDIR_DEPEND_ld=libbfd libiberty
|
||||
|
||||
Reference in New Issue
Block a user