Set CHUNK size to 16 bytes to prevent download failures on lame targets.
authorAlan Modra <amodra@gmail.com>
Thu, 30 Mar 2000 23:49:07 +0000 (23:49 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 30 Mar 2000 23:49:07 +0000 (23:49 +0000)
bfd/ChangeLog
bfd/ihex.c
bfd/srec.c

index a364c5c6109b81ce8c2ac16e7dd0e2f28c325858..82f7eb544d85a63480b4a74c1601a3d468fa737c 100644 (file)
@@ -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
index 17740d8239ec2d06f92669b23f65e134bc740a7b..d00c59b5e1a15ad0c6298766d6959d3330116dc9 100644 (file)
@@ -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. */
 
index bce2efe33035a6ed7f482a91c91d3578c74fdd53..31f69b04cf0cc303f766724e4d7668730be840c5 100644 (file)
@@ -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.  */
This page took 0.028432 seconds and 4 git commands to generate.