Package: allegro4.4 / 2:4.4.3.1-2

fix_non_executable_stack.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fixes assembly files so that the stack isn't marked executable
Author: Sam Hocevar <sam+deb@zoy.org>
--- a/src/i386/asmdefs.inc
+++ b/src/i386/asmdefs.inc
@@ -80,7 +80,11 @@
  */
 #define IRQ_STACKS      8
 
-
+/* Tell GCC our stack is not executable
+ */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
 
 #endif   /* ifndef ALLEGRO_ASMDEFS_INC */