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
This commit is contained in:
David Daney 2003-10-22 15:32:13 +00:00 committed by David Daney
parent 497dc03c22
commit e61acf7242
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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>
* src/ia64/ffi.c: Replace FALSE/TRUE with false/true.

View File

@ -125,12 +125,12 @@
#else /* !LIBFFI_ASM */
#ifdef FFI_MIPS_O32
/* O32 stack frames have 32bit integer args */
typedef UINT32 ffi_arg;
typedef SINT32 ffi_sarg;
typedef unsigned int ffi_arg __attribute__((__mode__(__SI__)));
typedef signed int ffi_sarg __attribute__((__mode__(__SI__)));
#else
/* N32 and N64 frames have 64bit integer args */
typedef UINT64 ffi_arg;
typedef SINT64 ffi_sarg;
typedef unsigned int ffi_arg __attribute__((__mode__(__DI__)));
typedef signed int ffi_sarg __attribute__((__mode__(__DI__)));
#endif
typedef enum ffi_abi {