From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21255 invoked by alias); 16 Sep 2005 12:47:07 -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 21155 invoked by uid 22791); 16 Sep 2005 12:46:59 -0000 Received: from ns2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 16 Sep 2005 12:46:59 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A68681D373 for ; Fri, 16 Sep 2005 14:46:56 +0200 (CEST) Received: from aj by arthur.inka.de with local (Exim 4.51) id 1EGFWu-0007DE-Qq for libc-hacker@sources.redhat.com; Fri, 16 Sep 2005 14:41:36 +0200 From: Andreas Jaeger To: Glibc hackers Subject: Fix BZ #987 Date: Fri, 16 Sep 2005 12:47:00 -0000 Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.5-b21 (linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2005-09/txt/msg00019.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 2981 The functions tan and atan were not declared as weak aliases like all other functions. Ok to commit? Andreas 2005-09-16 Andreas Jaeger , Peter Bergner [BZ #987] * sysdeps/ieee754/dbl-64/s_tan.c: Use weak alias for function. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Index: sysdeps/ieee754/dbl-64/s_tan.c --- sysdeps/ieee754/dbl-64/s_tan.c 26 Aug 2002 22:40:36 -0000 1.11 +++ sysdeps/ieee754/dbl-64/s_tan.c 16 Sep 2005 12:40:54 -0000 @@ -1,7 +1,7 @@ /* * IBM Accurate Mathematical Library * written by International Business Machines Corp. - * Copyright (C) 2001 Free Software Foundation + * Copyright (C) 2001, 2005 Free Software Foundation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publishe= d by @@ -42,7 +42,7 @@ static double tanMp(double); void __mptan(double, mp_no *, int); =20 -double tan(double x) { +double __tan(double x) { #include "utan.h" #include "utan.tbl" =20 @@ -481,6 +481,8 @@ static double tanMp(double x) return y; } =20 +weak_alias (__tan, tan) #ifdef NO_LONG_DOUBLE -weak_alias (tan, tanl) +weak_alias (__tan, __tanl) +weak_alias (__tan, tanl) #endif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Index: sysdeps/ieee754/dbl-64/s_atan.c --- sysdeps/ieee754/dbl-64/s_atan.c 26 Aug 2002 22:40:36 -0000 1.9 +++ sysdeps/ieee754/dbl-64/s_atan.c 16 Sep 2005 12:40:54 -0000 @@ -1,7 +1,7 @@ /* * IBM Accurate Mathematical Library * written by International Business Machines Corp. - * Copyright (C) 2001 Free Software Foundation + * Copyright (C) 2001,2005 Free Software Foundation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publishe= d by @@ -49,7 +49,7 @@ static double atanMp(double,const int[]) double __signArctan(double,double); /* An ultimate atan() routine. Given an IEEE double machine number x, */ /* routine computes the correctly rounded (to nearest) value of atan(x). */ -double atan(double x) { +double __atan(double x) { =20 =20 double cor,s1,ss1,s2,ss2,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,u,u2,u3, @@ -225,6 +225,8 @@ for (i=3D0; i