OSDN Git Service

* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
authorRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)
commitc963eff2e6d5bccf2ddf3ca64e143efd16b4da6e
treead8c5ef1893e86aff551d238517bc8829f74b82d
parentf583147318817e4a65d4f5900be702d62aa764c2
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues.  Store the adjusted addend in the GOT slot.
bfd/ChangeLog
bfd/elfxx-mips.c