2011-12-10 David Daney <david.daney@cavium.com>
authorDavid Daney <ddaney@avtrex.com>
Sun, 11 Dec 2011 02:05:40 +0000 (02:05 +0000)
committerDavid Daney <ddaney@avtrex.com>
Sun, 11 Dec 2011 02:05:40 +0000 (02:05 +0000)
commitb4082c70007bc92982af478df267643b662bf19d
tree2cc91989e5106b8935b47c94b57332c678acadcd
parentb39f07ab20ad58d058e5ecb920f8af46a67da1e0
2011-12-10  David Daney  <david.daney@cavium.com>

* elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove.
(mips_elf_link_hash_table.rld_symbol): New field;
(MIPS_ELF_RLD_MAP_SIZE): New macro.
(_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol
in rld_symbol.
(_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol
in rld_symbol.
(_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map.
(_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling.
(_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to
calculate DT_MIPS_RLD_MAP value.
(_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol,
quit initializing rld_value.
bfd/ChangeLog
bfd/elfxx-mips.c