X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf32-nios2.c;h=bfb6fd16325666ed508be3dff46f009675bf6d0a;hb=4ac31493c8029a4594dd6dbdcee058aead5ce781;hp=8c8bc0c8f8017d369c5c238bc69cd46230c0af67;hpb=abf874aafe3d717573e4a48bf0e3c6334e666a55;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c index 8c8bc0c8f8..bfb6fd1632 100644 --- a/bfd/elf32-nios2.c +++ b/bfd/elf32-nios2.c @@ -2498,12 +2498,10 @@ nios2_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg ATTRIBUTE_U 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); + /* Make a note of the offset within the stubs for this entry. */ hsh->stub_offset = stub_sec->size;