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
This commit is contained in:
Rainer Orth 2003-10-06 19:18:35 +00:00 committed by Rainer Orth
parent ffcc1cfc0c
commit d54f735472
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
FFI_MIPS_O32 for O32 ABI.
2003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for

View File

@ -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