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 .*: 03200008 jr t9 26 .*: 25f81008 addiu t8,t7,4104 27 28 Disassembly of section \.text: 29 30 00044000 <__start>: 31 .*: 0c010c10 jal 43040 <foo@plt> 32 .*: 00000000 nop 33 .*: 08011004 j 44010 <ext> 34 .*: 00000000 nop 35 36 00044010 <ext>: 37 .*: 3c1c000a lui gp,0xa 38 .*: 279c7ff0 addiu gp,gp,32752 39 .*: 8f828018 lw v0,-32744\(gp\) 40 .*: 24421000 addiu v0,v0,4096 41 .*: 8f99801c lw t9,-32740\(gp\) 42 .*: 03200008 jr t9 43 .*: 00000000 nop 44 .*: 00000000 nop 45 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 .*: 24180005 li t8,5 53 \.\.\. 54