]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 19 Sep 2010 10:52:17 +0000 (10:52 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 19 Sep 2010 10:52:17 +0000 (10:52 +0000)
commit6ccf4795dc8fb9244818c6cf40ca7e1b725db266
tree3b6c7b06ccd6e33058f3154771ae6b17f14246db
parent020d7251584c7ac86ab48a9eaa9bdefc53935d09
bfd/
* elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
(mips_elf_link_hash_newfunc): Initialize it.
(mips_elf_record_global_got_symbol): Add a for_call parameter.
(mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather
than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls.
Try to remove .got entries in favour of .got.plt entries on VxWorks.
(_bfd_mips_elf_check_relocs): Do not try to avoid allocating
a global GOT entry for VxWorks calls.  Update uses of
mips_elf_record_global_got_symbol.
(allocate_dynrelocs): Set got_only_for_calls to false if the GOT
entry is used for dynamic relocations.
bfd/ChangeLog
bfd/elfxx-mips.c