Improve "unrecognized relocation" error messages to add the suggestion that the linke...
authorNick Clifton <nickc@redhat.com>
Mon, 24 Jul 2017 10:27:33 +0000 (11:27 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Jul 2017 10:27:33 +0000 (11:27 +0100)
commit47aeb64c10ec9c9f06d2d2f4451f417d63b023e1
treeb29b88b2fe25f814ad01225d316dd28688ca4ca1
parent645b28002711eba22e8a4df3733a01206ab7d36d
Improve "unrecognized relocation" error messages to add the suggestion that the linker might be out of date.

PR 21803
* reloc.c (_bfd_unrecognized_reloc): New function.  Reports
an unrecognized reloc and sets the bfd_error value.
* libbfd.h: Regenerate.
* elf32-arm.c (elf32_arm_final_link_relocate): Use the new
function.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-tilepro.c (tilepro_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Likewise.
* elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-arm.c
bfd/elf32-i386.c
bfd/elf32-tilepro.c
bfd/elf64-x86-64.c
bfd/elfnn-aarch64.c
bfd/elfxx-tilegx.c
bfd/libbfd.h
bfd/reloc.c