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
_______________________________________________
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