aboutsummaryrefslogtreecommitdiff
path: root/stand/defs.mk
diff options
context:
space:
mode:
authorBrandon Bergren <bdragon@FreeBSD.org>2020-03-27 01:00:03 +0000
committerBrandon Bergren <bdragon@FreeBSD.org>2020-03-27 01:00:03 +0000
commita04ec978b369e3a2651b050fff8b11aaf0a9dcd7 (patch)
treeba568af3fd9f4f37191df503e7d4ca9d321e49c5 /stand/defs.mk
parent3ee58df503b601febeef11f23c4a7e2adf425b96 (diff)
downloadsrc-a04ec978b369e3a2651b050fff8b11aaf0a9dcd7.tar.gz
src-a04ec978b369e3a2651b050fff8b11aaf0a9dcd7.zip
[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
Notes
Notes: svn path=/head/; revision=359347
Diffstat (limited to 'stand/defs.mk')
-rw-r--r--stand/defs.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/stand/defs.mk b/stand/defs.mk
index 06be83553a6c..8d41c5f6f1b2 100644
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -100,10 +100,6 @@ CFLAGS+= -DLOADER_DISK_SUPPORT
# or powerpc64.
.if ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -m32 -mcpu=powerpc
-# Use ld.bfd to workaround ld.lld issues on PowerPC 32 bit
-.if "${COMPILER_TYPE}" == "clang" && "${LINKER_TYPE}" == "lld"
-CFLAGS+= -fuse-ld=${LD_BFD}
-.endif
.endif
# For amd64, there's a bit of mixed bag. Some of the tree (i386, lib*32) is