From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17251 invoked by alias); 16 Jan 2012 22:16:34 -0000 Received: (qmail 17243 invoked by uid 22791); 16 Jan 2012 22:16:34 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jan 2012 22:16:21 +0000 Received: by ggnp4 with SMTP id p4so3328123ggn.0 for ; Mon, 16 Jan 2012 14:16:20 -0800 (PST) Received: by 10.236.85.230 with SMTP id u66mr19748742yhe.83.1326752180917; Mon, 16 Jan 2012 14:16:20 -0800 (PST) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id h26sm9094898ann.17.2012.01.16.14.16.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jan 2012 14:16:20 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 3D3C9170C2EA; Tue, 17 Jan 2012 08:46:14 +1030 (CST) Date: Mon, 16 Jan 2012 22:16:00 -0000 From: Alan Modra To: Tristan Gingold Cc: binutils Development Subject: Re: [Patch]: Improve handling of DW_LNE_define_file Message-ID: <20120116221614.GM3708@bubble.grove.modra.org> Mail-Followup-To: Tristan Gingold , binutils Development References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00189.txt.bz2 On Thu, Jan 12, 2012 at 01:05:15PM +0100, Tristan Gingold wrote: > case DW_LNE_define_file: > { > - unsigned int dir_index = 0; > + file_table = (File_Entry *) > + xmalloc ((n_files + 1) * sizeof (File_Entry)); xrealloc. Otherwise OK. -- Alan Modra Australia Development Lab, IBM