diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-13 16:18:13 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-13 16:18:13 +0000 |
commit | be24203d712c030b4091a50f5d84b7372d5c990c (patch) | |
tree | 71b968dc5cf8824d0de4f4ad075137f6d9b67a74 /libffi/src/sparc/ffitarget.h | |
parent | c59e4c4822be06471edc0392be0513a88cafca38 (diff) | |
download | gcc-be24203d712c030b4091a50f5d84b7372d5c990c.tar.gz |
PR libffi/60073
* src/sparc/ffitarget.h (FFI_TARGET_SPECIFIC_VARIADIC): Define.
(FFI_EXTRA_CIF_FIELDS): Likewise.
(FFI_NATIVE_RAW_API): Move around.
* src/sparc/ffi.c (ffi_prep_cif_machdep_core): New function from...
(ffi_prep_cif_machdep): ...here. Call ffi_prep_cif_machdep_core.
(ffi_prep_cif_machdep_var): New function.
(ffi_closure_sparc_inner_v9): Do not pass anonymous FP arguments in
FP registers.
* doc/libffi.texi (Introduction): Fix inaccuracy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207763 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/sparc/ffitarget.h')
-rw-r--r-- | libffi/src/sparc/ffitarget.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libffi/src/sparc/ffitarget.h b/libffi/src/sparc/ffitarget.h index d89f7877a81..a1f5e494820 100644 --- a/libffi/src/sparc/ffitarget.h +++ b/libffi/src/sparc/ffitarget.h @@ -58,16 +58,17 @@ typedef enum ffi_abi { } ffi_abi; #endif +#define FFI_TARGET_SPECIFIC_VARIADIC 1 +#define FFI_EXTRA_CIF_FIELDS unsigned int nfixedargs + /* ---- Definitions for closures ----------------------------------------- */ #define FFI_CLOSURES 1 -#define FFI_NATIVE_RAW_API 0 - #ifdef SPARC64 #define FFI_TRAMPOLINE_SIZE 24 #else #define FFI_TRAMPOLINE_SIZE 16 #endif +#define FFI_NATIVE_RAW_API 0 #endif - |