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.
This commit is contained in:
parent
c256ffe730
commit
77f762d6e4
5 changed files with 166 additions and 21 deletions
|
@ -49,8 +49,6 @@
|
|||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
#define BUFSIZE 8192
|
||||
|
||||
/* Kludge declaration from BFD! This is ugly! FIXME! XXX */
|
||||
|
||||
struct ar_hdr *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue