]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-mips-elf / pic-and-nonpic-3b.dd
1 # GOT layout:
2 #
3 # -32752: lazy resolution function
4 # -32748: reserved for module pointer
5 # -32744: GOT page entry.
6 # -32740: bar's GOT entry
7
8 .*
9
10 Disassembly of section \.plt:
11
12 00043020 <.*>:
13 .*: 3c1c0008 lui gp,0x8
14 .*: 8f991000 lw t9,4096\(gp\)
15 .*: 279c1000 addiu gp,gp,4096
16 .*: 031cc023 subu t8,t8,gp
17 .*: 03e07821 move t7,ra
18 .*: 0018c082 srl t8,t8,0x2
19 .*: 0320f809 jalr t9
20 .*: 2718fffe addiu t8,t8,-2
21
22 00043040 <foo@plt>:
23 .*: 3c0f0008 lui t7,0x8
24 .*: 8df91008 lw t9,4104\(t7\)
25 .*: 25f81008 addiu t8,t7,4104
26 .*: 03200008 jr t9
27 .*: 00000000 nop
28
29 Disassembly of section \.text:
30
31 00044000 <__start>:
32 .*: 0c010c10 jal 43040 <foo@plt>
33 .*: 00000000 nop
34 .*: 08011004 j 44010 <ext>
35 .*: 00000000 nop
36
37 00044010 <ext>:
38 .*: 3c1c000a lui gp,0xa
39 .*: 279c7ff0 addiu gp,gp,32752
40 .*: 8f828018 lw v0,-32744\(gp\)
41 .*: 24421000 addiu v0,v0,4096
42 .*: 8f99801c lw t9,-32740\(gp\)
43 .*: 03200008 jr t9
44 .*: 00000000 nop
45 .*: 00000000 nop
46 Disassembly of section .MIPS.stubs:
47
48 00044030 <\.MIPS\.stubs>:
49 .*: 8f998010 lw t9,-32752\(gp\)
50 .*: 03e07821 move t7,ra
51 .*: 0320f809 jalr t9
52 .*: 24180007 li t8,7
53 \.\.\.