r472 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 13 16:40:51 EST 2006


Author: ludwig
Date: 2006-01-13 16:40:51 -0500 (Fri, 13 Jan 2006)
New Revision: 472

Modified:
   trunk/code/unix/qasm.h
Log:
tell the linker that we want NX stack if possible


Modified: trunk/code/unix/qasm.h
===================================================================
--- trunk/code/unix/qasm.h	2006-01-13 20:54:07 UTC (rev 471)
+++ trunk/code/unix/qasm.h	2006-01-13 21:40:51 UTC (rev 472)
@@ -28,6 +28,10 @@
 #undef ELF
 #endif
 
+#ifdef __ELF__
+.section .note.GNU-stack,"", at progbits
+#endif
+
 #ifdef ELF
 #define C(label) label
 #else




More information about the quake3-commits mailing list