diff options
| author | Jon Beniston <jon@beniston.com> | 2001-03-27 02:39:16 +0000 |
|---|---|---|
| committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-03-27 03:39:16 +0100 |
| commit | d6c4152ac040f2ce8ab21de72e00a3c880071307 (patch) | |
| tree | 624b17833a8b4f15408d3ebc9f14aa3c486b8dad /libffi/include | |
| parent | b850de4faa9430a721ffeee7aacd968c2b1befad (diff) | |
| download | gcc-d6c4152ac040f2ce8ab21de72e00a3c880071307.tar.gz gcc-d6c4152ac040f2ce8ab21de72e00a3c880071307.tar.bz2 gcc-d6c4152ac040f2ce8ab21de72e00a3c880071307.zip | |
configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
2001-03-27 Jon Beniston <jon@beniston.com>
* configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
* configure: Rebuilt.
* Makefile.am: Added X86_WIN32 target support.
* Makefile.in: Rebuilt.
* include/ffi.h.in: Added X86_WIN32 target support.
* src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
* src/types.c: Added X86_WIN32 target support.
* src/x86/win32.S: New file. Based on sysv.S, but with EH
stuff removed and made to work with CygWin's gas.
From-SVN: r40860
Diffstat (limited to 'libffi/include')
| -rw-r--r-- | libffi/include/ffi.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index 7161e51e92a..1cd35248687 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -195,6 +195,12 @@ typedef enum ffi_abi { FFI_DEFAULT_ABI = FFI_SYSV, #endif + /* ---- Intel x86 Win32 ---------- */ +#ifdef X86_WIN32 + FFI_SYSV, + FFI_DEFAULT_ABI = FFI_SYSV, +#endif + /* ---- Intel ia64 ---------------- */ #ifdef IA64 FFI_UNIX, /* Linux and all Unix variants use the same conventions */ @@ -351,6 +357,12 @@ size_t ffi_java_raw_size (ffi_cif *cif); #define FFI_TRAMPOLINE_SIZE 10 #define FFI_NATIVE_RAW_API 1 /* and has native raw api support */ +#elif defined(X86_WIN32) + +#define FFI_CLOSURES 1 /* x86 supports closures */ +#define FFI_TRAMPOLINE_SIZE 10 +#define FFI_NATIVE_RAW_API 1 /* and has native raw api support */ + #elif defined(IA64) #define FFI_CLOSURES 1 |
