This patch enables FFI Go Closure on AIX.

This commit is contained in:
Tony Reix
2017-05-17 14:57:53 +02:00
parent c0cc9f1df9
commit 0ff9419f2e
4 changed files with 578 additions and 9 deletions
+3
View File
@@ -142,6 +142,9 @@ typedef enum ffi_abi {
# define FFI_TARGET_SPECIFIC_VARIADIC 1
# define FFI_EXTRA_CIF_FIELDS unsigned nfixedargs
#endif
#if defined (POWERPC_AIX)
# define FFI_GO_CLOSURES 1
#endif
/* ppc_closure.S and linux64_closure.S expect this. */
#define FFI_PPC_TYPE_LAST FFI_TYPE_POINTER