OSDN Git Service

2003-10-22 David Daney <ddaney@avtrex.com>
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2003 15:32:13 +0000 (15:32 +0000)
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2003 15:32:13 +0000 (15:32 +0000)
* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
__attribute__((__mode__(__SI__))) and friends.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72802 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/src/mips/ffitarget.h

index 3fef2f8..74c6b74 100644 (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.
 2003-10-22  Andreas Schwab  <schwab@suse.de>
 
        * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
index f6b4143..9378ed0 100644 (file)
 #else /* !LIBFFI_ASM */
 #ifdef FFI_MIPS_O32
 /* O32 stack frames have 32bit integer args */
 #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 */
 #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 {
 #endif
 
 typedef enum ffi_abi {