Non-contiguous memory regions support: Avoid calls to abort
[deliverable/binutils-gdb.git] / bfd / elf32-m68hc12.c
index a04efd84e0bd04cc861df1a85d92e4e11e0c5510..c74f5674db7d6db870f4be24f583fa520b9b934b 100644 (file)
@@ -539,12 +539,9 @@ m68hc12_elf_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
      section.  The user should fix his linker script.  */
   if (stub_entry->target_section->output_section == NULL
       && info->non_contiguous_regions)
-    {
-      _bfd_error_handler (_("Could not assign '%pA' to an output section. "
-                           "Retry without --enable-non-contiguous-regions.\n"),
-                         stub_entry->target_section);
-      abort();
-    }
+    info->callbacks->einfo (_("%F%P: Could not assign '%pA' to an output section. "
+                             "Retry without --enable-non-contiguous-regions.\n"),
+                           stub_entry->target_section);
 
   htab = m68hc11_elf_hash_table (info);
 
This page took 0.025654 seconds and 4 git commands to generate.