diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-13 21:40:51 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-13 21:40:51 +0000 |
commit | 545d7ec6bf2383d10172f4b1c5c45b7f2466927b (patch) | |
tree | e84255dd0910672a71ad5d5af3c350ce37c847b2 /code | |
parent | 63a60c74b9cbe733a2c6110a78d2610b75afde3e (diff) | |
download | ioquake3-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
Diffstat (limited to 'code')
-rw-r--r-- | code/unix/qasm.h | 4 |
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 |