summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-07-31 12:35:06 +0000
committerbapt <bapt@FreeBSD.org>2013-07-31 12:35:06 +0000
commitaf2aa59ad7b006d0569be37b561c93e1ee47c253 (patch)
tree587a560902cd95cc311e1b212041f8358108a300 /contrib
parentcf0d40cd38c7fa6da7d1def7031f6aaa7684b4d2 (diff)
downloadFreeBSD-src-af2aa59ad7b006d0569be37b561c93e1ee47c253.zip
FreeBSD-src-af2aa59ad7b006d0569be37b561c93e1ee47c253.tar.gz
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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/binutils/ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/ld/ldmain.c b/contrib/binutils/ld/ldmain.c
index 354c41a..a94b6ee 100644
--- a/contrib/binutils/ld/ldmain.c
+++ b/contrib/binutils/ld/ldmain.c
@@ -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;
OpenPOWER on IntegriCloud