[patch][gas/testsuite] Avoid name conflicts with z80 registers

Arnold Metselaar arnold.metselaar@planet.nl
Sun May 6 11:38:00 GMT 2012


The z80 port of the assembler no longer accepts register names as ordinary symbols. 
This causes some test cases with  single letter identifiers like a,b,c to fail for z80. 

May I apply the attached patch with the following ChangeLog entry?

Arnold

gas/testsuite/ChangeLog: 
	* gas/all/cond.s: Add L_ as prefix to one-letter symbols, to avoid name conflicts with z80 registers.
	* gas/all/fwdexp.s: Likewise
	* gas/macros/app1.s: Likewise
	* gas/macros/app2.s: Likewise
	* gas/macros/app3.s: Likewise
	* gas/macros/app4.s: Likewise
	* gas/macros/app4b.s: Likewise
	* gas/all/cond.l: Adapted to expect L_ prefixes.
	* gas/all/fwdexp.d: Likewise
	* gas/macros/app1.d: Likewise
	* gas/macros/app2.d: Likewise
	* gas/macros/app3.d: Likewise
	* gas/macros/app4.d: Likewise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixforz80.patch
Type: text/x-patch
Size: 8799 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20120506/999e12bb/attachment.bin>


More information about the Binutils mailing list