OSDN Git Service

* 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)
commit8a2573e7adaa5d18cd316bc24cec7794e4924c78
tree2485a557497003d129f9ceaac9e26ef5cde5958d
parent1d3b4f5128fa2fbc2d04249e7289292184820f79
* 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