Skip to content
  • Nick Clifton's avatar
    Improve "unrecognized relocation" error messages to add the suggestion that... · 47aeb64c
    Nick Clifton authored
    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.
    47aeb64c