This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement __abs?f2 functions in soft-fp


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]