diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-10-22 10:55:15 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-10-22 10:55:15 (GMT) |
commit | 1b2f627f96cdabcb4414b4785fcaf8bc309b941b (patch) | |
tree | 98890a17ed16f5e1f43a0ebc67d043b09f1e79c0 /Modules | |
parent | 98f0d14bd9f0614e799a17aa44070e7b3b13402c (diff) | |
download | cpython-1b2f627f96cdabcb4414b4785fcaf8bc309b941b.zip cpython-1b2f627f96cdabcb4414b4785fcaf8bc309b941b.tar.gz cpython-1b2f627f96cdabcb4414b4785fcaf8bc309b941b.tar.bz2 |
- Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that
ctypes isn't considered as requiring executable stacks.
Will backport to 2.5.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi/src/x86/sysv.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_ctypes/libffi/src/x86/sysv.S b/Modules/_ctypes/libffi/src/x86/sysv.S index 46759f4..9542fba 100644 --- a/Modules/_ctypes/libffi/src/x86/sysv.S +++ b/Modules/_ctypes/libffi/src/x86/sysv.S @@ -376,3 +376,7 @@ ffi_closure_raw_SYSV: #endif #endif /* ifndef __x86_64__ */ + +#ifdef __ELF__ +.section .note.GNU-stack,"",%progbits +#endif |