svn commit: r326908 - head/lib/libc/i386

Ed Maste emaste at FreeBSD.org
Sat Dec 16 15:17:55 UTC 2017


Author: emaste
Date: Sat Dec 16 15:17:54 2017
New Revision: 326908
URL: https://svnweb.freebsd.org/changeset/base/326908

Log:
  revert r322589: force use of ld.bfd for linking i386 libc
  
  As of r326897 ld.lld can link a working i386 libc.so, so we no longer
  need to force use of ld.bfd.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lib/libc/i386/Makefile.inc

Modified: head/lib/libc/i386/Makefile.inc
==============================================================================
--- head/lib/libc/i386/Makefile.inc	Sat Dec 16 14:47:12 2017	(r326907)
+++ head/lib/libc/i386/Makefile.inc	Sat Dec 16 15:17:54 2017	(r326908)
@@ -4,13 +4,3 @@
 GDTOASRCS+=strtorx.c
 SRCS+=machdep_ldisx.c
 SYM_MAPS+=${LIBC_SRCTOP}/i386/Symbol.map
-
-# XXX force use of ld.bfd for linking i386 libc
-#
-# lld can successfully link most of a working i386 userland and kernel,
-# but produces a broken libc. For now if we're otherwise using lld, and
-# ld.bfd is available, explicitly use it for libc.
-.include <bsd.linker.mk>
-.if ${LINKER_TYPE} == "lld" && ${MK_BINUTILS_BOOTSTRAP} != "no"
-LDFLAGS+=-fuse-ld=bfd
-.endif


More information about the svn-src-head mailing list