1 #name: MIPS ELF got reloc n64
2 #as: -march=from-abi -EB -64 -KPIC
3 #objcopy_objects: -R .MIPS.abiflags
4 #source: ../../../gas/testsuite/gas/mips/elf-rel-got-n64.s RUN_OBJCOPY
5 #ld:
6 #objdump: -D --show-raw-insn
7 
8 .*: +file format elf64-.*mips.*
9 
10 Disassembly of section \.MIPS\.options:
11 
12 00000000100000e8 <\.MIPS\.options>:
13     100000e8:	01280000 	.*
14     100000ec:	00000000 	.*
15     100000f0:	92020022 	.*
16 	\.\.\.
17     1000010c:	10018600 	.*
18 Disassembly of section \.text:
19 
20 0000000010000110 <fn>:
21     10000110:	df858020 	ld	a1,-32736\(gp\)
22     10000114:	df858020 	ld	a1,-32736\(gp\)
23     10000118:	64a5000c 	daddiu	a1,a1,12
24     1000011c:	df858020 	ld	a1,-32736\(gp\)
25     10000120:	3c010001 	lui	at,0x1
26     10000124:	3421e240 	ori	at,at,0xe240
27     10000128:	00a1282d 	daddu	a1,a1,at
28     1000012c:	df858020 	ld	a1,-32736\(gp\)
29     10000130:	00b1282d 	daddu	a1,a1,s1
30     10000134:	df858020 	ld	a1,-32736\(gp\)
31     10000138:	64a5000c 	daddiu	a1,a1,12
32     1000013c:	00b1282d 	daddu	a1,a1,s1
33     10000140:	df858020 	ld	a1,-32736\(gp\)
34     10000144:	3c010001 	lui	at,0x1
35     10000148:	3421e240 	ori	at,at,0xe240
36     1000014c:	00a1282d 	daddu	a1,a1,at
37     10000150:	00b1282d 	daddu	a1,a1,s1
38     10000154:	df858028 	ld	a1,-32728\(gp\)
39     10000158:	dca5055c 	ld	a1,1372\(a1\)
40     1000015c:	df858028 	ld	a1,-32728\(gp\)
41     10000160:	dca50568 	ld	a1,1384\(a1\)
42     10000164:	df858028 	ld	a1,-32728\(gp\)
43     10000168:	00b1282d 	daddu	a1,a1,s1
44     1000016c:	dca5055c 	ld	a1,1372\(a1\)
45     10000170:	df858028 	ld	a1,-32728\(gp\)
46     10000174:	00b1282d 	daddu	a1,a1,s1
47     10000178:	dca50568 	ld	a1,1384\(a1\)
48     1000017c:	df818028 	ld	at,-32728\(gp\)
49     10000180:	0025082d 	daddu	at,at,a1
50     10000184:	dc25057e 	ld	a1,1406\(at\)
51     10000188:	df818028 	ld	at,-32728\(gp\)
52     1000018c:	0025082d 	daddu	at,at,a1
53     10000190:	fc250594 	sd	a1,1428\(at\)
54     10000194:	df818020 	ld	at,-32736\(gp\)
55     10000198:	88250000 	lwl	a1,0\(at\)
56     1000019c:	98250003 	lwr	a1,3\(at\)
57     100001a0:	df818020 	ld	at,-32736\(gp\)
58     100001a4:	6421000c 	daddiu	at,at,12
59     100001a8:	88250000 	lwl	a1,0\(at\)
60     100001ac:	98250003 	lwr	a1,3\(at\)
61     100001b0:	df818020 	ld	at,-32736\(gp\)
62     100001b4:	0031082d 	daddu	at,at,s1
63     100001b8:	88250000 	lwl	a1,0\(at\)
64     100001bc:	98250003 	lwr	a1,3\(at\)
65     100001c0:	df818020 	ld	at,-32736\(gp\)
66     100001c4:	6421000c 	daddiu	at,at,12
67     100001c8:	0031082d 	daddu	at,at,s1
68     100001cc:	88250000 	lwl	a1,0\(at\)
69     100001d0:	98250003 	lwr	a1,3\(at\)
70     100001d4:	df818020 	ld	at,-32736\(gp\)
71     100001d8:	64210022 	daddiu	at,at,34
72     100001dc:	0025082d 	daddu	at,at,a1
73     100001e0:	88250000 	lwl	a1,0\(at\)
74     100001e4:	98250003 	lwr	a1,3\(at\)
75     100001e8:	df818020 	ld	at,-32736\(gp\)
76     100001ec:	64210038 	daddiu	at,at,56
77     100001f0:	0025082d 	daddu	at,at,a1
78     100001f4:	a8250000 	swl	a1,0\(at\)
79     100001f8:	b8250003 	swr	a1,3\(at\)
80     100001fc:	df858020 	ld	a1,-32736\(gp\)
81     10000200:	df858030 	ld	a1,-32720\(gp\)
82     10000204:	df858038 	ld	a1,-32712\(gp\)
83     10000208:	df858020 	ld	a1,-32736\(gp\)
84     1000020c:	00b1282d 	daddu	a1,a1,s1
85     10000210:	df858030 	ld	a1,-32720\(gp\)
86     10000214:	00b1282d 	daddu	a1,a1,s1
87     10000218:	df858038 	ld	a1,-32712\(gp\)
88     1000021c:	00b1282d 	daddu	a1,a1,s1
89     10000220:	df858028 	ld	a1,-32728\(gp\)
90     10000224:	dca5055c 	ld	a1,1372\(a1\)
91     10000228:	df858028 	ld	a1,-32728\(gp\)
92     1000022c:	dca50568 	ld	a1,1384\(a1\)
93     10000230:	df858028 	ld	a1,-32728\(gp\)
94     10000234:	00b1282d 	daddu	a1,a1,s1
95     10000238:	dca5055c 	ld	a1,1372\(a1\)
96     1000023c:	df858028 	ld	a1,-32728\(gp\)
97     10000240:	00b1282d 	daddu	a1,a1,s1
98     10000244:	dca50568 	ld	a1,1384\(a1\)
99     10000248:	df818028 	ld	at,-32728\(gp\)
100     1000024c:	0025082d 	daddu	at,at,a1
101     10000250:	dc25057e 	ld	a1,1406\(at\)
102     10000254:	df818028 	ld	at,-32728\(gp\)
103     10000258:	0025082d 	daddu	at,at,a1
104     1000025c:	fc250594 	sd	a1,1428\(at\)
105     10000260:	df818020 	ld	at,-32736\(gp\)
106     10000264:	88250000 	lwl	a1,0\(at\)
107     10000268:	98250003 	lwr	a1,3\(at\)
108     1000026c:	df818030 	ld	at,-32720\(gp\)
109     10000270:	88250000 	lwl	a1,0\(at\)
110     10000274:	98250003 	lwr	a1,3\(at\)
111     10000278:	df818020 	ld	at,-32736\(gp\)
112     1000027c:	0031082d 	daddu	at,at,s1
113     10000280:	88250000 	lwl	a1,0\(at\)
114     10000284:	98250003 	lwr	a1,3\(at\)
115     10000288:	df818030 	ld	at,-32720\(gp\)
116     1000028c:	0031082d 	daddu	at,at,s1
117     10000290:	88250000 	lwl	a1,0\(at\)
118     10000294:	98250003 	lwr	a1,3\(at\)
119     10000298:	df818040 	ld	at,-32704\(gp\)
120     1000029c:	0025082d 	daddu	at,at,a1
121     100002a0:	88250000 	lwl	a1,0\(at\)
122     100002a4:	98250003 	lwr	a1,3\(at\)
123     100002a8:	df818048 	ld	at,-32696\(gp\)
124     100002ac:	0025082d 	daddu	at,at,a1
125     100002b0:	a8250000 	swl	a1,0\(at\)
126     100002b4:	b8250003 	swr	a1,3\(at\)
127     100002b8:	df858050 	ld	a1,-32688\(gp\)
128     100002bc:	df858050 	ld	a1,-32688\(gp\)
129     100002c0:	df998050 	ld	t9,-32688\(gp\)
130     100002c4:	df998050 	ld	t9,-32688\(gp\)
131     100002c8:	df998050 	ld	t9,-32688\(gp\)
132     100002cc:	0411ff90 	bal	10000110 <fn>
133     100002d0:	00000000 	nop
134     100002d4:	df998050 	ld	t9,-32688\(gp\)
135     100002d8:	0411ff8d 	bal	10000110 <fn>
136     100002dc:	00000000 	nop
137     100002e0:	df858058 	ld	a1,-32680\(gp\)
138     100002e4:	df858058 	ld	a1,-32680\(gp\)
139     100002e8:	64a5000c 	daddiu	a1,a1,12
140     100002ec:	df858058 	ld	a1,-32680\(gp\)
141     100002f0:	3c010001 	lui	at,0x1
142     100002f4:	3421e240 	ori	at,at,0xe240
143     100002f8:	00a1282d 	daddu	a1,a1,at
144     100002fc:	df858058 	ld	a1,-32680\(gp\)
145     10000300:	00b1282d 	daddu	a1,a1,s1
146     10000304:	df858058 	ld	a1,-32680\(gp\)
147     10000308:	64a5000c 	daddiu	a1,a1,12
148     1000030c:	00b1282d 	daddu	a1,a1,s1
149     10000310:	df858058 	ld	a1,-32680\(gp\)
150     10000314:	3c010001 	lui	at,0x1
151     10000318:	3421e240 	ori	at,at,0xe240
152     1000031c:	00a1282d 	daddu	a1,a1,at
153     10000320:	00b1282d 	daddu	a1,a1,s1
154     10000324:	df858028 	ld	a1,-32728\(gp\)
155     10000328:	dca505d4 	ld	a1,1492\(a1\)
156     1000032c:	df858028 	ld	a1,-32728\(gp\)
157     10000330:	dca505e0 	ld	a1,1504\(a1\)
158     10000334:	df858028 	ld	a1,-32728\(gp\)
159     10000338:	00b1282d 	daddu	a1,a1,s1
160     1000033c:	dca505d4 	ld	a1,1492\(a1\)
161     10000340:	df858028 	ld	a1,-32728\(gp\)
162     10000344:	00b1282d 	daddu	a1,a1,s1
163     10000348:	dca505e0 	ld	a1,1504\(a1\)
164     1000034c:	df818028 	ld	at,-32728\(gp\)
165     10000350:	0025082d 	daddu	at,at,a1
166     10000354:	dc2505f6 	ld	a1,1526\(at\)
167     10000358:	df818028 	ld	at,-32728\(gp\)
168     1000035c:	0025082d 	daddu	at,at,a1
169     10000360:	fc25060c 	sd	a1,1548\(at\)
170     10000364:	df818058 	ld	at,-32680\(gp\)
171     10000368:	88250000 	lwl	a1,0\(at\)
172     1000036c:	98250003 	lwr	a1,3\(at\)
173     10000370:	df818058 	ld	at,-32680\(gp\)
174     10000374:	6421000c 	daddiu	at,at,12
175     10000378:	88250000 	lwl	a1,0\(at\)
176     1000037c:	98250003 	lwr	a1,3\(at\)
177     10000380:	df818058 	ld	at,-32680\(gp\)
178     10000384:	0031082d 	daddu	at,at,s1
179     10000388:	88250000 	lwl	a1,0\(at\)
180     1000038c:	98250003 	lwr	a1,3\(at\)
181     10000390:	df818058 	ld	at,-32680\(gp\)
182     10000394:	6421000c 	daddiu	at,at,12
183     10000398:	0031082d 	daddu	at,at,s1
184     1000039c:	88250000 	lwl	a1,0\(at\)
185     100003a0:	98250003 	lwr	a1,3\(at\)
186     100003a4:	df818058 	ld	at,-32680\(gp\)
187     100003a8:	64210022 	daddiu	at,at,34
188     100003ac:	0025082d 	daddu	at,at,a1
189     100003b0:	88250000 	lwl	a1,0\(at\)
190     100003b4:	98250003 	lwr	a1,3\(at\)
191     100003b8:	df818058 	ld	at,-32680\(gp\)
192     100003bc:	64210038 	daddiu	at,at,56
193     100003c0:	0025082d 	daddu	at,at,a1
194     100003c4:	a8250000 	swl	a1,0\(at\)
195     100003c8:	b8250003 	swr	a1,3\(at\)
196     100003cc:	df858058 	ld	a1,-32680\(gp\)
197     100003d0:	df858060 	ld	a1,-32672\(gp\)
198     100003d4:	df858068 	ld	a1,-32664\(gp\)
199     100003d8:	df858058 	ld	a1,-32680\(gp\)
200     100003dc:	00b1282d 	daddu	a1,a1,s1
201     100003e0:	df858060 	ld	a1,-32672\(gp\)
202     100003e4:	00b1282d 	daddu	a1,a1,s1
203     100003e8:	df858068 	ld	a1,-32664\(gp\)
204     100003ec:	00b1282d 	daddu	a1,a1,s1
205     100003f0:	df858028 	ld	a1,-32728\(gp\)
206     100003f4:	dca505d4 	ld	a1,1492\(a1\)
207     100003f8:	df858028 	ld	a1,-32728\(gp\)
208     100003fc:	dca505e0 	ld	a1,1504\(a1\)
209     10000400:	df858028 	ld	a1,-32728\(gp\)
210     10000404:	00b1282d 	daddu	a1,a1,s1
211     10000408:	dca505d4 	ld	a1,1492\(a1\)
212     1000040c:	df858028 	ld	a1,-32728\(gp\)
213     10000410:	00b1282d 	daddu	a1,a1,s1
214     10000414:	dca505e0 	ld	a1,1504\(a1\)
215     10000418:	df818028 	ld	at,-32728\(gp\)
216     1000041c:	0025082d 	daddu	at,at,a1
217     10000420:	dc2505f6 	ld	a1,1526\(at\)
218     10000424:	df818028 	ld	at,-32728\(gp\)
219     10000428:	0025082d 	daddu	at,at,a1
220     1000042c:	fc25060c 	sd	a1,1548\(at\)
221     10000430:	df818058 	ld	at,-32680\(gp\)
222     10000434:	88250000 	lwl	a1,0\(at\)
223     10000438:	98250003 	lwr	a1,3\(at\)
224     1000043c:	df818060 	ld	at,-32672\(gp\)
225     10000440:	88250000 	lwl	a1,0\(at\)
226     10000444:	98250003 	lwr	a1,3\(at\)
227     10000448:	df818058 	ld	at,-32680\(gp\)
228     1000044c:	0031082d 	daddu	at,at,s1
229     10000450:	88250000 	lwl	a1,0\(at\)
230     10000454:	98250003 	lwr	a1,3\(at\)
231     10000458:	df818060 	ld	at,-32672\(gp\)
232     1000045c:	0031082d 	daddu	at,at,s1
233     10000460:	88250000 	lwl	a1,0\(at\)
234     10000464:	98250003 	lwr	a1,3\(at\)
235     10000468:	df818070 	ld	at,-32656\(gp\)
236     1000046c:	0025082d 	daddu	at,at,a1
237     10000470:	88250000 	lwl	a1,0\(at\)
238     10000474:	98250003 	lwr	a1,3\(at\)
239     10000478:	df818078 	ld	at,-32648\(gp\)
240     1000047c:	0025082d 	daddu	at,at,a1
241     10000480:	a8250000 	swl	a1,0\(at\)
242     10000484:	b8250003 	swr	a1,3\(at\)
243     10000488:	df858080 	ld	a1,-32640\(gp\)
244     1000048c:	df858080 	ld	a1,-32640\(gp\)
245     10000490:	df998080 	ld	t9,-32640\(gp\)
246     10000494:	df998080 	ld	t9,-32640\(gp\)
247     10000498:	df998080 	ld	t9,-32640\(gp\)
248     1000049c:	0411001d 	bal	10000514 <fn2>
249     100004a0:	00000000 	nop
250     100004a4:	df998080 	ld	t9,-32640\(gp\)
251     100004a8:	0411001a 	bal	10000514 <fn2>
252     100004ac:	00000000 	nop
253     100004b0:	1000ff17 	b	10000110 <fn>
254     100004b4:	df858020 	ld	a1,-32736\(gp\)
255     100004b8:	df858028 	ld	a1,-32728\(gp\)
256     100004bc:	10000015 	b	10000514 <fn2>
257     100004c0:	dca505d4 	ld	a1,1492\(a1\)
258     100004c4:	1000ff12 	b	10000110 <fn>
259     100004c8:	df858020 	ld	a1,-32736\(gp\)
260     100004cc:	df858060 	ld	a1,-32672\(gp\)
261     100004d0:	10000010 	b	10000514 <fn2>
262     100004d4:	00000000 	nop
263     100004d8:	df858038 	ld	a1,-32712\(gp\)
264     100004dc:	1000ff0c 	b	10000110 <fn>
265     100004e0:	00000000 	nop
266     100004e4:	df858028 	ld	a1,-32728\(gp\)
267     100004e8:	1000000a 	b	10000514 <fn2>
268     100004ec:	dca505d4 	ld	a1,1492\(a1\)
269     100004f0:	df858028 	ld	a1,-32728\(gp\)
270     100004f4:	1000ff06 	b	10000110 <fn>
271     100004f8:	dca50568 	ld	a1,1384\(a1\)
272     100004fc:	df818028 	ld	at,-32728\(gp\)
273     10000500:	0025082d 	daddu	at,at,a1
274     10000504:	10000003 	b	10000514 <fn2>
275     10000508:	dc2505f6 	ld	a1,1526\(at\)
276 	\.\.\.
277 
278 0000000010000514 <fn2>:
279 	\.\.\.
280 Disassembly of section \.data:
281 
282 0000000010010520 <_fdata>:
283 	\.\.\.
284 
285 000000001001055c <dg1>:
286 	\.\.\.
287 
288 0000000010010598 <sp2>:
289 	\.\.\.
290 
291 00000000100105d4 <dg2>:
292 	\.\.\.
293 Disassembly of section \.got:
294 
295 0000000010010610 <_GLOBAL_OFFSET_TABLE_>:
296 	\.\.\.
297     10010618:	80000000 	.*
298 	\.\.\.
299     10010624:	1001055c 	.*
300     10010628:	00000000 	.*
301     1001062c:	10010000 	.*
302     10010630:	00000000 	.*
303     10010634:	10010568 	.*
304     10010638:	00000000 	.*
305     1001063c:	1002e79c 	.*
306     10010640:	00000000 	.*
307     10010644:	1001057e 	.*
308     10010648:	00000000 	.*
309     1001064c:	10010594 	.*
310     10010650:	00000000 	.*
311     10010654:	10000110 	.*
312     10010658:	00000000 	.*
313     1001065c:	100105d4 	.*
314     10010660:	00000000 	.*
315     10010664:	100105e0 	.*
316     10010668:	00000000 	.*
317     1001066c:	1002e814 	.*
318     10010670:	00000000 	.*
319     10010674:	100105f6 	.*
320     10010678:	00000000 	.*
321     1001067c:	1001060c 	.*
322     10010680:	00000000 	.*
323     10010684:	10000514 	.*
324     10010688:	00000000 	.*
325 	\.\.\.
326