tell the linker that we want NX stack if possible
This commit is contained in:
1 parent
216bda8cd7
commit
2a6c9bd2fd
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user