diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-17 20:55:08 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-17 20:55:08 -0800 |
commit | a7bc15dd0aa963ab56a98ee04bc08ce6d9e3baea (patch) | |
tree | 484ed4545faa30d9c83e51eb2bef4b6c2d387d9d /output/outdbg.c | |
parent | 4a8d10c1a004ace853dd3019814329065dda5050 (diff) | |
download | nasm-a7bc15dd0aa963ab56a98ee04bc08ce6d9e3baea.tar.gz |
Remove ofmt->current_dfmt indirection
Move ofmt->current_dfmt into a separate global variable. This
should allow us to make ofmt readonly and removes some additional
gratuitious differences between backends.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'output/outdbg.c')
-rw-r--r-- | output/outdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outdbg.c b/output/outdbg.c index 034a6152..83860abd 100644 --- a/output/outdbg.c +++ b/output/outdbg.c @@ -66,7 +66,7 @@ static void dbg_init(void) static void dbg_cleanup(int debuginfo) { (void)debuginfo; - of_dbg.current_dfmt->cleanup(); + dfmt->cleanup(); while (dbgsect) { struct Section *tmp = dbgsect; dbgsect = dbgsect->next; |