Make it possible for outputs to be either text or binary
commit0cba10757976294d034ae5d8cd38784555a7ac8b
authorH. Peter Anvin <hpa@zytor.com>
Sun, 5 Jul 2009 21:45:12 +0000 (5 14:45 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 5 Jul 2009 21:45:12 +0000 (5 14:45 -0700)
tree9c5f816527d88c2195a83ebad6f5e7b392272559
parentfe1ca5a09fb3e82535a40aad3c5caa84d72d7d3a
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>
14 files changed:
nasm.c
nasm.h
output/outaout.c
output/outas86.c
output/outbin.c
output/outcoff.c
output/outdbg.c
output/outelf32.c
output/outelf64.c
output/outieee.c
output/outmacho.c
output/outobj.c
output/outrdf.c
output/outrdf2.c