mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
aarch64: Add support for Go closures
This commit is contained in:
committed by
Richard Henderson
parent
0e41c73b09
commit
c6352b664c
@@ -50,6 +50,10 @@ typedef enum ffi_abi
|
||||
#if defined (__APPLE__)
|
||||
#define FFI_TARGET_SPECIFIC_VARIADIC
|
||||
#define FFI_EXTRA_CIF_FIELDS unsigned aarch64_nfixedargs
|
||||
#else
|
||||
/* iOS reserves x18 for the system. Disable Go closures until
|
||||
a new static chain is chosen. */
|
||||
#define FFI_GO_CLOSURES 1
|
||||
#endif
|
||||
|
||||
#define FFI_TARGET_HAS_COMPLEX_TYPE
|
||||
|
||||
Reference in New Issue
Block a user