diff options
author | Alan Modra <amodra@gmail.com> | 2000-03-30 23:49:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-03-30 23:49:07 +0000 |
commit | 65d7f9a691c4456707cca1d794addcc9fab2b42a (patch) | |
tree | 8049ce934e8024ee3ba8874bdd70812e5d5f9397 | |
parent | 00ed88bd5645e6552c8cafd5b732858be516b4f7 (diff) | |
download | gdb-65d7f9a691c4456707cca1d794addcc9fab2b42a.zip gdb-65d7f9a691c4456707cca1d794addcc9fab2b42a.tar.gz gdb-65d7f9a691c4456707cca1d794addcc9fab2b42a.tar.bz2 |
Set CHUNK size to 16 bytes to prevent download failures on lame targets.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/ihex.c | 2 | ||||
-rw-r--r-- | bfd/srec.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a364c5c..82f7eb5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2000-03-31 Thomas de Lellis <tdel@wrs.com> + + * 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 <dlindsay@cygnus.com> * elf32-m32r.c (m32r_elf_generic_reloc): new function. All @@ -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. */ @@ -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. */ |