This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
S-Record: Setting number of bytes per record on output.
- To: binutils at sources dot redhat dot com
- Subject: S-Record: Setting number of bytes per record on output.
- From: Grant Edwards <grante at visi dot com>
- Date: Thu, 3 May 2001 12:34:49 -0500
The number of data-bytes per record in S-record output is
hard-wired at 16. It would be handy to be able to generate
longer records. Files would be smaller and downloads would go
faster -- especially with line-at-a-time-stop-and-wait transfer
mechanisms where 32 bytes per record would cut download time in
half.
I see where to change the record-size in bfd/srec.c, but I
don't know how that can be controlled by the bfd libarary user
(e.g. set by objcopy based on a command-line option). Is
having user-settable record lengths not feasible?
--
Grant Edwards
grante@visi.com