summaryrefslogtreecommitdiff
path: root/output/outelf.mac
diff options
context:
space:
mode:
Diffstat (limited to 'output/outelf.mac')
-rw-r--r--output/outelf.mac8
1 files changed, 8 insertions, 0 deletions
diff --git a/output/outelf.mac b/output/outelf.mac
new file mode 100644
index 0000000..bd6f82e
--- /dev/null
+++ b/output/outelf.mac
@@ -0,0 +1,8 @@
+OUT: elf elf32 elf64
+%define __SECT__ [section .text]
+%macro __NASM_CDecl__ 1
+%define $_%1 $%1
+%endmacro
+%macro osabi 1+.nolist
+[osabi %1]
+%endmacro