package.mk/wip/zip/20-zip-3.0-exec-stack.patch

23 lines
620 B
Diff

add proper GNU stack markings so we dont get the default: executable
--- a/crc_i386.S Wed Jan 28 22:22:13 2009
+++ b/crc_i386.S Wed Jan 28 22:27:04 2009
@@ -302,3 +302,7 @@
#endif /* i386 || _i386 || _I386 || __i386 */
#endif /* !USE_ZLIB && !CRC_TABLE_ONLY */
+
+#if defined __ELF__ && defined __linux__
+.section .note.GNU-stack,"",@progbits
+#endif
--- a/match.S Wed Jan 28 22:22:13 2009
+++ b/match.S Wed Jan 28 22:27:04 2009
@@ -405,3 +405,7 @@
#endif /* i386 || _I386 || _i386 || __i386 */
#endif /* !USE_ZLIB */
+
+#if defined __ELF__ && defined __linux__
+.section .note.GNU-stack,"",@progbits
+#endif