mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-27 09:29:06 +08:00
cfb7176ca2
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.
9 lines
149 B
Plaintext
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
|