diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-13 02:23:26 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-13 02:23:26 +0000 |
commit | 81f536a39d212c8dc0ed46ae94b242e17b6ac420 (patch) | |
tree | a6d4e22bff230a2a4dcb77057a9505cb785a58a6 /libffi/include | |
parent | 332b07de40ecf536ce634b78818cf1b8ca9926b9 (diff) | |
download | gcc-81f536a39d212c8dc0ed46ae94b242e17b6ac420.tar.gz |
* Makefile.am: Add SHmedia support. Fix a typo of SH support.
* Makefile.in: Regenerate.
* configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
* configure: Regenerate.
* include/ffi.h.in: Add SHmedia support.
* src/sh64/ffi.c: New file.
* src/sh64/sysv.S: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r-- | libffi/include/ffi.h.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index b37307c8f92..fe32ea2527f 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -302,6 +302,12 @@ typedef enum ffi_abi { FFI_DEFAULT_ABI = FFI_SYSV, #endif + /* ---- SuperH - SHmedia --------- */ +#ifdef SH64 + FFI_SYSV, + FFI_DEFAULT_ABI = FFI_SYSV, +#endif + /* Leave this for debugging purposes */ FFI_LAST_ABI @@ -356,6 +362,10 @@ typedef struct { #endif #endif +#ifdef SH64 + long long flags2; +#endif + } ffi_cif; #if SIZEOF_ARG == 4 @@ -501,6 +511,12 @@ struct ffi_ia64_trampoline_struct { #define FFI_TRAMPOLINE_SIZE 16 #define FFI_NATIVE_RAW_API 0 +#elif defined(SH64) + +#define FFI_CLOSURES 1 +#define FFI_TRAMPOLINE_SIZE 32 +#define FFI_NATIVE_RAW_API 0 + #elif defined(__x86_64__) #define FFI_CLOSURES 1 |