From: amodra Date: Thu, 30 Mar 2000 23:49:07 +0000 (+0000) Subject: Set CHUNK size to 16 bytes to prevent download failures on lame targets. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=980ca8a04405ed9575b18f01867c0d8b9d19eb09;p=pf3gnuchains%2Fsourceware.git Set CHUNK size to 16 bytes to prevent download failures on lame targets. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a364c5c610..82f7eb544d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2000-03-31 Thomas de Lellis + + * srec.c : Set CHUNK size to 16 bytes to prevent download failures + on some targets. + * ihex.c : Ditto. + Wed Mar 30 15:28:00 2000 Donald Lindsay * elf32-m32r.c (m32r_elf_generic_reloc): new function. All diff --git a/bfd/ihex.c b/bfd/ihex.c index 17740d8239..d00c59b5e1 100644 --- a/bfd/ihex.c +++ b/bfd/ihex.c @@ -146,7 +146,7 @@ static int ihex_sizeof_headers PARAMS ((bfd *, boolean)); /* The number of bytes we put on one line during output. */ -#define CHUNK (21) +#define CHUNK 16 /* Macros for converting between hex and binary. */ diff --git a/bfd/srec.c b/bfd/srec.c index bce2efe330..31f69b04cf 100644 --- a/bfd/srec.c +++ b/bfd/srec.c @@ -171,7 +171,7 @@ srec_init () /* The maximum number of bytes on a line is FF */ #define MAXCHUNK 0xff /* The number of bytes we fit onto a line on output */ -#define CHUNK 21 +#define CHUNK 16 /* When writing an S-record file, the S-records can not be output as they are seen. This structure is used to hold them in memory. */