Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 14:31:26 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292658 - in head: gnu/usr.bin/binutils/ld tools/build/mk
Message-ID:  <201512231431.tBNEVQwv059296@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512231431.tBNEVQwv059296>