summaryrefslogtreecommitdiff
path: root/output/outas86.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-05 14:45:12 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-05 14:45:12 -0700
commit0cba10757976294d034ae5d8cd38784555a7ac8b (patch)
tree9c5f816527d88c2195a83ebad6f5e7b392272559 /output/outas86.c
parentfe1ca5a09fb3e82535a40aad3c5caa84d72d7d3a (diff)
downloadnasm-0cba10757976294d034ae5d8cd38784555a7ac8b.tar.gz
Make it possible for outputs to be either text or binary
Allow the backend to specify that an output format is either text or binary. For future uses, define this as a flag word so we can define other flags in the future if it would make sense. Currently, the ieee and dbg formats are text; all the others are binary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outas86.c')
-rw-r--r--output/outas86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outas86.c b/output/outas86.c
index 863a2278..2fa4efca 100644
--- a/output/outas86.c
+++ b/output/outas86.c
@@ -659,7 +659,7 @@ void as86_linenumber(char *name, int32_t segment, int32_t offset, int is_main,
struct ofmt of_as86 = {
"Linux as86 (bin86 version 0.3) object files",
"as86",
- NULL,
+ 0,
null_debug_arr,
&null_debug_form,
as86_stdmac,