This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch: [z80] solve PR gas/12269
- From: Tristan Gingold <gingold at adacore dot com>
- To: Arnold Metselaar <arnold dot metselaar at planet dot nl>
- Cc: binutils at sourceware dot org
- Date: Mon, 6 Dec 2010 14:58:56 +0100
- Subject: Re: Patch: [z80] solve PR gas/12269
- References: <201012052255.46358.arnold.metselaar@planet.nl>
On Dec 5, 2010, at 10:55 PM, Arnold Metselaar wrote:
> Hello,
>
> I have applied the attached patch to solve bug 12269.
> The ChangeLog entry is below.
> Maybe the fix should go into the 2.21 branch as well.
Ok, but please commit it quickly as I plan to do the release very soon.
Tristan.
>
> Arnold
>
> gas/ChangeLog:
> PR gas/12269
> * config/tc-z80.c (emit_mx, emit_ldxhl): Do not use
> symbol_get_value_expression on a symbol that may not yet have
> a value.
> * testsuite/gas/z80/atend.s: New file, test case for bug 12269,
> provided by Chris Smith.
> * testsuite/gas/z80/atend.d: New file, expected results for atend.s.
> * testsuite/gas/z80/z80.exp: Run new test case.
> <bug12269.patch>