* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 26 Nov 2003 20:58:45 +0000 (20:58 +0000)
commit0626d45128eab868030a7a5f58bd90cb6ee28b00
tree998c8364df5bec6bfdf20127a9ffe2c1243c1949
parentb4f16abb97f6c746304fc98ba1c00174d9386f6e
* 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