Improve "unrecognized relocation" error messages to add the suggestion that the linke...
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index a13af126cace730f546344c1b6fc6ee9716c4b67..448599eb9b34c3985cd673902976575a2e27bf10 100644 (file)
@@ -4314,14 +4314,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
        }
 
       if (r_type >= (int) R_X86_64_standard)
-       {
-         _bfd_error_handler
-           /* xgettext:c-format */
-           (_("%B: unrecognized relocation (0x%x) in section `%A'"),
-            input_bfd, r_type, input_section);
-         bfd_set_error (bfd_error_bad_value);
-         return FALSE;
-       }
+       return _bfd_unrecognized_reloc (input_bfd, input_section, r_type);
 
       if (r_type != (int) R_X86_64_32
          || ABI_64_P (output_bfd))
This page took 0.023961 seconds and 4 git commands to generate.