diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-06-19 21:10:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-06-19 21:10:39 +0000 |
commit | e1079cda8dc1ed1725e40d98fd04c6253c113b27 (patch) | |
tree | 435ae0d30bd31d7d8be1614dc74e1c54e9ed876f /bfd/elflink.h | |
parent | 22b17c7474a7946e01dbbe5f7fcfa8e8a5ee3efc (diff) | |
download | gdb-e1079cda8dc1ed1725e40d98fd04c6253c113b27.zip gdb-e1079cda8dc1ed1725e40d98fd04c6253c113b27.tar.gz gdb-e1079cda8dc1ed1725e40d98fd04c6253c113b27.tar.bz2 |
* elflink.h (elf_link_output_extsym): Print an error message if
_bfd_elf_section_from_bfd_section fails.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index cbc18d9..b5e0d03 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -4287,6 +4287,11 @@ elf_link_output_extsym (h, data) input_sec->output_section); if (sym.st_shndx == (unsigned short) -1) { + (*_bfd_error_handler) + (_("%s: could not find output section %s for input section %s"), + bfd_get_filename (finfo->output_bfd), + input_sec->output_section->name, + input_sec->name); eoinfo->failed = true; return false; } |