Skip to content

Commit

Permalink
tell the linker that we want NX stack if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
lnussel committed Jan 13, 2006
1 parent 216bda8 commit 2a6c9bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/unix/qasm.h
Expand Up @@ -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
Expand Down

0 comments on commit 2a6c9bd

Please sign in to comment.