OSDN Git Service

* elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
authornickc <nickc>
Fri, 17 Jul 2009 09:45:59 +0000 (09:45 +0000)
committernickc <nickc>
Fri, 17 Jul 2009 09:45:59 +0000 (09:45 +0000)
commitdf1c3a0adc8dcc9589a5134e5627cd85cc514013
tree503a1e92f53ddf8423de96eaf894ca4bd671641d
parent79e1078ad312653cf450a041ab127931c0e377e9
    * 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