Non-contiguous memory regions support: Avoid calls to abort
[deliverable/binutils-gdb.git] / bfd / elf32-arm.c
index e8b2ac4702ad6eec2271316461fa3d943866c088..1ccbf143e0aea0ec5c5218285ba110ee8d06b9b0 100644 (file)
@@ -5068,12 +5068,9 @@ arm_build_one_stub (struct bfd_hash_entry *gen_entry,
      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);
 
   globals = elf32_arm_hash_table (info);
   if (globals == NULL)
This page took 0.033347 seconds and 4 git commands to generate.