[patch] libffi longdouble for darwin

Andreas Tobler toa@pop.agri.ch
Fri Sep 3 17:33:00 GMT 2004


Andreas Tobler wrote:

> Hi all,
> 
> the longer promised patch comes here. I hope to have it mostly right to 
> implement longdouble support on darwin (maybe even on AIX).
> 
> I'm still not finished with all the test cases but I'd like to see this 
> patch in 3.5 and so I have to hurry somehow. The test cases needs some 
> polishing. Testing was a bit difficult since the libc does not support 
> longdouble and so I had to tweak a bit.
> 
> I based my work on the ppc64 ABI (by Alanm, DJE et.al.) And on what's 
> currently implemented on darwin.
> 
> Tested on a G4.
> 
> David, if you say AIX behaves the same way as darwin regarding size and 
> alignment of longdoubles I adjust the file src/types.c. I could not test 
> so far on AIX.
> 
> Comments and corrections welcome.

Btw, forgot to say, fixes two current failures on darwin and the patch 
has also been regtested with libjava(libgcj, jacks and mauve) No 
regressions.

Andreas



More information about the Java-patches mailing list