[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Incompatibility between FPU and non FPU code



Le Wed, 10 Dec 2008 22:28:33 +0100
Vincent Rivière <vincent.riviere@freesbee.fr> a _crit:

> 
> Patrice Mandin a wrote :
>  > Current ABI for non-FPU code is to have return value in d0; of course,
>  > FPU code expects return value in fp0 register.
> 
> I may have misconfigured GCC 4.X about this float ABI.
> I'm not sure it behaves like GCC 2.95.

I just checked the fdlibm rpm package on sparemint website. The
m68020-60/libm.a cos() function returns value in fp0.

objdump -d /path/to/m68020-60/libm.a > dump.txt
Then search for ___kernel_cos.

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux