5ee001f
diff -up Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S.execstack Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S
5ee001f
--- Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S.execstack	2007-08-10 10:34:06.000000000 +0200
5ee001f
+++ Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S	2007-08-10 10:34:06.000000000 +0200
5ee001f
@@ -410,3 +410,7 @@ ffi_closure_unix64:
5ee001f
 .LEFDE3:
5ee001f
 
5ee001f
 #endif /* __x86_64__ */
5ee001f
+
5ee001f
+#ifdef __ELF__
5ee001f
+.section .note.GNU-stack,"",%progbits
5ee001f
+#endif
5ee001f
diff -up Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S.execstack Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S
5ee001f
--- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S.execstack	2007-08-10 10:39:03.000000000 +0200
5ee001f
+++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S	2007-08-10 10:39:59.000000000 +0200
5ee001f
@@ -215,3 +215,7 @@ END(ffi_call_SYSV)
5ee001f
       .align 2
5ee001f
 .LEFDE1:
5ee001f
 #endif
5ee001f
+
5ee001f
+#ifdef __ELF__
5ee001f
+.section .note.GNU-stack,"",%progbits
5ee001f
+#endif
5ee001f
diff -up Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S.execstack Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S
5ee001f
--- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S.execstack	2007-08-10 10:39:23.000000000 +0200
5ee001f
+++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S	2007-08-10 10:39:58.000000000 +0200
5ee001f
@@ -204,3 +204,7 @@ ffi_closure_LINUX64:
5ee001f
 	.align 3
5ee001f
 .LEFDE1:
5ee001f
 #endif
5ee001f
+
5ee001f
+#ifdef __ELF__
5ee001f
+.section .note.GNU-stack,"",%progbits
5ee001f
+#endif
5ee001f
diff -up Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S.execstack Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S
5ee001f
--- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S.execstack	2007-08-10 10:39:13.000000000 +0200
5ee001f
+++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S	2007-08-10 10:40:01.000000000 +0200
5ee001f
@@ -178,3 +178,7 @@ ffi_call_LINUX64:
5ee001f
 	.align 3
5ee001f
 .LEFDE1:
5ee001f
 #endif
5ee001f
+
5ee001f
+#ifdef __ELF__
5ee001f
+.section .note.GNU-stack,"",%progbits
5ee001f
+#endif