Re: ARC port broken reloc processing
authorAlan Modra <amodra@gmail.com>
Tue, 1 Dec 2015 03:06:30 +0000 (13:36 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Dec 2015 03:09:19 +0000 (13:39 +1030)
commitf26dd30880bad7f75b5ed1b1683628c7c986bb34
tree81889107560f88383ddb3b99888efd2c15d198b5
parent0a5ff21b13783cef3b26680d1673b1ae37697aeb
Re: ARC port broken reloc processing

* elf32-arc.c (ARC_ELF_HOWTO): Delete.
(arc_elf_howto): New function.
(bfd_elf32_bfd_reloc_type_lookup): Use it in place of existing
init code.
(bfd_elf32_bfd_reloc_name_lookup): Use arc_elf_howto.
(arc_info_to_howto_rel, elf_arc_relocate_section): Likwise.
(elf_arc_check_relocs): Likewise.
bfd/ChangeLog
bfd/elf32-arc.c