Patch: [z80] solve PR gas/12269

Arnold Metselaar arnold.metselaar@planet.nl
Sun Dec 5 21:55:00 GMT 2010


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.

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug12269.patch
Type: text/x-patch
Size: 1929 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20101205/fd54c2a9/attachment.bin>


More information about the Binutils mailing list