diff --git a/simd/nasm/jsimdext.inc b/simd/nasm/jsimdext.inc index e8d50b0..921d206 100644 --- a/simd/nasm/jsimdext.inc +++ b/simd/nasm/jsimdext.inc @@ -75,6 +75,11 @@ ; mark stack as non-executable section .note.GNU-stack noalloc noexec nowrite progbits +; inform linker that this is compatible with SHSTK but not IBT +section .note.gnu.property note alloc noexec align=8 +DD 0x00000004,0x00000010,0x00000005,0x00554e47 +DD 0xc0000002,0x00000004,0x00000002,0x00000000 + ; -- segment definition -- ; %ifdef __x86_64__