public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch committed] SH: Tweak libffi ffi.c
@ 2008-07-16 14:32 Kaz Kojima
  0 siblings, 0 replies; only message in thread
From: Kaz Kojima @ 2008-07-16 14:32 UTC (permalink / raw)
  To: gcc-patches, java-patches

Hi,

Here is a one-liner to fix the failures of libffi closure tests
on SH.  I've committed it as an obvious one.  It's regtested
on sh4-unknown-linux-gnu with no new failures.

Regards,
	kaz
--
2008-07-16  Kaz Kojima  <kkojima@gcc.gnu.org>

	* src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
	int.

diff -uprN ORIG/trunk/libffi/src/sh/ffi.c LOCAL/trunk/libffi/src/sh/ffi.c
--- ORIG/trunk/libffi/src/sh/ffi.c	2007-03-08 05:48:03.000000000 +0900
+++ LOCAL/trunk/libffi/src/sh/ffi.c	2008-07-16 20:18:29.000000000 +0900
@@ -1,5 +1,6 @@
 /* -----------------------------------------------------------------------
-   ffi.c - Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007 Kaz Kojima
+   ffi.c - Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
+   Kaz Kojima
    
    SuperH Foreign Function Interface 
 
@@ -459,7 +460,7 @@ ffi_prep_closure_loc (ffi_closure* closu
 		      void *codeloc)
 {
   unsigned int *tramp;
-  unsigned short insn;
+  unsigned int insn;
 
   FFI_ASSERT (cif->abi == FFI_GCC_SYSV);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-16 14:32 [patch committed] SH: Tweak libffi ffi.c Kaz Kojima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).