[uClibc]PowerPC without FPU

Rasmus Rohde rohde at duff.dk
Mon May 5 05:49:28 UTC 2003


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?



More information about the uClibc mailing list