From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21990 invoked by alias); 8 Jun 2006 00:25:50 -0000 Received: (qmail 21982 invoked by uid 22791); 8 Jun 2006 00:25:49 -0000 X-Spam-Check-By: sourceware.org Received: from omta03sl.mx.bigpond.com (HELO omta03sl.mx.bigpond.com) (144.140.92.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Jun 2006 00:25:17 +0000 Received: from grove.modra.org ([144.136.172.108]) by omta03sl.mx.bigpond.com with ESMTP id <20060608002509.OIXD1358.omta03sl.mx.bigpond.com@grove.modra.org>; Thu, 8 Jun 2006 00:25:09 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 05C161E30F7; Thu, 8 Jun 2006 09:55:08 +0930 (CST) Date: Thu, 08 Jun 2006 09:59:00 -0000 From: Alan Modra To: binutils@sourceware.org, Jakub Jelinek Subject: Re: [PATCH] Fix DT_NEEDED search with --as-needed libraries (PR ld/2721) Message-ID: <20060608002508.GB12783@bubble.grove.modra.org> Mail-Followup-To: binutils@sourceware.org, Jakub Jelinek References: <20060601150907.GD3823@sunsite.mff.cuni.cz> <20060602051344.GC26009@bubble.grove.modra.org> <20060602084938.GE3823@sunsite.mff.cuni.cz> <20060602140800.GE26009@bubble.grove.modra.org> <20060602145054.GG3823@sunsite.mff.cuni.cz> <20060602162544.GG26009@bubble.grove.modra.org> <20060603030433.GI26009@bubble.grove.modra.org> <20060607151350.GA2939@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060607151350.GA2939@nevyn.them.org> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00098.txt.bz2 On Wed, Jun 07, 2006 at 11:13:50AM -0400, Daniel Jacobowitz wrote: > On Sat, Jun 03, 2006 at 12:34:33PM +0930, Alan Modra wrote: > > On Sat, Jun 03, 2006 at 01:55:44AM +0930, Alan Modra wrote: > > > * emultempl/elf32.em (global_found): Make it a pointer. > > > (stat_needed, try_needed): Adjust. > > > (check_needed): Don't skip non-loaded as-needed entries. Only > > > consider entries with both filename and the_bfd non-null. > > > (after_open): Try loading non-loaded as-needed libs to satisfy > > > DT_NEEDED libs. > > > > Committed with an extra comment. > > So: still want this included in 2.17? If so, please commit it there, > or let me know and I will. Committed. -- Alan Modra IBM OzLabs - Linux Technology Centre