This is the mail archive of the libc-alpha@sourceware.org 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: glibc-2.5 build with -Os broken on PowerPC


Ulrich Drepper <drepper@redhat.com> wrote on 11/03/2006 11:41:53 AM:

> sparky@pld-linux.org wrote:
> > you mean # define __CPU_HAS_FSQRT something ?
> >
> > It isn't internal-only definition. It is used in inline __ieee754_sqrt
>
> The code is protected by __LIBC_INTERNAL_MATH_INLINES which is only
> defined inside glibc.  At least this is the intend.  Therefore all the
> code inside the #ifdef can be moved in a separate header which is always
> included when compiling glibc and not installed.
>

Would it be appropriate to move this code into
libc/sysdeps/powerpc/fpu/math_private.h

then this math_private would tail include

#include_next <math_private.h>

Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center


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