Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 03:55:00 +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: r320258 - head/share/mk
Message-ID:  <201706230355.v5N3t0gh098971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Jun 23 03:55:00 2017
New Revision: 320258
URL: https://svnweb.freebsd.org/changeset/base/320258

Log:
  change GNU ld LINKER_TYPE from binutils to bfd
  
  GNU binutils includes two linkers: ld.bfd and ld.gold.  For clarity use
  LINKER_TYPE=bfd to refer to ld.bfd, the original binutils linker that
  identifies itself as "GNU ld".
  
  Discussed with:	bdrewery

Modified:
  head/share/mk/bsd.linker.mk

Modified: head/share/mk/bsd.linker.mk
==============================================================================
--- head/share/mk/bsd.linker.mk	Fri Jun 23 02:42:04 2017	(r320257)
+++ head/share/mk/bsd.linker.mk	Fri Jun 23 03:55:00 2017	(r320258)
@@ -47,7 +47,7 @@ _ld_version!=	${${ld}} --version 2>/dev/null | head -n
 .error Unable to determine linker type from ${ld}=${${ld}}
 .endif
 .if ${_ld_version:[1..2]} == "GNU ld"
-${X_}LINKER_TYPE=	binutils
+${X_}LINKER_TYPE=	bfd
 _v=	${_ld_version:M[1-9].[0-9]*:[1]}
 .elif ${_ld_version:[1]} == "LLD"
 ${X_}LINKER_TYPE=	lld



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