output: make the return value from the directives method more meaningful
commite562b70ceac93386066fc688ec118787845cbb92
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 06:40:00 +0000 (7 22:40 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 06:42:39 +0000 (7 22:42 -0800)
tree280f3480f2f1e1f175b0113ba63f2734621cfc87
parenta6e26d9cca91ee2b008ece9f7298740ed0b2edf6
output: make the return value from the directives method more meaningful

The directives code is already trying to do a bit more unified error
handling, so give ourselves a bit richer interface.  At this point,
the conversion was pretty automatic so we probably return DIRR_OK
instead of DIRR_ERROR in a fair number of places, but that's okay.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
12 files changed:
asm/directiv.c
include/nasm.h
output/nullout.c
output/outbin.c
output/outcoff.c
output/outdbg.c
output/outelf.c
output/outelf.h
output/outieee.c
output/outlib.h
output/outobj.c
output/outrdf2.c