[Python-checkins] r52418 - in python/trunk: Misc/NEWS Modules/_ctypes/libffi/src/x86/sysv.S

martin.v.loewis python-checkins at python.org
Sun Oct 22 12:55:15 CEST 2006


Author: martin.v.loewis
Date: Sun Oct 22 12:55:15 2006
New Revision: 52418

Modified:
   python/trunk/Misc/NEWS
   python/trunk/Modules/_ctypes/libffi/src/x86/sysv.S
Log:
- 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.


Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Oct 22 12:55:15 2006
@@ -81,6 +81,9 @@
 Library
 -------
 
+- Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that
+  ctypes isn't considered as requiring executable stacks.
+
 - ctypes callback functions only support 'fundamental' data types as
   result type.  Raise an error when something else is used.  This is a
   partial fix for Bug #1574584.

Modified: python/trunk/Modules/_ctypes/libffi/src/x86/sysv.S
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/x86/sysv.S	(original)
+++ python/trunk/Modules/_ctypes/libffi/src/x86/sysv.S	Sun Oct 22 12:55:15 2006
@@ -376,3 +376,7 @@
 #endif
 
 #endif /* ifndef __x86_64__ */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif


More information about the Python-checkins mailing list