mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
fcaaac0a0d
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.
62 lines
2.3 KiB
Makefile
62 lines
2.3 KiB
Makefile
#name: eZ80 backward relocation in ADL mode
|
|
#source: labels.s
|
|
#source: relocs.s --defsym ADLMODE=1
|
|
#as: -march=ez80+adl
|
|
#ld: -e 0 -Ttext 0x100 -Tdata 0x200 -s
|
|
#objdump: -d
|
|
|
|
.*:[ ]+file format (coff)|(elf32)\-z80
|
|
|
|
|
|
.* \.text:
|
|
|
|
00000100 <.*>:
|
|
100:[ ]+78[ ]+ld a,b
|
|
101:[ ]+79[ ]+ld a,c
|
|
102:[ ]+7a[ ]+ld a,d
|
|
103:[ ]+7b[ ]+ld a,e
|
|
104:[ ]+7c[ ]+ld a,h
|
|
105:[ ]+7d[ ]+ld a,l
|
|
106:[ ]+7e[ ]+ld a,\(hl\)
|
|
107:[ ]+7f[ ]+ld a,a
|
|
108:[ ]+2f[ ]+cpl
|
|
109:[ ]+cd 00 01 00[ ]+call 0x0100
|
|
10d:[ ]+c4 01 01 00[ ]+call nz,0x0101
|
|
111:[ ]+cc 02 01 00[ ]+call z,0x0102
|
|
115:[ ]+d4 03 01 00[ ]+call nc,0x0103
|
|
119:[ ]+dc 04 01 00[ ]+call c,0x0104
|
|
11d:[ ]+e4 05 01 00[ ]+call po,0x0105
|
|
121:[ ]+ec 06 01 00[ ]+call pe,0x0106
|
|
125:[ ]+f4 07 01 00[ ]+call p,0x0107
|
|
129:[ ]+fc 08 01 00[ ]+call m,0x0108
|
|
12d:[ ]+c3 00 01 00[ ]+jp 0x0100
|
|
131:[ ]+c2 01 01 00[ ]+jp nz,0x0101
|
|
135:[ ]+ca 02 01 00[ ]+jp z,0x0102
|
|
139:[ ]+d2 03 01 00[ ]+jp nc,0x0103
|
|
13d:[ ]+da 04 01 00[ ]+jp c,0x0104
|
|
141:[ ]+e2 05 01 00[ ]+jp po,0x0105
|
|
145:[ ]+ea 06 01 00[ ]+jp pe,0x0106
|
|
149:[ ]+f2 07 01 00[ ]+jp p,0x0107
|
|
14d:[ ]+fa 08 01 00[ ]+jp m,0x0108
|
|
151:[ ]+dd 6e 05[ ]+ld l,\(ix\+5\)
|
|
154:[ ]+dd 7e 03[ ]+ld a,\(ix\+3\)
|
|
157:[ ]+dd 4e fa[ ]+ld c,\(ix\-6\)
|
|
15a:[ ]+dd 46 f9[ ]+ld b,\(ix\-7\)
|
|
15d:[ ]+fd 75 fb[ ]+ld \(iy\-5\),l
|
|
160:[ ]+fd 77 03[ ]+ld \(iy\+3\),a
|
|
163:[ ]+fd 71 0e[ ]+ld \(iy\+14\),c
|
|
166:[ ]+fd 70 0f[ ]+ld \(iy\+15\),b
|
|
169:[ ]+fd 66 5d[ ]+ld h,\(iy\+93\)
|
|
16c:[ ]+49 11 34 12[ ]+ld\.lis de,0x1234
|
|
170:[ ]+49 21 78 56[ ]+ld\.lis hl,0x5678
|
|
174:[ ]+49 11 68 24[ ]+ld\.lis de,0x2468
|
|
178:[ ]+49 21 f0 ac[ ]+ld\.lis hl,0xacf0
|
|
17c:[ ]+16 12[ ]+ld d,0x12
|
|
17e:[ ]+1e 34[ ]+ld e,0x34
|
|
180:[ ]+26 56[ ]+ld h,0x56
|
|
182:[ ]+2e 78[ ]+ld l,0x78
|
|
184:[ ]+16 24[ ]+ld d,0x24
|
|
186:[ ]+1e 68[ ]+ld e,0x68
|
|
188:[ ]+26 ac[ ]+ld h,0xac
|
|
18a:[ ]+2e f0[ ]+ld l,0xf0
|