summaryrefslogtreecommitdiff
path: root/src/mips/ffitarget.h
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2010-07-23 09:14:00 -0400
committerAnthony Green <green@moxielogic.com>2010-07-23 09:14:00 -0400
commitd14178be4c49c3ada44a9fe9efe11d444372ddab (patch)
treead3ccae8704bff17f7b4b43b5cc4ff4af67c366a /src/mips/ffitarget.h
parent3f5b1375ab1e2b8e3d593e21b27097a4a50f9b83 (diff)
downloadlibffi-d14178be4c49c3ada44a9fe9efe11d444372ddab.tar.gz
FFI_LAST_ABI fix
Diffstat (limited to 'src/mips/ffitarget.h')
-rw-r--r--src/mips/ffitarget.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mips/ffitarget.h b/src/mips/ffitarget.h
index c5f4e05..d70197c 100644
--- a/src/mips/ffitarget.h
+++ b/src/mips/ffitarget.h
@@ -186,30 +186,29 @@ typedef enum ffi_abi {
FFI_O32_SOFT_FLOAT,
FFI_N32_SOFT_FLOAT,
FFI_N64_SOFT_FLOAT,
+ FFI_LAST_ABI,
#ifdef FFI_MIPS_O32
#ifdef __mips_soft_float
- FFI_DEFAULT_ABI = FFI_O32_SOFT_FLOAT,
+ FFI_DEFAULT_ABI = FFI_O32_SOFT_FLOAT
#else
- FFI_DEFAULT_ABI = FFI_O32,
+ FFI_DEFAULT_ABI = FFI_O32
#endif
#else
# if _MIPS_SIM==_ABI64
# ifdef __mips_soft_float
- FFI_DEFAULT_ABI = FFI_N64_SOFT_FLOAT,
+ FFI_DEFAULT_ABI = FFI_N64_SOFT_FLOAT
# else
- FFI_DEFAULT_ABI = FFI_N64,
+ FFI_DEFAULT_ABI = FFI_N64
# endif
# else
# ifdef __mips_soft_float
- FFI_DEFAULT_ABI = FFI_N32_SOFT_FLOAT,
+ FFI_DEFAULT_ABI = FFI_N32_SOFT_FLOAT
# else
- FFI_DEFAULT_ABI = FFI_N32,
+ FFI_DEFAULT_ABI = FFI_N32
# endif
# endif
#endif
-
- FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
} ffi_abi;
#define FFI_EXTRA_CIF_FIELDS unsigned rstruct_flag