* elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
commitdbdb8a2c5b99ac629972b5e66bd1cd060bf73227
authorNick Clifton <nickc@redhat.com>
Fri, 17 Jul 2009 09:46:00 +0000 (17 09:46 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 17 Jul 2009 09:46:00 +0000 (17 09:46 +0000)
treebeb6a5c0e92bca5ad8d9a9cdeb1ef2f6fdbfdee4
parent846935fd2a0f180780afcd8d41c00d3116ab9c76
    * 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