This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


On Thu, May 03, 2001 at 12:34:49PM -0500, Grant Edwards wrote:
> 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?

Perhaps you need to look at more recent source.

/* The number of bytes we actually fit onto a line on output.
   This variable can be modified by objcopy's --srec-len parameter.
   For a 0x75 byte record you should set --srec-len=0x70.  */
unsigned int Chunk = DEFAULT_CHUNK;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]