outbin: minor cleanups
commit0bc3bf61dbf1c774a71965b7cc8f145d359d25b2
authorH. Peter Anvin <hpa@zytor.com>
Mon, 6 Jul 2009 17:58:37 +0000 (6 10:58 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 6 Jul 2009 17:58:37 +0000 (6 10:58 -0700)
tree5216183122a4f128822015f3b066f5f2404e72fd
parent565be91fb729611e8056face229d37d25bba360b
outbin: minor cleanups

- add assert so we don't try to write 2^64 bytes of zero
- explicitly track the Intel hex "LBA" (64K page) instead of playing
  games with the last byte written.  This way it is more explicit
  what we're doing and why.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outbin.c