From e54fb0bf958a9d8cd335731777500cfc139d94e5 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 27 Jan 2010 10:10:23 +0000 Subject: [PATCH] [Bugfix] Mark stack as non-executable in NASM code. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@70 632fc199-4ca6-4c93-a231-07263d6284db --- simd/jsimdext.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simd/jsimdext.inc b/simd/jsimdext.inc index 878f045..4695360 100644 --- a/simd/jsimdext.inc +++ b/simd/jsimdext.inc @@ -53,6 +53,9 @@ ; * *BSD family Unix using elf format ; * Unix System V, including Solaris x86, UnixWare and SCO Unix +; mark stack as non-executable +section .note.GNU-stack noalloc noexec nowrite progbits + ; -- segment definition -- ; %ifdef __x86_64__ -- 2.40.0