aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test/nasmformat.asm
blob: 705a24592127fe32d378e24c922e6dbcafa46e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%ifidn __OUTPUT_FORMAT__, bin
	msg_format: db 'This is binary format file'
%elifidn __OUTPUT_FORMAT__, elf32
	section .rodata
	msg_format: db 'This is elf32 format file'
%elifidn __OUTPUT_FORMAT__, elf64
	section .rodata
	msg_format: db 'This is elf64 format file'
%elifidn __OUTPUT_FORMAT__, macho32
	section .rodata
	msg_format: db 'This is macho32 format file'
%elifidn __OUTPUT_FORMAT__, macho64
	section .rodata
	msg_format: db 'This is macho64 format file'
%else
	msg_format: db 'This is some other format file'
%endif