Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-z80 / relocs_f_z80n.d
blob83ec3578f3d2296f2e428a62bb9b2ab318651212
1 #name: Z80N forward relocation
2 #as: -march=z80n --defsym Z80N=1
3 #source: relocs.s
4 #source: labels.s
5 #ld: -e 0 -Ttext 0x100 -Tdata 0x200
6 #objdump: -d
9 .*:[ ]+file format (coff|elf32)\-z80
12 .* \.text:
14 0+100 <.*>:
15 [ ]+100:[ ]+cd 7d 01[ ]+call 0x017d
16 [ ]+103:[ ]+c4 7e 01[ ]+call nz,0x017e
17 [ ]+106:[ ]+cc 7f 01[ ]+call z,0x017f
18 [ ]+109:[ ]+d4 80 01[ ]+call nc,0x0180
19 [ ]+10c:[ ]+dc 81 01[ ]+call c,0x0181
20 [ ]+10f:[ ]+e4 82 01[ ]+call po,0x0182
21 [ ]+112:[ ]+ec 83 01[ ]+call pe,0x0183
22 [ ]+115:[ ]+f4 84 01[ ]+call p,0x0184
23 [ ]+118:[ ]+fc 85 01[ ]+call m,0x0185
24 [ ]+11b:[ ]+c3 7d 01[ ]+jp 0x017d
25 [ ]+11e:[ ]+c2 7e 01[ ]+jp nz,0x017e
26 [ ]+121:[ ]+ca 7f 01[ ]+jp z,0x017f
27 [ ]+124:[ ]+d2 80 01[ ]+jp nc,0x0180
28 [ ]+127:[ ]+da 81 01[ ]+jp c,0x0181
29 [ ]+12a:[ ]+e2 82 01[ ]+jp po,0x0182
30 [ ]+12d:[ ]+ea 83 01[ ]+jp pe,0x0183
31 [ ]+130:[ ]+f2 84 01[ ]+jp p,0x0184
32 [ ]+133:[ ]+fa 85 01[ ]+jp m,0x0185
33 [ ]+136:[ ]+dd 6e 05[ ]+ld l,\(ix\+5\)
34 [ ]+139:[ ]+dd 7e 03[ ]+ld a,\(ix\+3\)
35 [ ]+13c:[ ]+dd 4e fa[ ]+ld c,\(ix\-6\)
36 [ ]+13f:[ ]+dd 46 f9[ ]+ld b,\(ix\-7\)
37 [ ]+142:[ ]+fd 75 fb[ ]+ld \(iy\-5\),l
38 [ ]+145:[ ]+fd 77 03[ ]+ld \(iy\+3\),a
39 [ ]+148:[ ]+fd 71 0e[ ]+ld \(iy\+14\),c
40 [ ]+14b:[ ]+fd 70 0f[ ]+ld \(iy\+15\),b
41 [ ]+14e:[ ]+fd 66 5d[ ]+ld h,\(iy\+93\)
42 [ ]+151:[ ]+11 34 12[ ]+ld de,0x1234
43 [ ]+154:[ ]+21 78 56[ ]+ld hl,0x5678
44 [ ]+157:[ ]+11 68 24[ ]+ld de,0x2468
45 [ ]+15a:[ ]+21 f0 ac[ ]+ld hl,0xacf0
46 [ ]+15d:[ ]+16 12[ ]+ld d,0x12
47 [ ]+15f:[ ]+1e 34[ ]+ld e,0x34
48 [ ]+161:[ ]+26 56[ ]+ld h,0x56
49 [ ]+163:[ ]+2e 78[ ]+ld l,0x78
50 [ ]+165:[ ]+16 24[ ]+ld d,0x24
51 [ ]+167:[ ]+1e 68[ ]+ld e,0x68
52 [ ]+169:[ ]+26 ac[ ]+ld h,0xac
53 [ ]+16b:[ ]+2e f0[ ]+ld l,0xf0
54 [ ]+16d:[ ]+ed 8a 01 7d[ ]+push 0x017d
55 [ ]+171:[ ]+ed 8a 12 34[ ]+push 0x1234
56 [ ]+175:[ ]+ed 91 ab cd[ ]+nextreg 0xab,0xcd
57 [ ]+179:[ ]+ed 92 ef[ ]+nextreg 0xef,a
58 [ ]+17c:[ ]+7f[ ]+ld a,a
60 0+17d <label1>:
61 [ ]+17d:[ ]+78[ ]+ld a,b
63 0+17e <label2>:
64 [ ]+17e:[ ]+79[ ]+ld a,c
66 0+17f <label3>:
67 [ ]+17f:[ ]+7a[ ]+ld a,d
69 0+180 <label4>:
70 [ ]+180:[ ]+7b[ ]+ld a,e
72 0+181 <label5>:
73 [ ]+181:[ ]+7c[ ]+ld a,h
75 0+182 <label6>:
76 [ ]+182:[ ]+7d[ ]+ld a,l
78 0+183 <label7>:
79 [ ]+183:[ ]+7e[ ]+ld a,\(hl\)
81 0+184 <label8>:
82 [ ]+184:[ ]+7f[ ]+ld a,a
84 0+185 <label9>:
85 [ ]+185:[ ]+2f[ ]+cpl
86 #pass