Always pass a valid section header offset to elf_parse_notes
[deliverable/binutils-gdb.git] / bfd / coff-tic80.c
index 99808f160497a13d9557eace8c89c4d15444e909..2de7932ba6d16259f93cad3ee75cd461d14a5c8d 100644 (file)
@@ -436,8 +436,8 @@ rtype2howto (arelent *cache_ptr, struct internal_reloc *dst)
        }
     }
 
-  (*_bfd_error_handler) (_("Unrecognized reloc type 0x%x"),
-                        (unsigned int) dst->r_type);
+  _bfd_error_handler (_("Unrecognized reloc type 0x%x"),
+                     (unsigned int) dst->r_type);
   cache_ptr->howto = tic80_howto_table + 0;
 }
 
@@ -665,7 +665,8 @@ coff_tic80_relocate_section (bfd *output_bfd,
        case bfd_reloc_ok:
          break;
        case bfd_reloc_outofrange:
-         (*_bfd_error_handler)
+         _bfd_error_handler
+           /* xgettext: c-format */
            (_("%B: bad reloc address 0x%lx in section `%A'"),
             input_bfd, input_section, (unsigned long) rel->r_vaddr);
          return FALSE;
This page took 0.023563 seconds and 4 git commands to generate.