From owner-svn-src-head@FreeBSD.ORG Wed Jul 31 12:35:06 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B11AF735; Wed, 31 Jul 2013 12:35:06 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F06F2FB6; Wed, 31 Jul 2013 12:35:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6VCZ6TV052713; Wed, 31 Jul 2013 12:35:06 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6VCZ6Zl052712; Wed, 31 Jul 2013 12:35:06 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201307311235.r6VCZ6Zl052712@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 31 Jul 2013 12:35:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253839 - head/contrib/binutils/ld X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 12:35:06 -0000 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;