This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc-2.5 build with -Os broken on PowerPC
- From: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sourceware dot org, sparky at pld-linux dot org
- Date: Fri, 3 Nov 2006 16:37:50 -0600
- Subject: 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