mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
6d30f5b2dc
(_bfd_mips_elf_size_dynamic_sections): For CPUs without load interlocking, the last PLT entry needs a nop in the branch delay slot. (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking, output the last two PLT entries in reverse order. * ld-mips-elf/pic-and-nonpic-3b.dd, ld-mips-elf/pic-and-nonpic-5b.dd, ld-mips-elf/pic-and-nonpic-6-o32.dd: Updated to use new PLT entries.
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
# GOT layout:
|
|
#
|
|
# -32752: lazy resolution function
|
|
# -32748: reserved for module pointer
|
|
# -32744: GOT page entry.
|
|
# -32740: bar's GOT entry
|
|
|
|
.*
|
|
|
|
Disassembly of section \.plt:
|
|
|
|
00043020 <.*>:
|
|
.*: 3c1c0008 lui gp,0x8
|
|
.*: 8f991000 lw t9,4096\(gp\)
|
|
.*: 279c1000 addiu gp,gp,4096
|
|
.*: 031cc023 subu t8,t8,gp
|
|
.*: 03e07821 move t7,ra
|
|
.*: 0018c082 srl t8,t8,0x2
|
|
.*: 0320f809 jalr t9
|
|
.*: 2718fffe addiu t8,t8,-2
|
|
|
|
00043040 <foo@plt>:
|
|
.*: 3c0f0008 lui t7,0x8
|
|
.*: 8df91008 lw t9,4104\(t7\)
|
|
.*: 03200008 jr t9
|
|
.*: 25f81008 addiu t8,t7,4104
|
|
|
|
Disassembly of section \.text:
|
|
|
|
00044000 <__start>:
|
|
.*: 0c010c10 jal 43040 <foo@plt>
|
|
.*: 00000000 nop
|
|
.*: 08011004 j 44010 <ext>
|
|
.*: 00000000 nop
|
|
|
|
00044010 <ext>:
|
|
.*: 3c1c000a lui gp,0xa
|
|
.*: 279c7ff0 addiu gp,gp,32752
|
|
.*: 8f828018 lw v0,-32744\(gp\)
|
|
.*: 24421000 addiu v0,v0,4096
|
|
.*: 8f99801c lw t9,-32740\(gp\)
|
|
.*: 03200008 jr t9
|
|
.*: 00000000 nop
|
|
.*: 00000000 nop
|
|
Disassembly of section .MIPS.stubs:
|
|
|
|
00044030 <\.MIPS\.stubs>:
|
|
.*: 8f998010 lw t9,-32752\(gp\)
|
|
.*: 03e07821 move t7,ra
|
|
.*: 0320f809 jalr t9
|
|
.*: 24180007 li t8,7
|
|
\.\.\.
|