* bfd.c (bfd_error_type): Add bfd_error_on_input.
authorAlan Modra <amodra@gmail.com>
Mon, 30 Oct 2006 07:41:17 +0000 (07:41 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 30 Oct 2006 07:41:17 +0000 (07:41 +0000)
commitffda70fc2e3b04016ff2373c888aaaeafc09a46c
treed9f72f18af0b63476d413bb414767cd98bd4b5a2
parent406601a1e304bd2ddf2be6a1e2be7899df620a69
* bfd.c (bfd_error_type): Add bfd_error_on_input.
(input_bfd, input_error): New static vars.
(bfd_set_error): Handle bfd_error_on_input.
(bfd_errmsg): Likewise.
(bfd_perror): Simplify.
* archive.c (_bfd_write_archive_contents): Report errors on input.
bfd/ChangeLog
bfd/archive.c
bfd/bfd.c