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