2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
[external/binutils.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-o32.dd
1 # GOT layout:
2 #
3 # -32752: lazy resolution function
4 # -32748: reserved for module pointer
5 # -32744: extf2's GOT entry (undefined 0)
6 # -32740: extf3's GOT entry (PLT entry)
7 # -32736: extd2's GOT entry (copy reloc)
8 # -32732: extf1's GOT entry (.MIPS.stubs entry)
9 # -32728: extd1's GOT entry (undefined 0)
10 # -32724: extf4's GOT entry (PLT entry)
11 # -32620: extd4's GOT entry (undefined 0, reloc only)
12
13 .*
14
15 Disassembly of section \.plt:
16
17 00043040 <.*>:
18 .*:     3c1c0008        lui     gp,0x8
19 .*:     8f991000        lw      t9,4096\(gp\)
20 .*:     279c1000        addiu   gp,gp,4096
21 .*:     031cc023        subu    t8,t8,gp
22 .*:     03e07821        move    t7,ra
23 .*:     0018c082        srl     t8,t8,0x2
24 .*:     0320f809        jalr    t9
25 .*:     2718fffe        addiu   t8,t8,-2
26
27 00043060 <extf4@plt>:
28 .*:     3c0f0008        lui     t7,0x8
29 .*:     8df91008        lw      t9,4104\(t7\)
30 .*:     25f81008        addiu   t8,t7,4104
31 .*:     03200008        jr      t9
32
33 00043070 <extf5@plt>:
34 .*:     3c0f0008        lui     t7,0x8
35 .*:     8df9100c        lw      t9,4108\(t7\)
36 .*:     25f8100c        addiu   t8,t7,4108
37 .*:     03200008        jr      t9
38
39 00043080 <extf3@plt>:
40 .*:     3c0f0008        lui     t7,0x8
41 .*:     8df91010        lw      t9,4112\(t7\)
42 .*:     25f81010        addiu   t8,t7,4112
43 .*:     03200008        jr      t9
44 .*:     00000000        nop
45
46 Disassembly of section \.text:
47
48 00044000 <.*>:
49         \.\.\.
50
51 00044008 <\.pic\.f1>:
52    44008:       3c190004        lui     t9,0x4
53    4400c:       27394010        addiu   t9,t9,16400
54
55 00044010 <f1>:
56    44010:       0c011013        jal     4404c <f3>
57    44014:       3c020004        lui     v0,0x4
58    44018:       03e00008        jr      ra
59    4401c:       24424020        addiu   v0,v0,16416
60
61 00044020 <f2>:
62    44020:       3c1c0006        lui     gp,0x6
63    44024:       279c3fd0        addiu   gp,gp,16336
64    44028:       0399e021        addu    gp,gp,t9
65    4402c:       8f998024        lw      t9,-32732\(gp\)
66    44030:       8f848018        lw      a0,-32744\(gp\)
67    44034:       8f858028        lw      a1,-32728\(gp\)
68    44038:       0320f809        jalr    t9
69    4403c:       8f868020        lw      a2,-32736\(gp\)
70    44040:       8f99801c        lw      t9,-32740\(gp\)
71    44044:       03200008        jr      t9
72    44048:       8f84802c        lw      a0,-32724\(gp\)
73
74 0004404c <f3>:
75    4404c:       03e00008        jr      ra
76    44050:       00000000        nop
77         \.\.\.
78
79 00044060 <__start>:
80    44060:       0c011002        jal     44008 <\.pic\.f1>
81    44064:       00000000        nop
82    44068:       3c020004        lui     v0,0x4
83    4406c:       24424020        addiu   v0,v0,16416
84    44070:       0c010c20        jal     43080 <extf3@plt>
85    44074:       00000000        nop
86    44078:       0c010c18        jal     43060 <extf4@plt>
87    4407c:       00000000        nop
88    44080:       0c010c1c        jal     43070 <extf5@plt>
89    44084:       00000000        nop
90    44088:       3c02000a        lui     v0,0xa
91    4408c:       24422000        addiu   v0,v0,8192
92    44090:       3c02000a        lui     v0,0xa
93    44094:       24422018        addiu   v0,v0,8216
94         \.\.\.
95 Disassembly of section \.MIPS\.stubs:
96
97 000440a0 <\.MIPS\.stubs>:
98    440a0:       8f998010        lw      t9,-32752\(gp\)
99    440a4:       03e07821        move    t7,ra
100    440a8:       0320f809        jalr    t9
101    440ac:       2418000a        li      t8,10
102         \.\.\.