Non-contiguous memory regions support: Avoid calls to abort
[deliverable/binutils-gdb.git] / bfd / elf32-metag.c
index 3f30d6dadd9e9afdef5a5b3fc55ef122384d712a..44923edc7b4fc1335eeb4cff35389306b38a6a77 100644 (file)
@@ -3477,12 +3477,9 @@ metag_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
      section.  The user should fix his linker script.  */
   if (hsh->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"),
-                         hsh->target_section);
-      abort();
-    }
+    info->callbacks->einfo (_("%F%P: Could not assign '%pA' to an output section. "
+                             "Retry without --enable-non-contiguous-regions.\n"),
+                           hsh->target_section);
 
   stub_sec = hsh->stub_sec;
 
This page took 0.024447 seconds and 4 git commands to generate.