Author: emaste
Date: Thu Jan  7 00:15:02 2016
New Revision: 293285
URL: https://svnweb.freebsd.org/changeset/base/293285

Log:
  Switch GNU ld to be installed as ld.bfd and linked as ld
  
  We intend to replace GNU ld with LLVM's lld, and on the path to there
  we'll experiment with having lld installed or linked as /usr/bin/ld.
  Thus, make ld.bfd the primary install target for GNU ld, to later
  facilitate making the ld link optional.
  
  Reviewed by:  davide, dim
  Differential Revision:        https://reviews.freebsd.org/D4790

Modified:
  head/gnu/usr.bin/binutils/ld/Makefile

Modified: head/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile       Thu Jan  7 00:14:42 2016        
(r293284)
+++ head/gnu/usr.bin/binutils/ld/Makefile       Thu Jan  7 00:15:02 2016        
(r293285)
@@ -6,7 +6,8 @@ ELF_SCR_EXT=    x xbn xc xd xdc xdw xn xr x
 
 .PATH: ${SRCDIR}/ld
 
-PROG=  ld
+PROG=  ld.bfd
+MAN=   ld.1
 SCRIPTDIR= /usr/libdata/ldscripts
 SRCS+= ldcref.c \
        ldctor.c \
@@ -48,7 +49,7 @@ CLEANFILES+=  ldemul-list.h stringify.sed
 
 FILES=         ${LDSCRIPTS:S|^|ldscripts/|}
 FILESDIR=      ${SCRIPTDIR}
-LINKS=         ${BINDIR}/ld ${BINDIR}/ld.bfd
+LINKS=         ${BINDIR}/ld.bfd ${BINDIR}/ld
 
 HOST=          ${TARGET_TUPLE}
 LIBSEARCHPATH= \"=/lib\":\"=/usr/lib\"
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to