OSDN Git Service

* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
authordrow <drow>
Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)
committerdrow <drow>
Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)
commit82248a960ae49e3beae87c2b18627607d97635e5
tree35dff317b50553652d2a655cbf0555915b3ce9bc
parentd93c22118fe5ee7ad2bc96e1842099c6353428c5
* 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