Get rid of a bunch of unnecessary indirections
commit215186fe82c461bc1ccef7bed5c1a1a0253bfcc9
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 18 Feb 2016 04:27:41 +0000 (17 20:27 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 3 Mar 2016 23:22:03 +0000 (3 15:22 -0800)
tree2e1e610ccd0fe722e0a67edf9753ba424e67cf29
parent41087068aa3d5ddac8b28cb2bdcacd606f475c08
Get rid of a bunch of unnecessary indirections

We pass around a whole bunch of function pointers in arguments,
which then just get stashed in static variables.  Clean this mess
up and in particular handle the error management in the preprocessor
using nasm_set_verror() which already exists.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
From master branch checkin 130736c0cfcad28ee16cec6c14bb22999d982e5a

Resolved Conflicts:
nasm.c
preproc-nop.c

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
22 files changed:
assemble.c
assemble.h
eval.c
eval.h
float.c
float.h
listing.c
listing.h
nasm.c
nasm.h
nasmlib.c
nasmlib.h
output/outaout.c
output/outbin.c
output/outelf32.c
output/outelf64.c
output/outelfx32.c
output/outform.h
output/outobj.c
parser.c
preproc-nop.c
preproc.c