nasm/output/outelf.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

9 lines
149 B
Plaintext

OUT: elf elf32 elf64
%define __SECT__ [section .text]
%macro __NASM_CDecl__ 1
%define $_%1 $%1
%endmacro
%macro osabi 1+.nolist
[osabi %1]
%endmacro