* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
commit7b04d4fa9ddd583648f6c9bab8e6f30a7989877c
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 2 Mar 2004 23:01:18 +0000 (2 23:01 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 2 Mar 2004 23:01:18 +0000 (2 23:01 +0000)
treeb57ecdfb3a666863a2bcf70d86ffe5950c163453
parent4b46a5ea14b1e91ca55ddc998a69b8b591bb949a
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
dynrelocs.
(_frv_count_got_plt_entries): Initialize them.
(frv_pic_relocs_info_find): Add insert argument.  Adjust all
callers.
(frv_pic_relocs_info_for_global): Likewise.
(frv_pic_relocs_info_for_local): Likewise.
(frv_pic_merge_early_relocs_info): New.
(_frv_resolve_final_relocs_info): Use it in case one entry maps to
another.
(_frv_add_dyn_reloc): Add entry argument.  Adjust all callers.
Check that we don't exceed the allocated count for entry.
(_frv_add_rofixup): Likewise.
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
(elf32_frv_finish_dynamic_sections): Improve error message in case
we emit too few rofixup entries.
bfd/ChangeLog
bfd/elf32-frv.c