This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch/gas]: simplify frag_grow
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: binutils Development <binutils at sourceware dot org>
- Date: Wed, 6 Jul 2011 12:56:46 +0930
- Subject: Re: [patch/gas]: simplify frag_grow
- References: <AEF35CE3-6A02-45D9-A28F-20547845B206@adacore.com>
On Tue, Jul 05, 2011 at 02:04:35PM +0200, Tristan Gingold wrote:
I agree with all your reasoning, but I'd like to keep the final check
so that we don't depend on obstack_chunk_alloc being xmalloc.
> - if (obstack_room (&frchain_now->frch_obstack) < nchars)
> - as_fatal (_("can't extend frag %u chars"), nchars);
> }
--
Alan Modra
Australia Development Lab, IBM