From 545d7ec6bf2383d10172f4b1c5c45b7f2466927b Mon Sep 17 00:00:00 2001 From: ludwig Date: Fri, 13 Jan 2006 21:40:51 +0000 Subject: 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 --- code/unix/qasm.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3