[uClibc]PowerPC without FPU

Erik Andersen andersen at codepoet.org
Thu Jul 3 10:43:47 UTC 2003


On Mon May 05, 2003 at 07:49:28AM +0200, Rasmus Rohde wrote:
> It seems to me there is a small bug in the checking for FPU availability
> in the PowerPC part of the code:
> 
> In the dir uClibc/libc/sysdeps/linux we have the following checks on
> arm:
> 
> arm/__longjmp.S:#if defined __UCLIBC_HAS_FLOATS__ && ! defined
> __UCLIBC_HAS_SOFT_FLOAT__
> arm/setjmp.S:#if defined __UCLIBC_HAS_FLOATS__ && ! defined
> __UCLIBC_HAS_SOFT_FLOAT__
> 
> But on PowerPC there is no check for __UCLIBC_HAS_SOFT_FLOAT__:
> 
> powerpc/__longjmp.S:#ifdef __UCLIBC_HAS_FLOATS__
> powerpc/setjmp.S:#ifdef __UCLIBC_HAS_FLOATS__
> 
> Shouldn't the PowerPC have the same check?

Yup.  Sorry I didn't see / respond to your email before...
This problem is fixed now.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list