[PATCH/RFA] libffi: A SH fixup and a new testcase

Andreas Tobler toa@pop.agri.ch
Thu Oct 21 05:37:00 GMT 2004


Kaz Kojima wrote:

> Hi,
> 
> SH's ffi_call_SYSV wrongly assumes that the double arguments were
> aligned on stack by ffi_prep_args.  This bug causes a few failures
> of libjava tests with gij on SH.  The appended patch fixes it and
> adds a new test for it because this bug couldn't be caught with
> the existing libffi tests.  The result of make check is:
> 
> 		=== libffi Summary ===
> 
> # of expected passes		216
> # of unsupported tests		2
> 
> I've checked that the new test passes also on i686-pc-linux-gnu.
> OK for mainline?
> 
> FYI, with this and SH custom java-signal.h patch waiting for review
> 
>   http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01327.html
> 
> there are no failures in libjava test on sh4-unknown-linux-gnu.

Cool, the test case is fine. Thanks for providing one!

The signal stuff needs some attention from aph or bryce?

Regards,
Andreas



More information about the Java-patches mailing list