PR ld/21375: MIPS: Fix non-zero run-time value for undefined weaks
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-6-o32.dd
CommitLineData
861fb55a
DJ
1# GOT layout:
2#
3# -32752: lazy resolution function
4# -32748: reserved for module pointer
c5d6fa44
RS
5# -32744: extd2's local GOT entry (copy reloc)
6# -32740: extf3's local GOT entry (PLT entry)
7# -32736: extf4's local GOT entry (PLT entry)
8# -32732: extf2's global GOT entry (undefined 0)
9# -32728: extf1's global GOT entry (.MIPS.stubs entry)
10# -32724: extd1's global GOT entry (undefined 0)
11# -32720: extd4's global GOT entry (undefined 0, reloc only)
861fb55a
DJ
12
13.*
14
15Disassembly of section \.plt:
16
1700043040 <.*>:
18.*: 3c1c0008 lui gp,0x8
19.*: 8f991000 lw t9,4096\(gp\)
20.*: 279c1000 addiu gp,gp,4096
21.*: 031cc023 subu t8,t8,gp
40fc1451 22.*: 03e07825 move t7,ra
861fb55a
DJ
23.*: 0018c082 srl t8,t8,0x2
24.*: 0320f809 jalr t9
25.*: 2718fffe addiu t8,t8,-2
26
2700043060 <extf4@plt>:
28.*: 3c0f0008 lui t7,0x8
29.*: 8df91008 lw t9,4104\(t7\)
861fb55a 30.*: 03200008 jr t9
6d30f5b2 31.*: 25f81008 addiu t8,t7,4104
861fb55a
DJ
32
3300043070 <extf5@plt>:
34.*: 3c0f0008 lui t7,0x8
35.*: 8df9100c lw t9,4108\(t7\)
861fb55a 36.*: 03200008 jr t9
6d30f5b2 37.*: 25f8100c addiu t8,t7,4108
861fb55a
DJ
38
3900043080 <extf3@plt>:
40.*: 3c0f0008 lui t7,0x8
41.*: 8df91010 lw t9,4112\(t7\)
861fb55a 42.*: 03200008 jr t9
6d30f5b2 43.*: 25f81010 addiu t8,t7,4112
861fb55a
DJ
44
45Disassembly of section \.text:
46
4700044000 <.*>:
48 \.\.\.
49
5000044008 <\.pic\.f1>:
51 44008: 3c190004 lui t9,0x4
52 4400c: 27394010 addiu t9,t9,16400
53
5400044010 <f1>:
55 44010: 0c011013 jal 4404c <f3>
56 44014: 3c020004 lui v0,0x4
57 44018: 03e00008 jr ra
58 4401c: 24424020 addiu v0,v0,16416
59
6000044020 <f2>:
61 44020: 3c1c0006 lui gp,0x6
62 44024: 279c3fd0 addiu gp,gp,16336
63 44028: 0399e021 addu gp,gp,t9
c5d6fa44
RS
64 4402c: 8f998028 lw t9,-32728\(gp\)
65 44030: 8f848024 lw a0,-32732\(gp\)
66 44034: 8f85802c lw a1,-32724\(gp\)
861fb55a 67 44038: 0320f809 jalr t9
c5d6fa44 68 4403c: 8f868018 lw a2,-32744\(gp\)
861fb55a
DJ
69 44040: 8f99801c lw t9,-32740\(gp\)
70 44044: 03200008 jr t9
c5d6fa44 71 44048: 8f848020 lw a0,-32736\(gp\)
861fb55a
DJ
72
730004404c <f3>:
74 4404c: 03e00008 jr ra
75 44050: 00000000 nop
76 \.\.\.
77
7800044060 <__start>:
79 44060: 0c011002 jal 44008 <\.pic\.f1>
80 44064: 00000000 nop
81 44068: 3c020004 lui v0,0x4
82 4406c: 24424020 addiu v0,v0,16416
83 44070: 0c010c20 jal 43080 <extf3@plt>
84 44074: 00000000 nop
85 44078: 0c010c18 jal 43060 <extf4@plt>
86 4407c: 00000000 nop
87 44080: 0c010c1c jal 43070 <extf5@plt>
88 44084: 00000000 nop
89 44088: 3c02000a lui v0,0xa
90 4408c: 24422000 addiu v0,v0,8192
91 44090: 3c02000a lui v0,0xa
92 44094: 24422018 addiu v0,v0,8216
93 \.\.\.
1bbce132 94
861fb55a
DJ
95Disassembly of section \.MIPS\.stubs:
96
1bbce132 97000440a0 <_MIPS_STUBS_>:
861fb55a 98 440a0: 8f998010 lw t9,-32752\(gp\)
40fc1451 99 440a4: 03e07825 move t7,ra
861fb55a 100 440a8: 0320f809 jalr t9
c5d6fa44 101 440ac: 24180009 li t8,9
861fb55a 102 \.\.\.
This page took 0.448528 seconds and 4 git commands to generate.