From af2aa59ad7b006d0569be37b561c93e1ee47c253 Mon Sep 17 00:00:00 2001 From: bapt Date: Wed, 31 Jul 2013 12:35:06 +0000 Subject: 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. --- contrib/binutils/ld/ldmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1