diff options
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index d30e8b8..9a5f7ce 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -1279,8 +1279,8 @@ NAME (aout, set_section_contents) (bfd *abfd, { _bfd_error_handler /* xgettext:c-format */ - (_("%s: can not represent section `%s' in a.out object file format"), - bfd_get_filename (abfd), bfd_get_section_name (abfd, section)); + (_("%B: can not represent section `%A' in a.out object file format"), + abfd, section); bfd_set_error (bfd_error_nonrepresentable_section); return FALSE; } @@ -1580,9 +1580,9 @@ translate_to_native_sym_flags (bfd *abfd, file. */ _bfd_error_handler /* xgettext:c-format */ - (_("%s: can not represent section for symbol `%s' in a.out " + (_("%B: can not represent section for symbol `%s' in a.out " "object file format"), - bfd_get_filename (abfd), + abfd, cache_ptr->name != NULL ? cache_ptr->name : _("*unknown*")); bfd_set_error (bfd_error_nonrepresentable_section); return FALSE; @@ -1616,8 +1616,8 @@ translate_to_native_sym_flags (bfd *abfd, { _bfd_error_handler /* xgettext:c-format */ - (_("%s: can not represent section `%s' in a.out object file format"), - bfd_get_filename (abfd), bfd_get_section_name (abfd, sec)); + (_("%B: can not represent section `%A' in a.out object file format"), + abfd, sec); bfd_set_error (bfd_error_nonrepresentable_section); return FALSE; } @@ -5419,9 +5419,8 @@ NAME (aout, final_link) (bfd *abfd, by the reloc size. */ _bfd_error_handler /* xgettext:c-format */ - (_("%s: relocatable link from %s to %s not supported"), - bfd_get_filename (abfd), - sub->xvec->name, abfd->xvec->name); + (_("%B: relocatable link from %s to %s not supported"), + abfd, sub->xvec->name, abfd->xvec->name); bfd_set_error (bfd_error_invalid_operation); goto error_return; } |