* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
commit713c4dd69b09ac171ab80515d59625394ae60114
authorDaniel Jacobowitz <dan@debian.org>
Mon, 28 Jul 2008 22:14:53 +0000 (28 22:14 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Mon, 28 Jul 2008 22:14:53 +0000 (28 22:14 +0000)
tree309ddd08c37bc3985bb34d5b28a811beaf3ce169
parentfb07749d3666bde289ee83977d5d8240e444384b
* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
relocations for undefined weak symbols with non-default visibility.
(_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for
global symbols in shared libraries.
(allocate_dynrelocs): New function.
(_bfd_mips_elf_adjust_dynamic_symbol): Do not handle
possibly_dynamic_relocs here.
(_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.
bfd/ChangeLog
bfd/elfxx-mips.c