[PATCH] Implement __abs?f2 functions in soft-fp
Geoff Keating
geoffk@geoffk.org
Sat Nov 2 15:30:00 GMT 2002
Roger Sayle <roger@eyesopen.com> writes:
> > But GCC people and not libc people are the ones who decide what
> > the libgcc interface is that gcc -ffree-standing emits code for.
>
> It looks like "software floating point" is a special exception.
>
> When compiling on a processor without an FPU, such as H8300, or
> even x86 with "-msoft-float -mno-ret-in-387", GCC emits code that
> contains calls to a suitable software floating point library.
> These generic routines are not part of libgcc, and on most platforms
> aren't part of glibc by default.
This is not correct. If -ffree-standing is specified then GCC should
not assume that libm routines are available.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Libc-alpha
mailing list