Add ability to change linker warning messages into errors when reporting executable...
[binutils-gdb.git] / ld / testsuite / ld-z8k / other-file.s
blob912de7196e6431d0b6e2d003ef12a1cc9dd91117
1 .text
3 .globl other_start, other_label, other_imm4_val
4 other_start:
5 nop
7 djnz r1,other_start
8 dbjnz rl0,this_label
10 jr t,this_start
11 jr t,other_start
13 jp t,this_start
14 jp t,other_start
16 call other_start
17 call other_label
18 call this_start
19 call this_label
21 calr other_start
22 calr other_label
23 calr this_start
24 calr this_label
26 ld r1,other_data
27 ld r1,this_data
28 ld r1,#other_data
29 ld r1,#this_data
31 other_label:
32 ldb rl2,#this_data
33 ldb rl2,#this_data + 0x10
34 ldb rl2,#other_data
35 ldb rl2,#other_data + 0x10
37 ! ldr r2,this_data
38 ! ldr r2,other_data
40 ldk r5,#this_imm4_val
42 nop
44 .set other_imm4_val, 3
46 .data
47 .globl other_data
49 .ds.l 1
50 other_data:
51 .word 0x5678
52 .ds.l 1
55 .end