* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)
commit3b712a1afc40e81696c1c0e9e97742070691d9fa
tree9c51c0ab76862e960494d06d6f29d7b2b15a8db4
parentabc523ed9f53c57e12fa92bc14523ae6ddf3c48c
* 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