This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
bug in ppc closure code in libffi
- To: java at gcc dot gnu dot org
- Subject: bug in ppc closure code in libffi
- From: Kevin B. Hendricks <khendricks at ivey dot uwo dot ca>
- Date: Mon, 18 Jun 2001 09:09:33 -0400
- Cc: Tom Tromey <tromey at redhat dot com>
- Reply-To: khendricks at ivey dot uwo dot ca
Hi Tom,
I was recently informed that PPC Linux does not correctly follow the abi when
extra float parameters are passed on the outgoing parameter stack. My ppc
closure code assumed the abi was followed and it is not.
Luckily the bug is invoked rarely. Since ppc passes the first 8 float or
double values in floating point registers, you need to be passing more than 8
float or double values with the 9th or higher being a float to see the
problem at all.
Once gcc 3.0 is out, I will grab the latest libffi code and send you a patch
to make the code match what gcc is actually doing.
Sorry about that.
Kevin