Unify all-zero buffers; add fwritezero()
commit999868f06f49ec6450872f224a7cc0a43214b063
authorH. Peter Anvin <hpa@zytor.com>
Mon, 9 Feb 2009 10:03:33 +0000 (9 11:03 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 22 Feb 2009 01:24:08 +0000 (21 17:24 -0800)
tree30f34b5c0133c948654ebcb386f0b53127d4309d
parent04616f4e85d7c5c8501432f7124cf15f440aeae1
Unify all-zero buffers; add fwritezero()

We have a number of all-zero buffers in the code.  Put a single
all-zero buffer in nasmlib.c.  Additionally, add fwritezero()
which can be used to write an arbitrary number of all-zero bytes;
this prevents the situation where the all-zero buffer is simply
too small.
assemble.c
nasmlib.c
nasmlib.h
output/outelf32.c
output/outelf64.c
output/outmacho.c
rdoff/ldrdf.c