aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-13 21:40:51 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-13 21:40:51 +0000
commit545d7ec6bf2383d10172f4b1c5c45b7f2466927b (patch)
treee84255dd0910672a71ad5d5af3c350ce37c847b2
parent63a60c74b9cbe733a2c6110a78d2610b75afde3e (diff)
downloadioquake3-aero-545d7ec6bf2383d10172f4b1c5c45b7f2466927b.tar.gz
ioquake3-aero-545d7ec6bf2383d10172f4b1c5c45b7f2466927b.zip
tell the linker that we want NX stack if possible
git-svn-id: svn://svn.icculus.org/quake3/trunk@472 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/unix/qasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/unix/qasm.h b/code/unix/qasm.h
index 25a0ed9..9d030d6 100644
--- a/code/unix/qasm.h
+++ b/code/unix/qasm.h
@@ -28,6 +28,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#undef ELF
#endif
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif
+
#ifdef ELF
#define C(label) label
#else