tell the linker that we want NX stack if possible

This commit is contained in:
Ludwig Nussel 2006-01-13 21:40:51 +00:00
parent 216bda8cd7
commit 2a6c9bd2fd

View file

@ -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