S-Record: Setting number of bytes per record on output.

Grant Edwards grante@visi.com
Thu May 3 10:33:00 GMT 2001


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



More information about the Binutils mailing list