This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix ARM GAS segment fault
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Jie Zhang <jie at codesourcery dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Fri, 19 Mar 2010 08:55:08 -0400
- Subject: Re: [PATCH] Fix ARM GAS segment fault
- References: <4BA355EB.2040802@codesourcery.com>
On Fri, Mar 19, 2010 at 06:46:03PM +0800, Jie Zhang wrote:
> ARM GAS crashes on the following test case now:
>
> nop
> .fill 0, 0, 0
> nop
>
> This .fill directive does not generate anything. So the mapping
> symbol "$d" generated for this .fill will have the same value as the
> "$a" generated for the second "nop", which GAS does not allow.
>
> To fix this case, this patch just allows two mapping symbols have the
> same value and let the new one override the old one.
>
> No regression on GAS testsuite. Is it OK?
OK.
--
Daniel Jacobowitz
CodeSourcery