svn commit: r253839 - head/contrib/binutils/ld
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jul 31 12:35:06 UTC 2013
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;
More information about the svn-src-head
mailing list