summaryrefslogtreecommitdiff
path: root/output/outdbg.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-09-24 09:46:47 -0700
committerH. Peter Anvin <hpa@zytor.com>2016-09-24 09:46:47 -0700
commitfa803abc610d024915876ee513a1198bea062073 (patch)
tree4de7defb91e353b49a989cdba4efe0fce69b852a /output/outdbg.c
parent04445364fc9123ad40bf5581ffa4c5afac4c57dc (diff)
downloadnasm-fa803abc610d024915876ee513a1198bea062073.tar.gz
backend: move wrapper for legacy output functions to a library routine
Move the wrapper for legacy output into a library routine so the backends can be ported one at a time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outdbg.c')
-rw-r--r--output/outdbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index bc36f74c..783bd36f 100644
--- a/output/outdbg.c
+++ b/output/outdbg.c
@@ -46,6 +46,7 @@
#include "nasm.h"
#include "nasmlib.h"
#include "outform.h"
+#include "outlib.h"
#ifdef OF_DBG
@@ -268,6 +269,7 @@ const struct ofmt of_dbg = {
NULL,
dbg_init,
dbg_set_info,
+ nasm_do_legacy_output,
dbg_out,
dbg_deflabel,
dbg_section_names,