This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] bfd, compress.c (bfd_compress_section_contents): Check for out of mem.
- From: Alan Modra <amodra at gmail dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, binutils at sourceware dot org, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Sun, 6 Mar 2011 16:17:42 +1030
- Subject: Re: [RFA] bfd, compress.c (bfd_compress_section_contents): Check for out of mem.
- References: <4D72D6F7.1060501@vmware.com>
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