ofmt: get rid of the debuginfo parameter to ofmt->cleanup()
commit477ae4419cb9ae9f20a2201e60ec4073a9922359
authorH. Peter Anvin <hpa@zytor.com>
Tue, 8 Mar 2016 06:53:06 +0000 (7 22:53 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 8 Mar 2016 06:55:43 +0000 (7 22:55 -0800)
treec270b1c0a69df32676d74fd8a3019ee53247494f
parent3ab8c5f9c68278fd5a6f75e65dea0a4ba1e850aa
ofmt: get rid of the debuginfo parameter to ofmt->cleanup()

Get rid of the completely pointless "debuginfo" parameter to
ofmt->cleanup().  Most backends completely ignore it, and the two that
care (obj, ieee) can simply test dfmt instead.

Also, dfmt is never NULL, so any test for a NULL dfmt is bogus.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
14 files changed:
nasm.c
nasm.h
output/outaout.c
output/outas86.c
output/outbin.c
output/outcoff.c
output/outdbg.c
output/outelf32.c
output/outelf64.c
output/outelfx32.c
output/outieee.c
output/outmacho.c
output/outobj.c
output/outrdf2.c