Commit e61acf72 by David Daney Committed by David Daney

ffitarget.h: Replace undefined UINT32 and friends with __attribute__((__mode__(__SI__))) and...

2003-10-22  David Daney  <ddaney@avtrex.com>

	* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
	__attribute__((__mode__(__SI__))) and friends.

From-SVN: r72802
parent 497dc03c
2003-10-22 David Daney <ddaney@avtrex.com>
* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
__attribute__((__mode__(__SI__))) and friends.
2003-10-22 Andreas Schwab <schwab@suse.de> 2003-10-22 Andreas Schwab <schwab@suse.de>
* src/ia64/ffi.c: Replace FALSE/TRUE with false/true. * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
......
...@@ -125,12 +125,12 @@ ...@@ -125,12 +125,12 @@
#else /* !LIBFFI_ASM */ #else /* !LIBFFI_ASM */
#ifdef FFI_MIPS_O32 #ifdef FFI_MIPS_O32
/* O32 stack frames have 32bit integer args */ /* O32 stack frames have 32bit integer args */
typedef UINT32 ffi_arg; typedef unsigned int ffi_arg __attribute__((__mode__(__SI__)));
typedef SINT32 ffi_sarg; typedef signed int ffi_sarg __attribute__((__mode__(__SI__)));
#else #else
/* N32 and N64 frames have 64bit integer args */ /* N32 and N64 frames have 64bit integer args */
typedef UINT64 ffi_arg; typedef unsigned int ffi_arg __attribute__((__mode__(__DI__)));
typedef SINT64 ffi_sarg; typedef signed int ffi_sarg __attribute__((__mode__(__DI__)));
#endif #endif
typedef enum ffi_abi { typedef enum ffi_abi {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment