]> granicus.if.org Git - python/commitdiff
- Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 22 Oct 2006 10:55:25 +0000 (10:55 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 22 Oct 2006 10:55:25 +0000 (10:55 +0000)
  ctypes isn't considered as requiring executable stacks.

Misc/NEWS
Modules/_ctypes/libffi/src/x86/sysv.S

index 7313802399a23394628c1b6849c900f2b2236238..0b7fdc376e595630075db6fc84197c3014c6791d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -52,6 +52,9 @@ Core and builtins
 Extension Modules
 -----------------
 
+- Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that
+  ctypes isn't considered as requiring executable stacks.
+
 - Bug #1567666: Emulate GetFileAttributesExA for Win95.
 
 - Bug #1548891: The cStringIO.StringIO() constructor now encodes unicode
index 46759f43498583642745ecb0dd34c71e3a968264..9542fba1a2908369cd2114b1d203ac42509aea4b 100644 (file)
@@ -376,3 +376,7 @@ ffi_closure_raw_SYSV:
 #endif
 
 #endif /* ifndef __x86_64__ */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif