This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in ppc closure code in libffi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]