diff options
author | Anthony Green <green@moxielogic.com> | 2013-01-02 08:51:35 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2013-01-02 08:51:35 -0500 |
commit | 4394096da0aca0dd422b479a043c18b4f05c5770 (patch) | |
tree | 85192dd03c9ab232b306b9d09dcddadd7b49e563 /include | |
parent | ed7a59c3ff7c84bd95c374a5aff21599f705e6dc (diff) | |
download | libffi-4394096da0aca0dd422b479a043c18b4f05c5770.tar.gz |
missed trampoline_table patch. Move to GCC.
Diffstat (limited to 'include')
-rw-r--r-- | include/ffi.h.in | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/ffi.h.in b/include/ffi.h.in index 4f3b3de..a51583b 100644 --- a/include/ffi.h.in +++ b/include/ffi.h.in @@ -297,7 +297,12 @@ size_t ffi_java_raw_size (ffi_cif *cif); __declspec(align(8)) #endif typedef struct { +#if @FFI_EXEC_TRAMPOLINE_TABLE@ + void *trampoline_table; + void *trampoline_table_entry; +#else char tramp[FFI_TRAMPOLINE_SIZE]; +#endif ffi_cif *cif; void (*fun)(ffi_cif*,void*,void**,void*); void *user_data; @@ -330,8 +335,12 @@ ffi_prep_closure_loc (ffi_closure*, # pragma pack 8 #endif typedef struct { +#if @FFI_EXEC_TRAMPOLINE_TABLE@ + void *trampoline_table; + void *trampoline_table_entry; +#else char tramp[FFI_TRAMPOLINE_SIZE]; - +#endif ffi_cif *cif; #if !FFI_NATIVE_RAW_API @@ -351,7 +360,12 @@ typedef struct { } ffi_raw_closure; typedef struct { +#if @FFI_EXEC_TRAMPOLINE_TABLE@ + void *trampoline_table; + void *trampoline_table_entry; +#else char tramp[FFI_TRAMPOLINE_SIZE]; +#endif ffi_cif *cif; |