Various fixes for the Z80 support.
authorSergey Belyashov <sergey.belyashov@gmail.com>
Wed, 19 Feb 2020 17:46:10 +0000 (17:46 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Feb 2020 17:46:10 +0000 (17:46 +0000)
commitfcaaac0a0d3d46e3c59f87c1445852ac77b6c118
tree9d63c6fc90566b5e2110d4e3bef593c1f91f205e
parentd3c22fa82e2f9098ad5a0158a73f07db12426fff
Various fixes for the Z80 support.

PR 25537
ld * emultempl/z80.em: Remove machine compatability checking.

PR 25517
* testsuite/ld-z80/arch_ez80_adl.d: Update command line.
* testsuite/ld-z80/arch_ez80_z80.d: Likewise.
* testsuite/ld-z80/arch_r800.d: Likewise.
* testsuite/ld-z80/arch_z180.d: Likewise.
* testsuite/ld-z80/arch_z80n.d: Likewise.
* testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
* testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
* testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
* testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
* testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
* testsuite/ld-z80/relocs_b_ez80.d: Likewise.
* testsuite/ld-z80/relocs_b_z80.d: Likewise.
* testsuite/ld-z80/relocs_f_ez80.d: Likewise.
* testsuite/ld-z80/relocs_f_z80.d: Likewise.
* testsuite/ld-z80/relocs_f_z80n.d: Likewise.

bfd
* cpu-z80.c: Add machine type compatibility checking.

gas
* config/tc-z80.c (md_parse_option): Do not use an underscore
prefix for local labels in SDCC compatability mode.
(z80_start_line_hook): Remove SDCC dollar label support.
* testsuite/gas/z80/sdcc.d: Update expected disassembly.
* testsuite/gas/z80/sdcc.s: Likewise.

* config/tc-z80.c: Add -march option.
* doc/as.texi: Update Z80 documentation.
* doc/c-z80.texi: Likewise.
* testsuite/gas/z80/ez80_adl_all.d: Update command line.
* testsuite/gas/z80/ez80_adl_suf.d: Likewise.
* testsuite/gas/z80/ez80_pref_dis.d: Likewise.
* testsuite/gas/z80/ez80_z80_all.d: Likewise.
* testsuite/gas/z80/ez80_z80_suf.d: Likewise.
* testsuite/gas/z80/gbz80_all.d: Likewise.
* testsuite/gas/z80/r800_extra.d: Likewise.
* testsuite/gas/z80/r800_ii8.d: Likewise.
* testsuite/gas/z80/r800_z80_doc.d: Likewise.
* testsuite/gas/z80/sdcc.d: Likewise.
* testsuite/gas/z80/z180.d: Likewise.
* testsuite/gas/z80/z180_z80_doc.d: Likewise.
* testsuite/gas/z80/z80_doc.d: Likewise.
* testsuite/gas/z80/z80_ii8.d: Likewise.
* testsuite/gas/z80/z80_in_f_c.d: Likewise.
* testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
* testsuite/gas/z80/z80_out_c_0.d: Likewise.
* testsuite/gas/z80/z80_sli.d: Likewise.
* testsuite/gas/z80/z80n_all.d: Likewise.
* testsuite/gas/z80/z80n_reloc.d: Likewise.
44 files changed:
bfd/ChangeLog
bfd/cpu-z80.c
gas/ChangeLog
gas/config/tc-z80.c
gas/doc/as.texi
gas/doc/c-z80.texi
gas/testsuite/gas/z80/ez80_adl_all.d
gas/testsuite/gas/z80/ez80_adl_suf.d
gas/testsuite/gas/z80/ez80_pref_dis.d
gas/testsuite/gas/z80/ez80_z80_all.d
gas/testsuite/gas/z80/ez80_z80_suf.d
gas/testsuite/gas/z80/gbz80_all.d
gas/testsuite/gas/z80/r800_extra.d
gas/testsuite/gas/z80/r800_ii8.d
gas/testsuite/gas/z80/r800_z80_doc.d
gas/testsuite/gas/z80/sdcc.d
gas/testsuite/gas/z80/sdcc.s
gas/testsuite/gas/z80/z180.d
gas/testsuite/gas/z80/z180_z80_doc.d
gas/testsuite/gas/z80/z80_doc.d
gas/testsuite/gas/z80/z80_ii8.d
gas/testsuite/gas/z80/z80_in_f_c.d
gas/testsuite/gas/z80/z80_op_ii_ld.d
gas/testsuite/gas/z80/z80_out_c_0.d
gas/testsuite/gas/z80/z80_sli.d
gas/testsuite/gas/z80/z80n_all.d
gas/testsuite/gas/z80/z80n_reloc.d
ld/ChangeLog
ld/emultempl/z80.em
ld/testsuite/ld-z80/arch_ez80_adl.d
ld/testsuite/ld-z80/arch_ez80_z80.d
ld/testsuite/ld-z80/arch_r800.d
ld/testsuite/ld-z80/arch_z180.d
ld/testsuite/ld-z80/arch_z80n.d
ld/testsuite/ld-z80/comb_arch_ez80_z80.d
ld/testsuite/ld-z80/comb_arch_z180_z80.d
ld/testsuite/ld-z80/comb_arch_z80_ez80.d
ld/testsuite/ld-z80/comb_arch_z80_z180.d
ld/testsuite/ld-z80/comb_arch_z80_z80n.d
ld/testsuite/ld-z80/relocs_b_ez80.d
ld/testsuite/ld-z80/relocs_b_z80.d
ld/testsuite/ld-z80/relocs_f_ez80.d
ld/testsuite/ld-z80/relocs_f_z80.d
ld/testsuite/ld-z80/relocs_f_z80n.d