Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2013 12:35:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253839 - head/contrib/binutils/ld
Message-ID:  <201307311235.r6VCZ6Zl052712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jul 31 12:35:06 2013
New Revision: 253839
URL: http://svnweb.freebsd.org/changeset/base/253839

Log:
  Change default behaviour of ld(1) to not recursively copy DT_NEEDED
  
  This is the default behaviour of the newer binutils as well as most alternative linkers.
  All the ports tree has been fixed to be able to link properly with this new behaviour.

Modified:
  head/contrib/binutils/ld/ldmain.c

Modified: head/contrib/binutils/ld/ldmain.c
==============================================================================
--- head/contrib/binutils/ld/ldmain.c	Wed Jul 31 11:45:40 2013	(r253838)
+++ head/contrib/binutils/ld/ldmain.c	Wed Jul 31 12:35:06 2013	(r253839)
@@ -98,7 +98,7 @@ bfd_boolean as_needed;
 
 /* Nonzero means never create DT_NEEDED entries for dynamic libraries
    in DT_NEEDED tags.  */
-bfd_boolean add_needed = TRUE;
+bfd_boolean add_needed = FALSE;
 
 /* TRUE if we should demangle symbol names.  */
 bfd_boolean demangling;



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