bug in ppc closure code in libffi

Kevin B. Hendricks khendricks@ivey.uwo.ca
Mon Jun 18 06:06:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /