projects/aports·blob master · refs

22 lines · 620 B

1add proper GNU stack markings so we dont get the default: executable
2
3--- a/crc_i386.S Wed Jan 28 22:22:13 2009
4+++ b/crc_i386.S Wed Jan 28 22:27:04 2009
5@@ -302,3 +302,7 @@
6 #endif /* i386 || _i386 || _I386 || __i386 */
7
8 #endif /* !USE_ZLIB && !CRC_TABLE_ONLY */
9+
10+#if defined __ELF__ && defined __linux__
11+.section .note.GNU-stack,"",@progbits
12+#endif
13--- a/match.S Wed Jan 28 22:22:13 2009
14+++ b/match.S Wed Jan 28 22:27:04 2009
15@@ -405,3 +405,7 @@
16 #endif /* i386 || _I386 || _i386 || __i386 */
17
18 #endif /* !USE_ZLIB */
19+
20+#if defined __ELF__ && defined __linux__
21+.section .note.GNU-stack,"",@progbits
22+#endif