From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23350 invoked by alias); 24 Mar 2006 01:11:45 -0000 Received: (qmail 23340 invoked by uid 22791); 24 Mar 2006 01:11:45 -0000 X-Spam-Check-By: sourceware.org Received: from omta04sl.mx.bigpond.com (HELO omta04sl.mx.bigpond.com) (144.140.93.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Mar 2006 01:11:43 +0000 Received: from grove.modra.org ([144.136.172.108]) by omta04sl.mx.bigpond.com with ESMTP id <20060324011140.YDGR12993.omta04sl.mx.bigpond.com@grove.modra.org>; Fri, 24 Mar 2006 01:11:40 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id F2DB91DD224; Fri, 24 Mar 2006 11:41:39 +1030 (CST) Date: Fri, 24 Mar 2006 04:11:00 -0000 From: Alan Modra 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) Message-ID: <20060324011139.GB16236@bubble.grove.modra.org> Mail-Followup-To: "H. J. Lu" , binutils@sources.redhat.com, dcoutts@gentoo.org References: <20060321022303.GA3657@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060321022303.GA3657@lucon.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-03/txt/msg00310.txt.bz2 On Mon, Mar 20, 2006 at 06:23:03PM -0800, H. J. Lu wrote: > Will this patch break anything? I don't know the answer to that, but really, it's something that you as patch submitter should answer. You could gain a reasonable level of confidence by allocating and scribbling on some memory after you've freed the objalloc. Test it with a coff an aout target too. -- Alan Modra IBM OzLabs - Linux Technology Centre