diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-03 10:40:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-03 10:40:18 +0000 |
commit | 8fee4bc681fcf020756abeed973e68ee01a316b3 (patch) | |
tree | 70343a7d97746cffc0aa7c7fb5dc9a30132ab61e /libc/stdio/old_vfprintf.c | |
parent | 08601aa5499c91be82693046a26d3a64ebce7350 (diff) |
As noted by Felix Radensky back on 16 Mar:
I've tried several times to compile uClibc with soft-float
(both gcc-3.2.2 toolchain and wrapper), but applications
compiled with uClibc always failed with "Invalid instruction".
So I ended up disabling floating point at all and this works well.
I also has no problem with glibc from Monta Vista, which is
compiled with soft-float. My processor is PowerPC 405GP.
Maybe the problem is in FP() macro definition in
libc/sysdeps/linux/powerpc/setjmp.S and
libc/sysdeps/linux/powerpc/__longjmp.S
#ifdef __UCLIBC_HAS_FLOATS__
#define FP(x...) x
#else
#define FP(x...)
#endif
which should be defined as
if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__
#define FP(x...) x
#else
#define FP(x...)
#endif
Diffstat (limited to 'libc/stdio/old_vfprintf.c')
0 files changed, 0 insertions, 0 deletions