--- a/source/common/x86/x86inc.asm 2015-10-08 12:01:36.000000000 +0200 +++ b/source/common/x86/x86inc.asm 2015-10-14 21:49:55.000000000 +0200 @@ -1483,3 +1483,14 @@ FMA4_INSTR fnmsubss, fnmsub132ss, fnmsub %endif %endmacro %endif + +%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 +