* elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
authorNick Clifton <nickc@redhat.com>
Fri, 17 Jul 2009 09:46:00 +0000 (09:46 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 17 Jul 2009 09:46:00 +0000 (09:46 +0000)
commit6d30f5b2dcf2d644300d8ab5ada56cfa22f97bf2
tree7b1ff0b8cc51b35b86d516de0c56a8c7182b5767
parent1ef4d87fe8cce2596a7d1d1c458db1b11c2c5d0e
    * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
        (_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.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd