Fix a small set of Z80 problems.
authorSergey Belyashov <sergey.belyashov@gmail.com>
Tue, 17 Mar 2020 16:55:32 +0000 (16:55 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Mar 2020 16:55:32 +0000 (16:55 +0000)
commit68e52bc7ecfbfdc8d5f85716a8ac7668e211f360
treeb6fad703f9e73ec0191841e9dcc13d15dae614ce
parentecbbbdba7182865e522e0893915e9be487fe14b0
Fix a small set of Z80 problems.

PR 25641
PR 25668
PR 25633
gas Fix disassembling ED+A4/AC/B4/BC opcodes.
Fix assembling lines containing colonless label and instruction
with first operand inside parentheses.
Fix registration of unsupported by target CPU registers.
* config/tc-z80.c: See above.
* config/tc-z80.h: See above.
* testsuite/gas/z80/colonless.d: Update test.
* testsuite/gas/z80/colonless.s: Likewise.
* testsuite/gas/z80/ez80_adl_all.d: Likewise.
* testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
* testsuite/gas/z80/ez80_z80_all.d: Likewise.
* testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
* testsuite/gas/z80/r800_unsup_regs.d: Likewise.
* testsuite/gas/z80/unsup_regs.s: Likewise.
* testsuite/gas/z80/z180_unsup_regs.d: Likewise.
* testsuite/gas/z80/z80.exp: Likewise.
* testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
* testsuite/gas/z80/z80_unsup_regs.d: Likewise.
* testsuite/gas/z80/z80n_unsup_regs.d: Likewise.

opcodes * z80-dis.c: Fix disassembling ED+A4/AC/B4/BC opcodes.
16 files changed:
gas/config/tc-z80.c
gas/config/tc-z80.h
gas/testsuite/gas/z80/colonless.d
gas/testsuite/gas/z80/colonless.s
gas/testsuite/gas/z80/ez80_adl_all.d
gas/testsuite/gas/z80/ez80_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/ez80_z80_all.d
gas/testsuite/gas/z80/gbz80_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/r800_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/unsup_regs.s [new file with mode: 0644]
gas/testsuite/gas/z80/z180_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/z80.exp
gas/testsuite/gas/z80/z80_strict_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/z80_unsup_regs.d [new file with mode: 0644]
gas/testsuite/gas/z80/z80n_unsup_regs.d [new file with mode: 0644]
opcodes/z80-dis.c