diff -urNp john-1.7.2.org/src/sha1-mmx.S john-1.7.2/src/sha1-mmx.S
--- john-1.7.2.org/src/sha1-mmx.S	2007-07-19 18:57:26.000000000 +0300
+++ john-1.7.2/src/sha1-mmx.S	2007-07-19 18:58:20.000000000 +0300
@@ -558,3 +558,6 @@ endianity:
 	por tmp2, ctxd
 	por tmp4, ctxe
 */
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
