]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* srec.c: Better error checking, partly from Peter Schauer.
authorJohn Gilmore <gnu@cygnus>
Mon, 30 Sep 1991 20:50:18 +0000 (20:50 +0000)
committerJohn Gilmore <gnu@cygnus>
Mon, 30 Sep 1991 20:50:18 +0000 (20:50 +0000)
commit387cbb2bff98f7100af9812b080f5061d34a9cf3
treeae0246f6a7eeeb08a5b80602e71de3b7e0be0119
parent5c5c52fcbfcbaa98e833569dc026518f7e76bb2d
* srec.c:  Better error checking, partly from Peter Schauer.
(srec_object_p):  Avoid assuming any file that starts with 'S' is
an S-record file!  (Check for 3 uppercase-hex digits after it.)
(ISHEX):  Define new macro for checking supposedly hex characters.
(pass_over):  Treat as EOF any S-record line that:
    *  doesn't have hex in either size character
    *  produces a size larger than 0x7F
    *  has an unrecognized type number
bfd/ChangeLog
bfd/srec.c