* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
authorDaniel Jacobowitz <drow@false.org>
Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)
commit9a59ad6b6f8579cd92d6de99300c1ba6d7f9f454
treefa0f8fdc84b94e1cc0a65eb916a16c6deabc93f1
parentbae98fe013a6cf1f576c1590256e36c37212ee68
* 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