unrecognized/unsupported reloc message
[deliverable/binutils-gdb.git] / bfd / coff-alpha.c
index 75060bb2e856387b8b46536a621096f69816f5a8..2d89035cece1179147011a170f6a4b0ced7bdfdd 100644 (file)
@@ -598,9 +598,8 @@ alpha_adjust_reloc_in (bfd *abfd,
   if (intern->r_type > ALPHA_R_GPVALUE)
     {
       /* xgettext:c-format */
-      _bfd_error_handler
-       (_("%pB: unknown/unsupported relocation type %d"),
-        abfd, intern->r_type);
+      _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+                         abfd, intern->r_type);
       bfd_set_error (bfd_error_bad_value);
       rptr->addend = 0;
       rptr->howto  = NULL;
@@ -1499,24 +1498,21 @@ alpha_relocate_section (bfd *output_bfd,
       switch (r_type)
        {
        case ALPHA_R_GPRELHIGH:
-         _bfd_error_handler
-           (_("%pB: unsupported relocation: ALPHA_R_GPRELHIGH"),
-            input_bfd);
+         _bfd_error_handler (_("%pB: %s unsupported"),
+                             input_bfd, "ALPHA_R_GPRELHIGH");
          bfd_set_error (bfd_error_bad_value);
          continue;
 
        case ALPHA_R_GPRELLOW:
-         _bfd_error_handler
-           (_("%pB: unsupported relocation: ALPHA_R_GPRELLOW"),
-            input_bfd);
+         _bfd_error_handler (_("%pB: %s unsupported"),
+                             input_bfd, "ALPHA_R_GPRELLOW");
          bfd_set_error (bfd_error_bad_value);
          continue;
 
        default:
-         _bfd_error_handler
-           /* xgettext:c-format */
-           (_("%pB: unknown relocation type %d"),
-            input_bfd, (int) r_type);
+         /* xgettext:c-format */
+         _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+                             input_bfd, (int) r_type);
          bfd_set_error (bfd_error_bad_value);
          continue;
 
This page took 0.026014 seconds and 4 git commands to generate.