aboutsummaryrefslogtreecommitdiff
path: root/libffi/include
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-10-06 19:18:35 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-10-06 19:18:35 +0000
commitd54f735472c0ae55953110c0e7fbe98a19a82864 (patch)
tree0ac350c58bcca0efa0f2e6807ecc389ccfdcd2e1 /libffi/include
parentffcc1cfc0c097cea8589fdcdc1ddf09d9c7a135e (diff)
downloadgcc-d54f735472c0ae55953110c0e7fbe98a19a82864.zip
gcc-d54f735472c0ae55953110c0e7fbe98a19a82864.tar.gz
gcc-d54f735472c0ae55953110c0e7fbe98a19a82864.tar.bz2
ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs, FFI_MIPS_O32 for O32 ABI.
* include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs, FFI_MIPS_O32 for O32 ABI. From-SVN: r72161
Diffstat (limited to 'libffi/include')
-rw-r--r--libffi/include/ffi_mips.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libffi/include/ffi_mips.h b/libffi/include/ffi_mips.h
index 6fd56474..c54224c 100644
--- a/libffi/include/ffi_mips.h
+++ b/libffi/include/ffi_mips.h
@@ -30,17 +30,13 @@
#if !defined(_MIPS_SIM)
-- something is very wrong --
#else
-# if _MIPS_SIM==_ABIN32 && defined(_ABIN32)
+# if (_MIPS_SIM==_ABIN32 && defined(_ABIN32)) || (_MIPS_SIM==_ABI64 && defined(_ABI64))
# define FFI_MIPS_N32
# else
-# if defined(__GNUC__)
+# if _MIPS_SIM==_ABIO32 && defined(_ABIO32)
# define FFI_MIPS_O32
# else
-# if _MIPS_SIM==_ABIO32
-# define FFI_MIPS_O32
-# else
-- this is an unsupported platform --
-# endif
# endif
# endif
#endif