From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21234 invoked by alias); 6 Mar 2011 07:45:41 -0000 Received: (qmail 21221 invoked by uid 22791); 6 Mar 2011 07:45:40 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Mar 2011 07:45:36 +0000 Received: by iyf13 with SMTP id 13so4238795iyf.0 for ; Sat, 05 Mar 2011 23:45:34 -0800 (PST) Received: by 10.43.70.203 with SMTP id yh11mr3030455icb.222.1299390470982; Sat, 05 Mar 2011 21:47:50 -0800 (PST) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id wh3sm1188788icb.0.2011.03.05.21.47.47 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Mar 2011 21:47:49 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 15D5D170C1FA; Sun, 6 Mar 2011 16:17:42 +1030 (CST) Date: Sun, 06 Mar 2011 07:45:00 -0000 From: Alan Modra To: Michael Snyder Cc: "gdb-patches@sourceware.org" , binutils@sourceware.org, "H.J. Lu" Subject: Re: [RFA] bfd, compress.c (bfd_compress_section_contents): Check for out of mem. Message-ID: <20110306054742.GH6275@bubble.grove.modra.org> Mail-Followup-To: Michael Snyder , "gdb-patches@sourceware.org" , binutils@sourceware.org, "H.J. Lu" References: <4D72D6F7.1060501@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D72D6F7.1060501@vmware.com> 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: 2011-03/txt/msg00084.txt.bz2 On Sat, Mar 05, 2011 at 04:36:07PM -0800, Michael Snyder wrote: > * compress.c (bfd_compress_section_contents): Check for out of mem. Just return FALSE. No need to bfd_set_error, that will already be done in bfd_malloc. OK with that change. -- Alan Modra Australia Development Lab, IBM