Mark executable as not requiring executable stack.
authorKonstantin Belousov <kib@freebsd.org>
Wed, 6 Nov 2013 11:40:58 +0000 (06:40 -0500)
committerAnthony Green <green@moxielogic.com>
Wed, 6 Nov 2013 11:40:58 +0000 (06:40 -0500)
ChangeLog
src/x86/freebsd.S

index 2c3360e..29a4dba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-06  Konstantin Belousov <kib@freebsd.org>
+
+       * src/x86/freebsd.S (ffi_closure_raw_SYSV): Mark the assembler
+       source as not requiring executable stack.
+
 2013-11-02  Anthony Green  <green@moxielogic.com>
 
        * doc/libffi.texi (The Basics): Clarify return value buffer size
index afde513..504349a 100644 (file)
@@ -456,3 +456,5 @@ ffi_closure_raw_SYSV:
 #endif
 
 #endif /* ifndef __x86_64__ */
+
+       .section .note.GNU-stack,"",%progbits