2005-06-14 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jun 2005 13:26:42 +0000 (13:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jun 2005 13:26:42 +0000 (13:26 +0000)
commit77f762d6e434fcb47cf40b846f0c7449da357f7c
tree2684a16ba0bab568febd6047d2a32dad7a051c2c
parentc256ffe730940b16eddc0634dedf07cb712ac040
2005-06-14  H.J. Lu  <hongjiu.lu@intel.com>

PR 995
* ar.c (BUFSIZE): Moved to ...
* bucomm.h (BUFSIZE): Here.

* bucomm.c: Include <assert.h>.
(bfd_get_archive_filename): New.
* bucomm.h (bfd_get_archive_filename): New.

* objcopy.c (copy_unknown_object): New.
(copy_object): Use bfd_get_archive_filename when reporting input
error. Don't call fatal on unknown arch.
(copy_archive): Call copy_unknown_object on unknown format or
arch.
binutils/ChangeLog
binutils/ar.c
binutils/bucomm.c
binutils/bucomm.h
binutils/objcopy.c