liballegro4/allegro-4.2.2-exec-stack1.patch

286 lines
9.7 KiB
Diff
Raw Permalink Normal View History

diff -Nru allegro-4.2.2/src/amd64/acpus.s allegro-4.2.2-gil/src/amd64/acpus.s
--- allegro-4.2.2/src/amd64/acpus.s 2005-03-10 19:32:55.000000000 +0100
+++ allegro-4.2.2-gil/src/amd64/acpus.s 2008-08-18 18:39:07.000000000 +0200
@@ -128,3 +128,6 @@
popq %rbp
ret
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iblit16.s allegro-4.2.2-gil/src/i386/iblit16.s
--- allegro-4.2.2/src/i386/iblit16.s 2005-06-22 18:53:26.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iblit16.s 2008-08-18 18:40:58.000000000 +0200
@@ -743,3 +743,6 @@
#endif /* ifdef ALLEGRO_COLOR16 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iblit24.s allegro-4.2.2-gil/src/i386/iblit24.s
--- allegro-4.2.2/src/i386/iblit24.s 2005-06-22 18:53:26.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iblit24.s 2008-08-18 18:41:42.000000000 +0200
@@ -372,3 +372,6 @@
#endif /* ifdef ALLEGRO_COLOR24 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iblit32.s allegro-4.2.2-gil/src/i386/iblit32.s
--- allegro-4.2.2/src/i386/iblit32.s 2005-06-22 18:53:26.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iblit32.s 2008-08-18 18:43:20.000000000 +0200
@@ -357,3 +357,6 @@
#endif /* ifdef ALLEGRO_COLOR32 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iblit8.s allegro-4.2.2-gil/src/i386/iblit8.s
--- allegro-4.2.2/src/i386/iblit8.s 2005-06-22 18:53:26.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iblit8.s 2008-08-18 18:42:18.000000000 +0200
@@ -787,3 +787,6 @@
#endif /* ifdef ALLEGRO_COLOR8 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/icpus.s allegro-4.2.2-gil/src/i386/icpus.s
--- allegro-4.2.2/src/i386/icpus.s 2005-03-10 19:32:55.000000000 +0100
+++ allegro-4.2.2-gil/src/i386/icpus.s 2008-08-18 18:44:18.000000000 +0200
@@ -213,3 +213,6 @@
popl %ebp
ret
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/igfx15.s allegro-4.2.2-gil/src/i386/igfx15.s
--- allegro-4.2.2/src/i386/igfx15.s 2000-05-14 22:16:30.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/igfx15.s 2008-08-18 18:45:00.000000000 +0200
@@ -436,3 +436,6 @@
#endif /* ifdef ALLEGRO_COLOR16 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
diff -Nru allegro-4.2.2/src/i386/igfx16.s allegro-4.2.2-gil/src/i386/igfx16.s
--- allegro-4.2.2/src/i386/igfx16.s 2000-05-14 22:16:30.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/igfx16.s 2008-08-18 18:45:16.000000000 +0200
@@ -487,3 +487,6 @@
#endif /* ifdef ALLEGRO_COLOR16 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/igfx24.s allegro-4.2.2-gil/src/i386/igfx24.s
--- allegro-4.2.2/src/i386/igfx24.s 2000-05-14 22:16:30.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/igfx24.s 2008-08-18 18:45:33.000000000 +0200
@@ -581,3 +581,6 @@
#endif /* ifdef ALLEGRO_COLOR24 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/igfx32.s allegro-4.2.2-gil/src/i386/igfx32.s
--- allegro-4.2.2/src/i386/igfx32.s 2000-05-14 22:16:30.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/igfx32.s 2008-08-18 18:45:46.000000000 +0200
@@ -467,3 +467,6 @@
#endif /* ifdef ALLEGRO_COLOR32 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/igfx8.s allegro-4.2.2-gil/src/i386/igfx8.s
--- allegro-4.2.2/src/i386/igfx8.s 2001-04-09 06:49:29.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/igfx8.s 2008-08-18 18:46:01.000000000 +0200
@@ -530,3 +530,6 @@
#endif /* ifdef ALLEGRO_COLOR8 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/imisc.s allegro-4.2.2-gil/src/i386/imisc.s
--- allegro-4.2.2/src/i386/imisc.s 2002-07-05 12:23:47.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/imisc.s 2008-08-18 18:46:17.000000000 +0200
@@ -600,3 +600,6 @@
popl %ebp
ret /* end of fixhypot() */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iscanmmx.s allegro-4.2.2-gil/src/i386/iscanmmx.s
--- allegro-4.2.2/src/i386/iscanmmx.s 2003-07-16 21:43:28.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iscanmmx.s 2008-08-18 18:47:10.000000000 +0200
@@ -1672,3 +1672,6 @@
#endif /* MMX */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/iscan.s allegro-4.2.2-gil/src/i386/iscan.s
--- allegro-4.2.2/src/i386/iscan.s 2004-09-06 09:05:45.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/iscan.s 2008-08-18 18:47:40.000000000 +0200
@@ -2777,3 +2777,6 @@
ret /* end of _poly_scanline_ptex_mask_trans24() */
#endif /* COLOR24 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/ispr15.s allegro-4.2.2-gil/src/i386/ispr15.s
--- allegro-4.2.2/src/i386/ispr15.s 2001-11-10 20:31:51.000000000 +0100
+++ allegro-4.2.2-gil/src/i386/ispr15.s 2008-08-18 18:48:15.000000000 +0200
@@ -494,3 +494,6 @@
#endif /* ifdef ALLEGRO_COLOR16 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/ispr16.s allegro-4.2.2-gil/src/i386/ispr16.s
--- allegro-4.2.2/src/i386/ispr16.s 2002-10-02 20:29:57.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/ispr16.s 2008-08-18 18:48:35.000000000 +0200
@@ -889,3 +889,6 @@
#endif /* ifdef ALLEGRO_COLOR16 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/ispr24.s allegro-4.2.2-gil/src/i386/ispr24.s
--- allegro-4.2.2/src/i386/ispr24.s 2005-11-15 04:38:31.000000000 +0100
+++ allegro-4.2.2-gil/src/i386/ispr24.s 2008-08-18 18:48:55.000000000 +0200
@@ -913,3 +913,6 @@
#endif /* ifdef ALLEGRO_COLOR24 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/ispr32.s allegro-4.2.2-gil/src/i386/ispr32.s
--- allegro-4.2.2/src/i386/ispr32.s 2002-10-02 20:29:57.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/ispr32.s 2008-08-18 18:49:07.000000000 +0200
@@ -700,3 +700,6 @@
#endif /* ifdef ALLEGRO_COLOR32 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/ispr8.s allegro-4.2.2-gil/src/i386/ispr8.s
--- allegro-4.2.2/src/i386/ispr8.s 2004-10-11 22:00:45.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/ispr8.s 2008-08-18 18:49:26.000000000 +0200
@@ -1046,3 +1046,6 @@
#endif /* ifdef ALLEGRO_COLOR8 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/i386/izbuf.s allegro-4.2.2-gil/src/i386/izbuf.s
--- allegro-4.2.2/src/i386/izbuf.s 2004-04-08 21:26:20.000000000 +0200
+++ allegro-4.2.2-gil/src/i386/izbuf.s 2008-08-18 18:49:46.000000000 +0200
@@ -2328,3 +2328,6 @@
ret /* end of _poly_zbuf_ptex_mask_trans24() */
#endif /* COLOR24 */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/linux/svgalibs.s allegro-4.2.2-gil/src/linux/svgalibs.s
--- allegro-4.2.2/src/linux/svgalibs.s 2002-07-09 19:45:20.000000000 +0200
+++ allegro-4.2.2-gil/src/linux/svgalibs.s 2008-08-18 18:50:23.000000000 +0200
@@ -65,3 +65,6 @@
#endif
#endif
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/misc/icolconv.s allegro-4.2.2-gil/src/misc/icolconv.s
--- allegro-4.2.2/src/misc/icolconv.s 2005-07-24 06:56:07.000000000 +0200
+++ allegro-4.2.2-gil/src/misc/icolconv.s 2008-08-18 18:51:20.000000000 +0200
@@ -3288,3 +3288,6 @@
#endif /* ALLEGRO_NO_COLORCOPY */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/misc/modexgfx.s allegro-4.2.2-gil/src/misc/modexgfx.s
--- allegro-4.2.2/src/misc/modexgfx.s 2005-07-28 00:18:59.000000000 +0200
+++ allegro-4.2.2-gil/src/misc/modexgfx.s 2008-08-18 18:51:43.000000000 +0200
@@ -1688,3 +1688,6 @@
#endif /* (!defined ALLEGRO_LINUX) || ((defined ALLEGRO_LINUX_VGA) && ... */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/misc/vbeafs.s allegro-4.2.2-gil/src/misc/vbeafs.s
--- allegro-4.2.2/src/misc/vbeafs.s 2000-05-14 22:16:30.000000000 +0200
+++ allegro-4.2.2-gil/src/misc/vbeafs.s 2008-08-18 18:52:17.000000000 +0200
@@ -188,3 +188,6 @@
#endif /* ifdef VBE/AF is cool on this platform */
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/x/xdga2s.s allegro-4.2.2-gil/src/x/xdga2s.s
--- allegro-4.2.2/src/x/xdga2s.s 2002-07-09 19:45:20.000000000 +0200
+++ allegro-4.2.2-gil/src/x/xdga2s.s 2008-08-18 18:52:57.000000000 +0200
@@ -51,3 +51,6 @@
#endif
#endif
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file
diff -Nru allegro-4.2.2/src/x/xwins.s allegro-4.2.2-gil/src/x/xwins.s
--- allegro-4.2.2/src/x/xwins.s 2004-08-31 09:29:29.000000000 +0200
+++ allegro-4.2.2-gil/src/x/xwins.s 2008-08-18 18:53:11.000000000 +0200
@@ -51,3 +51,6 @@
#endif
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
\ No newline at end of file