diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-20 15:20:16 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-20 15:20:16 -0700 |
commit | cfb7176ca211d2bdc8c790c1b49e6f29db42f777 (patch) | |
tree | 5c8749b99df0ac2a1b508d2e2e52248e3a170dc0 /output/outrdf2.mac | |
parent | 76cbaa4b2e433ed78031dc75ae1b3183867c55ab (diff) | |
download | nasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.tar.gz nasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.tar.bz2 nasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.zip |
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.
Diffstat (limited to 'output/outrdf2.mac')
-rw-r--r-- | output/outrdf2.mac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/output/outrdf2.mac b/output/outrdf2.mac new file mode 100644 index 0000000..a48cbfb --- /dev/null +++ b/output/outrdf2.mac @@ -0,0 +1,10 @@ +OUT: rdf2 +%define __SECT__ [section .text] +%imacro library 1+.nolist +[library %1] +%endmacro +%imacro module 1+.nolist +[module %1] +%endmacro +%macro __NASM_CDecl__ 1 +%endmacro |