aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-06-14 13:26:42 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-06-14 13:26:42 +0000
commit77f762d6e434fcb47cf40b846f0c7449da357f7c (patch)
tree2684a16ba0bab568febd6047d2a32dad7a051c2c /binutils/ar.c
parentc256ffe730940b16eddc0634dedf07cb712ac040 (diff)
downloadgdb-77f762d6e434fcb47cf40b846f0c7449da357f7c.zip
gdb-77f762d6e434fcb47cf40b846f0c7449da357f7c.tar.gz
gdb-77f762d6e434fcb47cf40b846f0c7449da357f7c.tar.bz2
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.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r--binutils/ar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index e8b0379..4e53c78 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -49,8 +49,6 @@
#define O_BINARY 0
#endif
-#define BUFSIZE 8192
-
/* Kludge declaration from BFD! This is ugly! FIXME! XXX */
struct ar_hdr *