[ARC] Refactored location where GOT information is collected.
authorCupertino Miranda <cmiranda@synopsys.com>
Fri, 2 Mar 2018 16:16:21 +0000 (17:16 +0100)
committerCupertino Miranda <cmiranda@synopsys.com>
Mon, 1 Oct 2018 11:42:11 +0000 (12:42 +0100)
commit854b8506815f7786b3c82f7824557e7f32a64ac5
tree90af1eef37618030051dfff4710747b212cdf31d
parent12b164e9a96f75ffd030d04a7633dfbb64862806
[ARC] Refactored location where GOT information is collected.

Change location where GOT information is collected for ARC target, avoiding
posible use conflicts of the previous .got field in the symbols hash_entry.

bfd/
2018-03-01  Cupertino Miranda  <cmiranda@synopsys.com>

* arc-got.h (get_got_entry_list_for_symbol): Changed.
* ef32-arc.c (struct elf_arc_link_hash_entry): Moved and changed.
(elf_arc_link_hash_newfunc): Changed.
(arc_elf_link_hash_table_create): Removed old initializations.
(elf_arc_relocate_section, elf_arc_finish_dynamic_symbol): Changed.
bfd/arc-got.h
bfd/elf32-arc.c