Fix generic changelog entry.
[fedora-mingw.git] / python / python-2.5.1-ctypes-exec-stack.patch
1 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
2 --- Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S.execstack      2007-08-10 10:34:06.000000000 +0200
3 +++ Python-2.5.1/Modules/_ctypes/libffi/src/x86/unix64.S        2007-08-10 10:34:06.000000000 +0200
4 @@ -410,3 +410,7 @@ ffi_closure_unix64:
5  .LEFDE3:
6  
7  #endif /* __x86_64__ */
8 +
9 +#ifdef __ELF__
10 +.section .note.GNU-stack,"",%progbits
11 +#endif
12 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
13 --- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S.execstack    2007-08-10 10:39:03.000000000 +0200
14 +++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/sysv.S      2007-08-10 10:39:59.000000000 +0200
15 @@ -215,3 +215,7 @@ END(ffi_call_SYSV)
16        .align 2
17  .LEFDE1:
18  #endif
19 +
20 +#ifdef __ELF__
21 +.section .note.GNU-stack,"",%progbits
22 +#endif
23 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
24 --- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S.execstack 2007-08-10 10:39:23.000000000 +0200
25 +++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64_closure.S   2007-08-10 10:39:58.000000000 +0200
26 @@ -204,3 +204,7 @@ ffi_closure_LINUX64:
27         .align 3
28  .LEFDE1:
29  #endif
30 +
31 +#ifdef __ELF__
32 +.section .note.GNU-stack,"",%progbits
33 +#endif
34 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
35 --- Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S.execstack 2007-08-10 10:39:13.000000000 +0200
36 +++ Python-2.5.1/Modules/_ctypes/libffi/src/powerpc/linux64.S   2007-08-10 10:40:01.000000000 +0200
37 @@ -178,3 +178,7 @@ ffi_call_LINUX64:
38         .align 3
39  .LEFDE1:
40  #endif
41 +
42 +#ifdef __ELF__
43 +.section .note.GNU-stack,"",%progbits
44 +#endif