Move the output format macros into the macros.pl mechanism
commitcfb7176ca211d2bdc8c790c1b49e6f29db42f777
authorH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jun 2008 22:20:16 +0000 (20 15:20 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jun 2008 22:20:16 +0000 (20 15:20 -0700)
tree5c8749b99df0ac2a1b508d2e2e52248e3a170dc0
parent76cbaa4b2e433ed78031dc75ae1b3183867c55ab
Move the output format macros into the macros.pl mechanism

Move the handling of "extra" macros (i.e. output format macros) into
the macros.pl mechanism.  This allows us to change the format of the
internal macro store in the future - e.g. to a single byte store
without redundant pointers.

Also, stop using indicies into a long array when there is no good
reason to not just use different arrays.
24 files changed:
Makefile.in
macros.pl
nasm.h
output/outaout.c
output/outaout.mac [new file with mode: 0644]
output/outas86.c
output/outas86.mac [new file with mode: 0644]
output/outbin.c
output/outbin.mac [new file with mode: 0644]
output/outcoff.c
output/outcoff.mac [new file with mode: 0644]
output/outelf.mac [new file with mode: 0644]
output/outelf32.c
output/outelf64.c
output/outmacho.c
output/outmacho.mac [new file with mode: 0644]
output/outobj.c
output/outobj.mac [new file with mode: 0644]
output/outrdf.c
output/outrdf.mac [new file with mode: 0644]
output/outrdf2.c
output/outrdf2.mac [new file with mode: 0644]
preproc.c
preproc.h