output: add common file outlib.c for common functions; realsize()
commit03c4f90afa42cc8a7ed842ff0fc9d3c18a06dd2d
authorH. Peter Anvin <hpa@zytor.com>
Tue, 28 Oct 2008 05:19:59 +0000 (27 22:19 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 28 Oct 2008 05:19:59 +0000 (27 22:19 -0700)
tree28527b6cd2b5d7978018b2eedeb2547e7ec7019d
parent67c637236a18e7ae3f3086487a88274a89608d10
output: add common file outlib.c for common functions; realsize()

Add a common file, outlib.c, for output formats.  Add the function
realsize() instead of open-coded variants in almost every backend.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 files changed:
Makefile.in
Mkfiles/msvc.mak
Mkfiles/netware.mak
Mkfiles/openwcom.mak
Mkfiles/owlinux.mak
outlib.c [new file with mode: 0644]
outlib.h [new file with mode: 0644]
output/outaout.c
output/outas86.c
output/outbin.c
output/outcoff.c
output/outelf32.c
output/outelf64.c
output/outmacho.c
output/outobj.c