From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18045 invoked by alias); 25 Apr 2006 16:51:33 -0000 Received: (qmail 18032 invoked by uid 22791); 25 Apr 2006 16:51:32 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Apr 2006 16:51:29 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k3PGpRTx018488; Tue, 25 Apr 2006 12:51:28 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k3PGpRhx021716; Tue, 25 Apr 2006 12:51:27 -0400 Received: from [10.32.68.9] (vpn-68-9.surrey.redhat.com [10.32.68.9]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k3PGpQXU015502; Tue, 25 Apr 2006 17:51:26 +0100 Message-ID: <444E538D.5010504@redhat.com> Date: Tue, 25 Apr 2006 17:22:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: "H. J. Lu" CC: binutils@sources.redhat.com, dcoutts@gentoo.org Subject: Re: PATCH: binutils/2467: "ar q" / ranlib has large memory use (linear in archive size) References: <20060321022303.GA3657@lucon.org> <20060324011139.GB16236@bubble.grove.modra.org> <20060324051735.GA2390@lucon.org> <20060407004049.GA14836@lucon.org> In-Reply-To: <20060407004049.GA14836@lucon.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-04/txt/msg00342.txt.bz2 Hi H. J. > bfd/ > > 2006-04-06 H.J. Lu > > PR binutils/2467 > * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd) > is NULL first. > > * elf32-arm.c (elf32_arm_close_and_cleanup): Check if > abfd->sections is NULL. > (elf32_arm_bfd_free_cached_info): New. > (bfd_elf32_bfd_free_cached_info): Defined. > > * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it > to _bfd_free_cached_info. > > * libbfd-in.h (_bfd_free_cached_info): New. > * libbfd: Regenerated. > > * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL. > (_bfd_free_cached_info): New. > > binutils/testsuite/ > > 2006-04-06 H.J. Lu > > PR binutils/2467 > * binutils-all/objcopy.exp (strip_test): Also test "strip -g" > on archive. This version of the patch is approved - please apply. Cheers Nick