Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 13:28:22 +0000 (UTC)
From:      Leandro Lupori <luporl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350589 - head/tools/build/mk
Message-ID:  <201908051328.x75DSMDW041696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luporl
Date: Mon Aug  5 13:28:21 2019
New Revision: 350589
URL: https://svnweb.freebsd.org/changeset/base/350589

Log:
  [PPC64] Don't mark ld.bfd as obsolete
  
  PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.
  
  This will be needed when ELFv2 becomes default, but there is no harm in
  committing it already.
  
  Reviewed by:	jhibbits
  Differential Revision:	https://reviews.freebsd.org/D21136

Modified:
  head/tools/build/mk/OptionalObsoleteFiles.inc

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc	Mon Aug  5 13:22:15 2019	(r350588)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc	Mon Aug  5 13:28:21 2019	(r350589)
@@ -437,7 +437,8 @@ OLD_FILES+=usr/share/man/man7/ldint.7.gz
 OLD_FILES+=usr/share/man/man7/binutils.7.gz
 .endif
 .endif
-.if !defined(WITH_PORT_BASE_BINUTILS)
+# powerpc64 still needs ld.bfd for 32-bit binaries/libraries
+.if !defined(WITH_PORT_BASE_BINUTILS) && ${TARGET_ARCH} != "powerpc64"
 .if ${MK_BINUTILS} == no || ${MK_LLD_IS_LD} == yes
 OLD_FILES+=usr/bin/ld.bfd
 .endif



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