Patch: [z80] solve PR gas/12269

Tristan Gingold gingold@adacore.com
Mon Dec 6 13:59:00 GMT 2010


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>



More information about the Binutils mailing list