aboutsummaryrefslogtreecommitdiff
path: root/libffi/src
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2003-10-22 15:32:13 +0000
committerDavid Daney <daney@gcc.gnu.org>2003-10-22 15:32:13 +0000
commite61acf72429e60fd9ef313e20d2be82a01c71c08 (patch)
tree50603beea6508a8104f982b927b2a6022f58cda3 /libffi/src
parent497dc03c227462cf7620902bc1120369d800a50d (diff)
downloadgcc-e61acf72429e60fd9ef313e20d2be82a01c71c08.zip
gcc-e61acf72429e60fd9ef313e20d2be82a01c71c08.tar.gz
gcc-e61acf72429e60fd9ef313e20d2be82a01c71c08.tar.bz2
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
Diffstat (limited to 'libffi/src')
-rw-r--r--libffi/src/mips/ffitarget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libffi/src/mips/ffitarget.h b/libffi/src/mips/ffitarget.h
index f6b4143..9378ed0 100644
--- a/libffi/src/mips/ffitarget.h
+++ b/libffi/src/mips/ffitarget.h
@@ -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 {