daily update
[binutils.git] / ld / testsuite / ld-sh / sh64 / reldl-2.s
blobd632021db0de599ada5240fcec6ed80cba931547
1 ! Relative linking with datalabel use, second file. Much like rel-2.s
3 .mode SHmedia
4 .text
5 .global start2
6 start2:
7 nop
8 .global file2text1
9 file2text1:
10 nop
11 movi file2text1 & 65535,r10
12 .global file2text2
13 file2text2:
14 movi file2data2 & 65535,r20
15 .global file2text3
16 file2text3:
17 movi file1text3 & 65535,r20
18 .global file2text4
19 file2text4:
20 movi file1data4 & 65535,r20
21 movi unresolved1 & 65535,r30
22 movi unresolved3 & 65535,r30
23 movi datalabel unresolved8 & 65535,r50
24 movi datalabel unresolved9 & 65535,r50
25 movi datalabel file1text1 & 65535,r40
26 movi datalabel file1data2 & 65535,r40
27 movi datalabel file1data3 & 65535,r40
28 .global c1
29 c1:
30 nop
31 .global c2
32 c2:
33 nop
34 .global c3
35 c3:
36 nop
37 .global c4
38 c4:
39 nop
40 .global c12
41 c12:
42 nop
43 .global c13
44 c13:
45 nop
46 .global c23
47 c23:
48 nop
49 .global c123
50 c123:
51 nop
53 .global ob1
54 ob1:
55 nop
56 .global ob2
57 ob2:
58 nop
59 .global ob3
60 ob3:
61 nop
62 .global ob4
63 ob4:
64 nop
65 .global ob12
66 ob12:
67 nop
68 .global ob13
69 ob13:
70 nop
71 .global ob23
72 ob23:
73 nop
74 .global ob123
75 ob123:
76 nop
78 .data
79 .long 0
80 .global file2data1
81 file2data1:
82 .long 0
83 .long file2data1
84 .global file2data2
85 file2data2:
86 .long file2text2
87 .global file2data3
88 file2data3:
89 .long file1data3
90 .global file2data4
91 file2data4:
92 .long file1text4
93 .long unresolved2
94 .long unresolved4
96 .long datalabel oa1
97 .long datalabel oa2
98 .long datalabel oa3
99 .long oa13
100 .long oc13
101 .long datalabel oa4
102 .long datalabel oa12
103 .long datalabel oa13
104 .long datalabel oa23
105 .long oa23
106 .long oa123
107 .long oc3
108 .long datalabel oa123
109 .long datalabel ob1
110 .long datalabel ob2
111 .long datalabel ob3
112 .long datalabel ob4
113 .long oa3
114 .long oc23
115 .long oc123
116 .long datalabel ob12
117 .long datalabel ob13
118 .long ob13
119 .long ob23
120 .long datalabel ob23
121 .long datalabel ob123
122 .long datalabel oc1
123 .long ob3
124 .long ob123
125 .long datalabel oc2
126 .long datalabel oc3
127 .long datalabel oc4
128 .long datalabel oc12
129 .long datalabel oc13
130 .long datalabel oc23
131 .long datalabel oc123
133 .long datalabel a1
134 .long c2
135 .long b23
136 .long datalabel b1
137 .long datalabel c1
138 .long datalabel a12
139 .long a2
140 .long b2
141 .long datalabel b12
142 .long datalabel c12
143 .long b123
144 .long c123
145 .long datalabel a13
146 .long datalabel b13
147 .long c23
148 .long a123
149 .long datalabel c13
150 .long datalabel a123
151 .long c12
152 .long a23
153 .long datalabel b123
154 .long a12
155 .long b12
156 .long datalabel c123