PR 25224 bfd * Makefile.am: Add z80-elf target support. * configure.ac: Likewise. * targets.c: Likewise. * config.bfd: Add z80-elf target support and new arches: ez80 and z180. * elf32-z80.c: New file. * archures.c: Add new z80 architectures: eZ80 and Z180. * coffcode.h: Likewise. * cpu-z80.c: Likewise. * bfd-in2.h: Likewise plus additional Z80 relocations. * coff-z80.c: Add new relocations for Z80 target and local label check. gas * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add support for assembler code generated by SDCC. Add new relocation types. Add z80-elf target support. * config/tc-z80.h: Add z80-elf target support. Enable dollar local labels. Local labels starts from ".L". * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict. * testsuite/gas/all/fwdexp.s: Likewise. * testsuite/gas/z80/suffix.d: Fix failure on ELF target. * testsuite/gas/z80/z80.exp: Add new tests * testsuite/gas/z80/dollar.d: New file. * testsuite/gas/z80/dollar.s: New file. * testsuite/gas/z80/ez80_adl_all.d: New file. * testsuite/gas/z80/ez80_adl_all.s: New file. * testsuite/gas/z80/ez80_adl_suf.d: New file. * testsuite/gas/z80/ez80_isuf.s: New file. * testsuite/gas/z80/ez80_z80_all.d: New file. * testsuite/gas/z80/ez80_z80_all.s: New file. * testsuite/gas/z80/ez80_z80_suf.d: New file. * testsuite/gas/z80/r800_extra.d: New file. * testsuite/gas/z80/r800_extra.s: New file. * testsuite/gas/z80/r800_ii8.d: New file. * testsuite/gas/z80/r800_z80_doc.d: New file. * testsuite/gas/z80/z180.d: New file. * testsuite/gas/z80/z180.s: New file. * testsuite/gas/z80/z180_z80_doc.d: New file. * testsuite/gas/z80/z80_doc.d: New file. * testsuite/gas/z80/z80_doc.s: New file. * testsuite/gas/z80/z80_ii8.d: New file. * testsuite/gas/z80/z80_ii8.s: New file. * testsuite/gas/z80/z80_in_f_c.d: New file. * testsuite/gas/z80/z80_in_f_c.s: New file. * testsuite/gas/z80/z80_op_ii_ld.d: New file. * testsuite/gas/z80/z80_op_ii_ld.s: New file. * testsuite/gas/z80/z80_out_c_0.d: New file. * testsuite/gas/z80/z80_out_c_0.s: New file. * testsuite/gas/z80/z80_reloc.d: New file. * testsuite/gas/z80/z80_reloc.s: New file. * testsuite/gas/z80/z80_sli.d: New file. * testsuite/gas/z80/z80_sli.s: New file. ld * Makefile.am: Add new target z80-elf * configure.tgt: Likewise. * emultempl/z80.em: Add support for eZ80 and Z180 architectures. * emulparams/elf32z80.sh: New file. * emultempl/z80elf.em: Likewise. * testsuite/ld-z80/arch_ez80_adl.d: Likewise. * 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_z80.d: Likewise. * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise. * testsuite/ld-z80/comb_arch_z180.d: Likewise. * testsuite/ld-z80/labels.s: Likewise. * testsuite/ld-z80/relocs.s: Likewise. * testsuite/ld-z80/relocs_b_ez80.d: Likewise. * testsuite/ld-z80/relocs_b_z80.d: Likewise. * testsuite/ld-z80/relocs_f_z80.d: Likewise. * testsuite/ld-z80/z80.exp: Likewise. opcodes * z80-dis.c: Add support for eZ80 and Z80 instructions.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
#source: fill16_0.s
|
|
#source: fill16_1.s
|
|
#source: fill16_2.s
|
|
#ld: -T fill.t
|
|
#objdump: -s -j .text
|
|
#skip: arm-*-coff i[3-7]86-*-coff
|
|
#xfail: alpha*-*-*ecoff sh-*-pe sparc*-*-coff
|
|
#xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-*
|
|
#xfail: z80-*-coff
|
|
#
|
|
# See also fill.d. We use `skip' for configurations unsupported
|
|
# here that are covered there, and `xfail' for configurations that work
|
|
# with neither place. See below for details as to why individual
|
|
# configurations are listed above.
|
|
#
|
|
# alpha-linuxecoff pads out code to 16 bytes.
|
|
# arm-coff always aligns code to 4 bytes.
|
|
# i386-coff always aligns code to 4 bytes.
|
|
# sh-pe pads out code sections to 16 bytes
|
|
# sparc-coff aligns to 8 bytes
|
|
# tic30-coff aligns to 2 bytes
|
|
# tic4x has 4 octet bytes
|
|
# tic54x doesn't support .p2align
|
|
# z8k-coff aligns to 2 bytes
|
|
# z80-coff aligns to 2 bytes
|
|
|
|
.*: file format .*
|
|
|
|
Contents of section .text:
|
|
[0-9a-f]+ cafebabe cafebabe cafebabe cafebabe .*
|
|
[0-9a-f]+ 01010101 01010101 01010101 01010101 .*
|
|
[0-9a-f]+ 02020202 02020202 02020202 02020202 .*
|
|
[0-9a-f]+ 12232323 23232323 23232323 23232323 .*
|
|
[0-9a-f]+ 03030303 03030303 03030303 03030303 .*
|
|
[0-9a-f]+ 00345600 00004567 000089ab (deadbeef|efbeadde) .*
|
|
[0-9a-f]+ 00004567 000089ab 0000cdef 00004567 .*
|
|
[0-9a-f]+ 000089ab 0000cdef 00000123 .*
|