nasm/output/outobj.mac
H. Peter Anvin cfb7176ca2 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.
2008-06-20 15:20:16 -07:00

17 lines
268 B
Plaintext

OUT: obj
%define __SECT__ [section .text]
%imacro group 1+.nolist
[group %1]
%endmacro
%imacro uppercase 0+.nolist
[uppercase %1]
%endmacro
%imacro export 1+.nolist
[export %1]
%endmacro
%imacro import 1+.nolist
[import %1]
%endmacro
%macro __NASM_CDecl__ 1
%endmacro