summaryrefslogtreecommitdiff
path: root/libffi/src/m68k/ffitarget.h
diff options
context:
space:
mode:
authorzippel <zippel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-10 21:29:04 +0000
committerzippel <zippel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-10 21:29:04 +0000
commit0e3a3bdbc4fc91a1fdf5a7bca1a3907e91125800 (patch)
tree78cb2774ba34e95691b63ceefd517e55587b612b /libffi/src/m68k/ffitarget.h
parenta53add809f636110657909ca4f563f15233f9121 (diff)
downloadgcc-0e3a3bdbc4fc91a1fdf5a7bca1a3907e91125800.tar.gz
* src/m68k/ffi.c (ffi_prep_incoming_args_SYSV,
ffi_closure_SYSV_inner,ffi_prep_closure): New, add closure support. * src/m68k/sysv.S(ffi_closure_SYSV,ffi_closure_struct_SYSV): Likewise. * src/m68k/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise. (FFI_CLOSURES): Enable closure support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/m68k/ffitarget.h')
-rw-r--r--libffi/src/m68k/ffitarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libffi/src/m68k/ffitarget.h b/libffi/src/m68k/ffitarget.h
index aca7facc50a..9a072db404f 100644
--- a/libffi/src/m68k/ffitarget.h
+++ b/libffi/src/m68k/ffitarget.h
@@ -40,7 +40,8 @@ typedef enum ffi_abi {
/* ---- Definitions for closures ----------------------------------------- */
-#define FFI_CLOSURES 0
+#define FFI_CLOSURES 1
+#define FFI_TRAMPOLINE_SIZE 16
#define FFI_NATIVE_RAW_API 0
#endif