diff --git a/source/row_x86.asm b/source/row_x86.asm index 11650c040..6100e9b5d 100644 --- a/source/row_x86.asm +++ b/source/row_x86.asm @@ -15,6 +15,16 @@ %endif %include "x86inc.asm" +%ifidn __OUTPUT_FORMAT__,elf +section .note.GNU-stack noalloc noexec nowrite progbits +%endif +%ifidn __OUTPUT_FORMAT__,elf32 +section .note.GNU-stack noalloc noexec nowrite progbits +%endif +%ifidn __OUTPUT_FORMAT__,elf64 +section .note.GNU-stack noalloc noexec nowrite progbits +%endif + SECTION .text ; cglobal numeric constants are parameters, gpr regs, mm regs