First version committed to git
[zpugcc/jano.git] / toolchain / binutils / gas / testsuite / gas / sh / sh64 / rel-4.s
blob411cb0a92281d689e7224d1bd3acf40cd37fc761
1 ! Like rel-3.s, but as with rel-2 vs. rel-1, using "$", not "datalabel $"
2 ! as self expression.
4 .mode SHmedia
5 .text
6 start:
7 movi datalabel data1 - $,r10
8 movi (datalabel data2 - $) & 65535,r10
9 movi ((datalabel data3 - $) >> 0) & 65535,r10
10 movi ((datalabel data4 - $) >> 16) & 65535,r10
11 movi datalabel data5 + 8 - $,r10
12 movi (datalabel data6 + 16 - $) & 65535,r10
13 movi ((datalabel data7 + 12 - $) >> 0) & 65535,r10
14 movi ((datalabel data8 + 4 - $) >> 16) & 65535,r10
16 movi datalabel othertext1 - $,r10
17 movi (datalabel othertext2 - $) & 65535,r10
18 movi ((datalabel othertext3 - $) >> 0) & 65535,r10
19 movi ((datalabel othertext4 - $) >> 16) & 65535,r10
20 movi datalabel othertext5 + 8 - $,r10
21 movi (datalabel othertext6 + 16 - $) & 65535,r10
22 movi ((datalabel othertext7 + 12 - $) >> 0) & 65535,r10
23 movi ((datalabel othertext8 + 4 - $) >> 16) & 65535,r10
25 movi datalabel extern1 - $,r10
26 movi (datalabel extern2 - $) & 65535,r10
27 movi ((datalabel extern3 - $) >> 0) & 65535,r10
28 movi ((datalabel extern4 - $) >> 16) & 65535,r10
29 movi datalabel extern5 + 8 - $,r10
30 movi (datalabel extern6 + 16 - $) & 65535,r10
31 movi ((datalabel extern7 + 12 - $) >> 0) & 65535,r10
32 movi ((datalabel extern8 + 4 - $) >> 16) & 65535,r10
34 movi datalabel gdata1 - $,r10
35 movi (datalabel gdata2 - $) & 65535,r10
36 movi ((datalabel gdata3 - $) >> 0) & 65535,r10
37 movi ((datalabel gdata4 - $) >> 16) & 65535,r10
38 movi datalabel gdata5 + 8 - $,r10
39 movi (datalabel gdata6 + 16 - $) & 65535,r10
40 movi ((datalabel gdata7 + 12 - $) >> 0) & 65535,r10
41 movi ((datalabel gdata8 + 4 - $) >> 16) & 65535,r10
43 movi datalabel gothertext1 - $,r10
44 movi (datalabel gothertext2 - $) & 65535,r10
45 movi ((datalabel gothertext3 - $) >> 0) & 65535,r10
46 movi ((datalabel gothertext4 - $) >> 16) & 65535,r10
47 movi datalabel gothertext5 + 8 - $,r10
48 movi (datalabel gothertext6 + 16 - $) & 65535,r10
49 movi ((datalabel gothertext7 + 12 - $) >> 0) & 65535,r10
50 movi ((datalabel gothertext8 + 4 - $) >> 16) & 65535,r10
52 .section .othertext,"ax"
54 nop
55 othertext1:
56 nop
57 othertext2:
58 nop
59 othertext3:
60 nop
61 othertext4:
62 nop
63 othertext5:
64 nop
65 othertext6:
66 nop
67 othertext7:
68 nop
69 othertext8:
70 nop
71 .global gothertext1
72 gothertext1:
73 nop
74 .global gothertext2
75 gothertext2:
76 nop
77 .global gothertext3
78 gothertext3:
79 nop
80 .global gothertext4
81 gothertext4:
82 nop
83 .global gothertext5
84 gothertext5:
85 nop
86 .global gothertext6
87 gothertext6:
88 nop
89 .global gothertext7
90 gothertext7:
91 nop
92 .global gothertext8
93 gothertext8:
94 nop
96 .data
98 .long 0
99 data1:
100 .long 0
101 data2:
102 .long 0
103 data3:
104 .long 0
105 data4:
106 .long 0
107 data5:
108 .long 0
109 data6:
110 .long 0
111 data7:
112 .long 0
113 data8:
114 .long 0
115 .global gdata1
116 gdata1:
117 .long 0
118 .global gdata2
119 gdata2:
120 .long 0
121 .global gdata3
122 gdata3:
123 .long 0
124 .global gdata4
125 gdata4:
126 .long 0
127 .global gdata5
128 gdata5:
129 .long 0
130 .global gdata6
131 gdata6:
132 .long 0
133 .global gdata7
134 gdata7:
135 .long 0
136 .global gdata8
137 gdata8:
138 .long 0