From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30900 invoked by alias); 1 Feb 2006 12:21:37 -0000 Received: (qmail 30884 invoked by uid 22791); 1 Feb 2006 12:21:36 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Feb 2006 12:21:34 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k11CLOTh008413; Wed, 1 Feb 2006 13:21:24 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k11CLOTp008412; Wed, 1 Feb 2006 13:21:24 +0100 Date: Wed, 01 Feb 2006 12:21:00 -0000 From: Jakub Jelinek To: Roland McGrath Cc: Glibc hackers Subject: [PATCH] Fix s_finitel.c on ppc/ppc64 Message-ID: <20060201122123.GY4625@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00002.txt.bz2 Hi! While comparing ppc{,64} and s390{,64} abilist differences between older DFmode only long double capable glibc with current CVS glibc, I noticed we are now only exporting {__,}finitel@GLIBC_2.{1,0} and not also {__,}finitel@@GLIBC_2.4. Fixed thusly: 2006-02-01 Jakub Jelinek * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol even for libm. --- libc/sysdeps/ieee754/ldbl-128ibm/s_finitel.c.jj 2006-01-28 01:07:25.000000000 +0100 +++ libc/sysdeps/ieee754/ldbl-128ibm/s_finitel.c 2006-02-01 13:15:44.000000000 +0100 @@ -35,8 +35,11 @@ ___finitel (long double x) -0x7ff0000000000000LL)>>63); } hidden_ver (___finitel, __finitel) -#ifndef IS_IN_libm weak_alias (___finitel, ____finitel) -long_double_symbol (libc, ___finitel, finitel); -long_double_symbol (libc, ____finitel, __finitel); +#ifdef IS_IN_libm +long_double_symbol (libm, ____finitel, finitel); +long_double_symbol (libm, ___finitel, __finitel); +#else +long_double_symbol (libc, ____finitel, finitel); +long_double_symbol (libc, ___finitel, __finitel); #endif Jakub