From 0fd8fddb968082351d862dbc6b6bb9d246b0b656 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 31 Jul 2013 12:35:06 +0000 Subject: [PATCH] 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 354c41aeccd..a94b6ee9d78 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;