svn commit: r292658 - in head: gnu/usr.bin/binutils/ld tools/build/mk

Ed Maste emaste at FreeBSD.org
Wed Dec 23 14:31:27 UTC 2015


Author: emaste
Date: Wed Dec 23 14:31:26 2015
New Revision: 292658
URL: https://svnweb.freebsd.org/changeset/base/292658

Log:
  Install ld also as ld.bfd, for use with cc -fuse-ld=bfd
  
  PR:		205409 [exp-run]
  MFC after:	1 week
  Relnotes:	Yes
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/gnu/usr.bin/binutils/ld/Makefile
  head/tools/build/mk/OptionalObsoleteFiles.inc

Modified: head/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile	Wed Dec 23 10:38:44 2015	(r292657)
+++ head/gnu/usr.bin/binutils/ld/Makefile	Wed Dec 23 14:31:26 2015	(r292658)
@@ -48,6 +48,7 @@ CLEANFILES+=	ldemul-list.h stringify.sed
 
 FILES=		${LDSCRIPTS:S|^|ldscripts/|}
 FILESDIR=	${SCRIPTDIR}
+LINKS=		${BINDIR}/ld ${BINDIR}/ld.bfd
 
 HOST=		${TARGET_TUPLE}
 LIBSEARCHPATH=	\"=/lib\":\"=/usr/lib\"

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc	Wed Dec 23 10:38:44 2015	(r292657)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc	Wed Dec 23 14:31:26 2015	(r292658)
@@ -189,6 +189,7 @@ OLD_DIRS+=usr/share/examples/bhyve
 .if ${MK_BINUTILS} == no
 OLD_FILES+=usr/bin/as
 OLD_FILES+=usr/bin/ld
+OLD_FILES+=usr/bin/ld.bfd
 .if ${MK_ELFCOPY_AS_OBJCOPY} == no
 OLD_FILES+=usr/bin/objcopy
 .endif


More information about the svn-src-head mailing list