From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31744 invoked by alias); 10 May 2002 08:47:33 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 31719 invoked from network); 10 May 2002 08:47:32 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 10 May 2002 08:47:32 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 8C4EE1EBD2 for ; Fri, 10 May 2002 10:47:31 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: libc-hacker@sources.redhat.com Subject: Missing sqrtl on powerpc X-Yow: Spreading peanut butter reminds me of opera!! I wonder why? From: Andreas Schwab Date: Fri, 10 May 2002 01:47:00 -0000 Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-05/txt/msg00012.txt.bz2 This fixes the missing sqrtl entry in libm on powerpc. 2002-05-10 Andreas Schwab * sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias. Index: sysdeps/powerpc/fpu/w_sqrt.c =================================================================== RCS file: /cvs/glibc/libc/sysdeps/powerpc/fpu/w_sqrt.c,v retrieving revision 1.2 diff -u -p -a -u -p -a -r1.2 sysdeps/powerpc/fpu/w_sqrt.c --- sysdeps/powerpc/fpu/w_sqrt.c 6 Jul 2001 04:56:02 -0000 1.2 +++ sysdeps/powerpc/fpu/w_sqrt.c 10 May 2002 08:40:46 -0000 @@ -1,5 +1,5 @@ /* Single-precision floating point square root. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -139,3 +139,8 @@ weak_alias (__sqrt, sqrt) /* Strictly, this is wrong, but the only places where _ieee754_sqrt is used will not pass in a negative result. */ strong_alias(__sqrt,__ieee754_sqrt) + +#ifdef NO_LONG_DOUBLE +weak_alias (__sqrt, __sqrtl) +weak_alias (__sqrt, sqrtl) +#endif -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."