* contrib: Remove directory.
[binutils.git] / ld / testsuite / ld-mips-elf / elf-rel-got-n32.d
blob5b3df078626a7b252d571d95655e76e9424e1b22
1 #name: MIPS ELF got reloc n32
2 #as: -EB -n32 -KPIC
3 #source: ../../../gas/testsuite/gas/mips/elf-rel-got-n32.s
4 #ld: -melf32btsmipn32
5 #objdump: -D --show-raw-insn
7 .*: +file format elf32-n.*mips.*
9 Disassembly of section \.text:
11 100000a0 <fn>:
12 100000a0: 8f858064 lw a1,-32668\(gp\)
13 100000a4: 8f858064 lw a1,-32668\(gp\)
14 100000a8: 24a5000c addiu a1,a1,12
15 100000ac: 8f858064 lw a1,-32668\(gp\)
16 100000b0: 3c010001 lui at,0x1
17 100000b4: 3421e240 ori at,at,0xe240
18 100000b8: 00a12821 addu a1,a1,at
19 100000bc: 8f858064 lw a1,-32668\(gp\)
20 100000c0: 00b12821 addu a1,a1,s1
21 100000c4: 8f858064 lw a1,-32668\(gp\)
22 100000c8: 24a5000c addiu a1,a1,12
23 100000cc: 00b12821 addu a1,a1,s1
24 100000d0: 8f858064 lw a1,-32668\(gp\)
25 100000d4: 3c010001 lui at,0x1
26 100000d8: 3421e240 ori at,at,0xe240
27 100000dc: 00a12821 addu a1,a1,at
28 100000e0: 00b12821 addu a1,a1,s1
29 100000e4: 8f858018 lw a1,-32744\(gp\)
30 100000e8: 8ca5050c lw a1,1292\(a1\)
31 100000ec: 8f858018 lw a1,-32744\(gp\)
32 100000f0: 8ca50518 lw a1,1304\(a1\)
33 100000f4: 8f858018 lw a1,-32744\(gp\)
34 100000f8: 00b12821 addu a1,a1,s1
35 100000fc: 8ca5050c lw a1,1292\(a1\)
36 10000100: 8f858018 lw a1,-32744\(gp\)
37 10000104: 00b12821 addu a1,a1,s1
38 10000108: 8ca50518 lw a1,1304\(a1\)
39 1000010c: 8f818018 lw at,-32744\(gp\)
40 10000110: 00250821 addu at,at,a1
41 10000114: 8c25052e lw a1,1326\(at\)
42 10000118: 8f818018 lw at,-32744\(gp\)
43 1000011c: 00250821 addu at,at,a1
44 10000120: ac250544 sw a1,1348\(at\)
45 10000124: 8f818064 lw at,-32668\(gp\)
46 10000128: 88250000 lwl a1,0\(at\)
47 1000012c: 98250003 lwr a1,3\(at\)
48 10000130: 8f818064 lw at,-32668\(gp\)
49 10000134: 2421000c addiu at,at,12
50 10000138: 88250000 lwl a1,0\(at\)
51 1000013c: 98250003 lwr a1,3\(at\)
52 10000140: 8f818064 lw at,-32668\(gp\)
53 10000144: 00310821 addu at,at,s1
54 10000148: 88250000 lwl a1,0\(at\)
55 1000014c: 98250003 lwr a1,3\(at\)
56 10000150: 8f818064 lw at,-32668\(gp\)
57 10000154: 2421000c addiu at,at,12
58 10000158: 00310821 addu at,at,s1
59 1000015c: 88250000 lwl a1,0\(at\)
60 10000160: 98250003 lwr a1,3\(at\)
61 10000164: 8f818064 lw at,-32668\(gp\)
62 10000168: 24210022 addiu at,at,34
63 1000016c: 00250821 addu at,at,a1
64 10000170: 88250000 lwl a1,0\(at\)
65 10000174: 98250003 lwr a1,3\(at\)
66 10000178: 8f818064 lw at,-32668\(gp\)
67 1000017c: 24210038 addiu at,at,56
68 10000180: 00250821 addu at,at,a1
69 10000184: a8250000 swl a1,0\(at\)
70 10000188: b8250003 swr a1,3\(at\)
71 1000018c: 8f85801c lw a1,-32740\(gp\)
72 10000190: 8f858020 lw a1,-32736\(gp\)
73 10000194: 8f858024 lw a1,-32732\(gp\)
74 10000198: 8f85801c lw a1,-32740\(gp\)
75 1000019c: 00b12821 addu a1,a1,s1
76 100001a0: 8f858020 lw a1,-32736\(gp\)
77 100001a4: 00b12821 addu a1,a1,s1
78 100001a8: 8f858024 lw a1,-32732\(gp\)
79 100001ac: 00b12821 addu a1,a1,s1
80 100001b0: 8f858018 lw a1,-32744\(gp\)
81 100001b4: 8ca5050c lw a1,1292\(a1\)
82 100001b8: 8f858018 lw a1,-32744\(gp\)
83 100001bc: 8ca50518 lw a1,1304\(a1\)
84 100001c0: 8f858018 lw a1,-32744\(gp\)
85 100001c4: 00b12821 addu a1,a1,s1
86 100001c8: 8ca5050c lw a1,1292\(a1\)
87 100001cc: 8f858018 lw a1,-32744\(gp\)
88 100001d0: 00b12821 addu a1,a1,s1
89 100001d4: 8ca50518 lw a1,1304\(a1\)
90 100001d8: 8f818018 lw at,-32744\(gp\)
91 100001dc: 00250821 addu at,at,a1
92 100001e0: 8c25052e lw a1,1326\(at\)
93 100001e4: 8f818018 lw at,-32744\(gp\)
94 100001e8: 00250821 addu at,at,a1
95 100001ec: ac250544 sw a1,1348\(at\)
96 100001f0: 8f81801c lw at,-32740\(gp\)
97 100001f4: 88250000 lwl a1,0\(at\)
98 100001f8: 98250003 lwr a1,3\(at\)
99 100001fc: 8f818020 lw at,-32736\(gp\)
100 10000200: 88250000 lwl a1,0\(at\)
101 10000204: 98250003 lwr a1,3\(at\)
102 10000208: 8f81801c lw at,-32740\(gp\)
103 1000020c: 00310821 addu at,at,s1
104 10000210: 88250000 lwl a1,0\(at\)
105 10000214: 98250003 lwr a1,3\(at\)
106 10000218: 8f818020 lw at,-32736\(gp\)
107 1000021c: 00310821 addu at,at,s1
108 10000220: 88250000 lwl a1,0\(at\)
109 10000224: 98250003 lwr a1,3\(at\)
110 10000228: 8f818028 lw at,-32728\(gp\)
111 1000022c: 00250821 addu at,at,a1
112 10000230: 88250000 lwl a1,0\(at\)
113 10000234: 98250003 lwr a1,3\(at\)
114 10000238: 8f81802c lw at,-32724\(gp\)
115 1000023c: 00250821 addu at,at,a1
116 10000240: a8250000 swl a1,0\(at\)
117 10000244: b8250003 swr a1,3\(at\)
118 10000248: 8f85805c lw a1,-32676\(gp\)
119 1000024c: 8f858030 lw a1,-32720\(gp\)
120 10000250: 8f99805c lw t9,-32676\(gp\)
121 10000254: 8f998030 lw t9,-32720\(gp\)
122 10000258: 8f99805c lw t9,-32676\(gp\)
123 1000025c: 0320f809 jalr t9
124 10000260: 00000000 nop
125 10000264: 8f998030 lw t9,-32720\(gp\)
126 10000268: 0320f809 jalr t9
127 1000026c: 00000000 nop
128 10000270: 8f858068 lw a1,-32664\(gp\)
129 10000274: 8f858068 lw a1,-32664\(gp\)
130 10000278: 24a5000c addiu a1,a1,12
131 1000027c: 8f858068 lw a1,-32664\(gp\)
132 10000280: 3c010001 lui at,0x1
133 10000284: 3421e240 ori at,at,0xe240
134 10000288: 00a12821 addu a1,a1,at
135 1000028c: 8f858068 lw a1,-32664\(gp\)
136 10000290: 00b12821 addu a1,a1,s1
137 10000294: 8f858068 lw a1,-32664\(gp\)
138 10000298: 24a5000c addiu a1,a1,12
139 1000029c: 00b12821 addu a1,a1,s1
140 100002a0: 8f858068 lw a1,-32664\(gp\)
141 100002a4: 3c010001 lui at,0x1
142 100002a8: 3421e240 ori at,at,0xe240
143 100002ac: 00a12821 addu a1,a1,at
144 100002b0: 00b12821 addu a1,a1,s1
145 100002b4: 8f858018 lw a1,-32744\(gp\)
146 100002b8: 8ca50584 lw a1,1412\(a1\)
147 100002bc: 8f858018 lw a1,-32744\(gp\)
148 100002c0: 8ca50590 lw a1,1424\(a1\)
149 100002c4: 8f858018 lw a1,-32744\(gp\)
150 100002c8: 00b12821 addu a1,a1,s1
151 100002cc: 8ca50584 lw a1,1412\(a1\)
152 100002d0: 8f858018 lw a1,-32744\(gp\)
153 100002d4: 00b12821 addu a1,a1,s1
154 100002d8: 8ca50590 lw a1,1424\(a1\)
155 100002dc: 8f818018 lw at,-32744\(gp\)
156 100002e0: 00250821 addu at,at,a1
157 100002e4: 8c2505a6 lw a1,1446\(at\)
158 100002e8: 8f818018 lw at,-32744\(gp\)
159 100002ec: 00250821 addu at,at,a1
160 100002f0: ac2505bc sw a1,1468\(at\)
161 100002f4: 8f818068 lw at,-32664\(gp\)
162 100002f8: 88250000 lwl a1,0\(at\)
163 100002fc: 98250003 lwr a1,3\(at\)
164 10000300: 8f818068 lw at,-32664\(gp\)
165 10000304: 2421000c addiu at,at,12
166 10000308: 88250000 lwl a1,0\(at\)
167 1000030c: 98250003 lwr a1,3\(at\)
168 10000310: 8f818068 lw at,-32664\(gp\)
169 10000314: 00310821 addu at,at,s1
170 10000318: 88250000 lwl a1,0\(at\)
171 1000031c: 98250003 lwr a1,3\(at\)
172 10000320: 8f818068 lw at,-32664\(gp\)
173 10000324: 2421000c addiu at,at,12
174 10000328: 00310821 addu at,at,s1
175 1000032c: 88250000 lwl a1,0\(at\)
176 10000330: 98250003 lwr a1,3\(at\)
177 10000334: 8f818068 lw at,-32664\(gp\)
178 10000338: 24210022 addiu at,at,34
179 1000033c: 00250821 addu at,at,a1
180 10000340: 88250000 lwl a1,0\(at\)
181 10000344: 98250003 lwr a1,3\(at\)
182 10000348: 8f818068 lw at,-32664\(gp\)
183 1000034c: 24210038 addiu at,at,56
184 10000350: 00250821 addu at,at,a1
185 10000354: a8250000 swl a1,0\(at\)
186 10000358: b8250003 swr a1,3\(at\)
187 1000035c: 8f858034 lw a1,-32716\(gp\)
188 10000360: 8f858038 lw a1,-32712\(gp\)
189 10000364: 8f85803c lw a1,-32708\(gp\)
190 10000368: 8f858034 lw a1,-32716\(gp\)
191 1000036c: 00b12821 addu a1,a1,s1
192 10000370: 8f858038 lw a1,-32712\(gp\)
193 10000374: 00b12821 addu a1,a1,s1
194 10000378: 8f85803c lw a1,-32708\(gp\)
195 1000037c: 00b12821 addu a1,a1,s1
196 10000380: 8f858018 lw a1,-32744\(gp\)
197 10000384: 8ca50584 lw a1,1412\(a1\)
198 10000388: 8f858018 lw a1,-32744\(gp\)
199 1000038c: 8ca50590 lw a1,1424\(a1\)
200 10000390: 8f858018 lw a1,-32744\(gp\)
201 10000394: 00b12821 addu a1,a1,s1
202 10000398: 8ca50584 lw a1,1412\(a1\)
203 1000039c: 8f858018 lw a1,-32744\(gp\)
204 100003a0: 00b12821 addu a1,a1,s1
205 100003a4: 8ca50590 lw a1,1424\(a1\)
206 100003a8: 8f818018 lw at,-32744\(gp\)
207 100003ac: 00250821 addu at,at,a1
208 100003b0: 8c2505a6 lw a1,1446\(at\)
209 100003b4: 8f818018 lw at,-32744\(gp\)
210 100003b8: 00250821 addu at,at,a1
211 100003bc: ac2505bc sw a1,1468\(at\)
212 100003c0: 8f818034 lw at,-32716\(gp\)
213 100003c4: 88250000 lwl a1,0\(at\)
214 100003c8: 98250003 lwr a1,3\(at\)
215 100003cc: 8f818038 lw at,-32712\(gp\)
216 100003d0: 88250000 lwl a1,0\(at\)
217 100003d4: 98250003 lwr a1,3\(at\)
218 100003d8: 8f818034 lw at,-32716\(gp\)
219 100003dc: 00310821 addu at,at,s1
220 100003e0: 88250000 lwl a1,0\(at\)
221 100003e4: 98250003 lwr a1,3\(at\)
222 100003e8: 8f818038 lw at,-32712\(gp\)
223 100003ec: 00310821 addu at,at,s1
224 100003f0: 88250000 lwl a1,0\(at\)
225 100003f4: 98250003 lwr a1,3\(at\)
226 100003f8: 8f818040 lw at,-32704\(gp\)
227 100003fc: 00250821 addu at,at,a1
228 10000400: 88250000 lwl a1,0\(at\)
229 10000404: 98250003 lwr a1,3\(at\)
230 10000408: 8f818044 lw at,-32700\(gp\)
231 1000040c: 00250821 addu at,at,a1
232 10000410: a8250000 swl a1,0\(at\)
233 10000414: b8250003 swr a1,3\(at\)
234 10000418: 8f858060 lw a1,-32672\(gp\)
235 1000041c: 8f858048 lw a1,-32696\(gp\)
236 10000420: 8f998060 lw t9,-32672\(gp\)
237 10000424: 8f998048 lw t9,-32696\(gp\)
238 10000428: 8f998060 lw t9,-32672\(gp\)
239 1000042c: 0320f809 jalr t9
240 10000430: 00000000 nop
241 10000434: 8f998048 lw t9,-32696\(gp\)
242 10000438: 0320f809 jalr t9
243 1000043c: 00000000 nop
244 10000440: 1000ff17 b 100000a0 <fn>
245 10000444: 8f858064 lw a1,-32668\(gp\)
246 10000448: 8f858018 lw a1,-32744\(gp\)
247 1000044c: 10000015 b 100004a4 <fn2>
248 10000450: 8ca50584 lw a1,1412\(a1\)
249 10000454: 1000ff12 b 100000a0 <fn>
250 10000458: 8f85801c lw a1,-32740\(gp\)
251 1000045c: 8f858038 lw a1,-32712\(gp\)
252 10000460: 10000010 b 100004a4 <fn2>
253 10000464: 00000000 nop
254 10000468: 8f858024 lw a1,-32732\(gp\)
255 1000046c: 1000ff0c b 100000a0 <fn>
256 10000470: 00000000 nop
257 10000474: 8f858018 lw a1,-32744\(gp\)
258 10000478: 1000000a b 100004a4 <fn2>
259 1000047c: 8ca50584 lw a1,1412\(a1\)
260 10000480: 8f858018 lw a1,-32744\(gp\)
261 10000484: 1000ff06 b 100000a0 <fn>
262 10000488: 8ca50518 lw a1,1304\(a1\)
263 1000048c: 8f818018 lw at,-32744\(gp\)
264 10000490: 00250821 addu at,at,a1
265 10000494: 10000003 b 100004a4 <fn2>
266 10000498: 8c2505a6 lw a1,1446\(at\)
267 \.\.\.
269 100004a4 <fn2>:
270 \.\.\.
271 Disassembly of section \.reginfo:
273 100004b0 <\.reginfo>:
274 100004b0: 92020022 .*
275 \.\.\.
276 100004c4: 101085b0 .*
277 Disassembly of section \.data:
279 101004d0 <_fdata>:
280 \.\.\.
282 1010050c <dg1>:
283 \.\.\.
285 10100548 <sp2>:
286 \.\.\.
288 10100584 <dg2>:
289 \.\.\.
290 Disassembly of section \.got:
292 101005c0 <_GLOBAL_OFFSET_TABLE_>:
293 101005c0: 00000000 .*
294 101005c4: 80000000 .*
295 101005c8: 10100000 .*
296 101005cc: 1010050c .*
297 101005d0: 10100518 .*
298 101005d4: 1011e74c .*
299 101005d8: 1010052e .*
300 101005dc: 10100544 .*
301 101005e0: 100000a0 .*
302 101005e4: 10100584 .*
303 101005e8: 10100590 .*
304 101005ec: 1011e7c4 .*
305 101005f0: 101005a6 .*
306 101005f4: 101005bc .*
307 101005f8: 100004a4 .*
308 101005fc: 00000000 .*
309 \.\.\.
310 1010060c: 100000a0 .*
311 10100610: 100004a4 .*
312 10100614: 1010050c .*
313 10100618: 10100584 .*
314 #pass