OSDN Git Service

* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
authoraoliva <aoliva>
Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)
committeraoliva <aoliva>
Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)
commita67ac54e92c2b45e2d192ee7b34398a4294185d9
tree0ddd24620d871e3c4f7f474e90acf4d71ab10070
parent6660f7a033a6ddf6d66848f8ed6b8a45071b91f6
* 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