glibc-2.5 build with -Os broken on PowerPC
Steve Munroe
sjmunroe@us.ibm.com
Fri Nov 3 22:38:00 GMT 2006
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
More information about the Libc-alpha
mailing list