* srec.c (MAXCHUNK, Chunk): Revise comments.
authorAlan Modra <amodra@gmail.com>
Thu, 4 Apr 2002 03:05:51 +0000 (03:05 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 4 Apr 2002 03:05:51 +0000 (03:05 +0000)
commitd8dce6926a6ac9dc836525dc07ee252aa1459962
treeeaccc6a2fd729acbb3f0aae0474b4ba519630519
parentbce58c09938547ca1f835c834edb3aa878a887cf
* srec.c (MAXCHUNK, Chunk): Revise comments.
(srec_write_record): Correct buffer size.
(srec_write_header): Do without intermediate buffer.
(srec_write_section): Validate Chunk.
(srec_write_terminator): Pass NULL instead of dummy buffer.
(srec_write_symbols): Pass file and symbol names directly to
bfd_bwrite so sprintf won't overflow buffer.
bfd/ChangeLog
bfd/srec.c