* src/vm/jit/powerpc/asmpart.S, src/vm/jit/alpha/asmpart.S,
authortwisti <none@none>
Sun, 5 Feb 2006 12:03:43 +0000 (12:03 +0000)
committertwisti <none@none>
Sun, 5 Feb 2006 12:03:43 +0000 (12:03 +0000)
src/vm/jit/mips/asmpart.S, src/vm/jit/i386/asmpart.S,
src/vm/jit/x86_64/asmpart.S, src/vm/jit/arm/asmpart.S: Disable
executable stacks, this is required for Gentoo and we actually don't
need them.

src/vm/jit/alpha/asmpart.S
src/vm/jit/i386/asmpart.S
src/vm/jit/mips/asmpart.S
src/vm/jit/powerpc/asmpart.S
src/vm/jit/x86_64/asmpart.S

index 6689f6896e74586346e78eaf24371f701d9a5362..10f0942f6173220be83b264fa03fce7ae9930fc7 100644 (file)
@@ -30,7 +30,7 @@
    Changes: Joseph Wenninger
             Christian Thalinger
 
-   $Id: asmpart.S 4392 2006-01-31 15:35:22Z twisti $
+   $Id: asmpart.S 4440 2006-02-05 12:03:43Z twisti $
 
 */
 
@@ -821,6 +821,13 @@ asm_criticalsections:
     .quad   0
 
 
+/* Disable exec-stacks, required for Gentoo ***********************************/
+
+#if defined(__GCC__) && defined(__ELF__)
+       .section .note.GNU-stack,"",@progbits
+#endif
+
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index 63c23d53aadcc33350da64f6c62e5403eb676fe3..3a73e902c93682ecf4c14778e2782f6ec5f5fd26 100644 (file)
@@ -30,7 +30,7 @@
 
    Changes: Joseph Wenninger
 
-   $Id: asmpart.S 4392 2006-01-31 15:35:22Z twisti $
+   $Id: asmpart.S 4440 2006-02-05 12:03:43Z twisti $
 
 */
 
@@ -784,6 +784,13 @@ asm_criticalsections:
        .long 0
 
 
+/* Disable exec-stacks, required for Gentoo ***********************************/
+
+#if defined(__GCC__) && defined(__ELF__)
+       .section .note.GNU-stack,"",@progbits
+#endif
+
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index b43bf1cac64c7202464d4d67fea223bc67232d31..9a34c5acbf68defefc2e947de723aa3104fab9d2 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: asmpart.S 4357 2006-01-22 23:33:38Z twisti $
+   $Id: asmpart.S 4440 2006-02-05 12:03:43Z twisti $
 
 */
 
@@ -796,6 +796,13 @@ compare_and_swap:
        .end    compare_and_swap
 
 
+/* Disable exec-stacks, required for Gentoo ***********************************/
+
+#if defined(__GCC__) && defined(__ELF__)
+       .section .note.GNU-stack,"",@progbits
+#endif
+
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index 520845b7701f3d0d2b5eeb2db6769e82d081ee2a..9cb943847cb414c21c9965ed5ea70993fe69bfa7 100644 (file)
@@ -30,7 +30,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: asmpart.S 4357 2006-01-22 23:33:38Z twisti $
+   $Id: asmpart.S 4440 2006-02-05 12:03:43Z twisti $
 
 */
 
@@ -1183,6 +1183,13 @@ asm_criticalsections:
        .long 0
 
 
+/* Disable exec-stacks, required for Gentoo ***********************************/
+
+#if defined(__GCC__) && defined(__ELF__)
+       .section .note.GNU-stack,"",@progbits
+#endif
+
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index 6264a65d2ca994f6e0cf4f0a8d2540b732d1fc67..99da16de25e2096995f9b2afe27071b90ec019e2 100644 (file)
@@ -30,7 +30,7 @@
 
    Changes:
 
-   $Id: asmpart.S 4357 2006-01-22 23:33:38Z twisti $
+   $Id: asmpart.S 4440 2006-02-05 12:03:43Z twisti $
 
 */
 
@@ -857,6 +857,13 @@ asm_criticalsections:
        .quad 0
 
 
+/* Disable exec-stacks, required for Gentoo ***********************************/
+
+#if defined(__GCC__) && defined(__ELF__)
+       .section .note.GNU-stack,"",@progbits
+#endif
+
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where