From patchwork Tue Jan 26 00:08:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 572975 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 989571402BF for ; Tue, 26 Jan 2016 11:08:35 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=omz6YB2j; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:to:subject:from:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=pGX 77H+gOXa8Ept1CnTxPY4zUlf7NBwQvi2TwCav+bAbSPUzSnP9S6hlaho/m0m6reo 5MWFNkAVsWDynnFclg+o13OfCuTGSdb68p3vohAulL0yD7SI+PyL1JpnSpczsb17 Utbo1pYzQHwssUgsc6dZKwzSypMvautF8GEQMTM0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:to:subject:from:mime-version :content-type:content-transfer-encoding; s=default; bh=2vAfUVVSp lYGZ8c/kUwmPiy+l2Y=; b=omz6YB2jyaeydOK8J5UCTQ1ctrYQW0UO5Gfnk9SzW 462wVvO96zk3jVQRJnE5JQL4oslwECA/cpVttUynMmCxd7+hKLgcqM1a7j73a886 Cv1P4hHwSyeaTf9m71ktM2VY9W0LC/CawGrSDk8p8z8con5xoiGKz398GJ0Zj/5b S0= Received: (qmail 125537 invoked by alias); 26 Jan 2016 00:08:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 125506 invoked by uid 89); 26 Jan 2016 00:08:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=4027, 402, 7, e_sqrtl.c, UD:e_sqrtl.c X-HELO: shards.monkeyblade.net Date: Mon, 25 Jan 2016 16:08:22 -0800 (PST) Message-Id: <20160125.160822.1520986531401799822.davem@davemloft.net> To: libc-alpha@sourceware.org Subject: [COMMITTED PATCH] Define __sqrtl_finite on sparc 32-bit with correct symbol version. From: David Miller Mime-Version: 1.0 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for __sqrtl_finite. * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define instead using versioned_symbol. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering of entries. --- ChangeLog | 5 +++++ sysdeps/sparc/sparc32/Versions | 5 +++++ sysdeps/sparc/sparc32/fpu/e_sqrtl.c | 4 +++- sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d338acc..42d01d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2016-01-25 David S. Miller + * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for __sqrtl_finite. + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define instead using + versioned_symbol. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering of entries. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move __sqrtl_finite to GLIBC_2.23 diff --git a/sysdeps/sparc/sparc32/Versions b/sysdeps/sparc/sparc32/Versions index aa36082..6d3bfe8 100644 --- a/sysdeps/sparc/sparc32/Versions +++ b/sysdeps/sparc/sparc32/Versions @@ -3,3 +3,8 @@ libc { .div; .mul; .rem; .udiv; .umul; .urem; } } +libm { + GLIBC_2.23 { + __sqrtl_finite; + } +} diff --git a/sysdeps/sparc/sparc32/fpu/e_sqrtl.c b/sysdeps/sparc/sparc32/fpu/e_sqrtl.c index 46ad861..b0ce44a 100644 --- a/sysdeps/sparc/sparc32/fpu/e_sqrtl.c +++ b/sysdeps/sparc/sparc32/fpu/e_sqrtl.c @@ -25,4 +25,6 @@ __ieee754_sqrtl (long double x) { return _Q_sqrt (x); } -strong_alias (__ieee754_sqrtl, __sqrtl_finite) + +#include +versioned_symbol (libm, __ieee754_sqrtl, __sqrtl_finite, GLIBC_2_23); diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist index 0a54f31..185ab09 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist @@ -389,7 +389,6 @@ GLIBC_2.18 GLIBC_2.18 A GLIBC_2.18 __issignaling F GLIBC_2.18 __issignalingf F GLIBC_2.18 __issignalingl F -GLIBC_2.23 __sqrtl_finite F GLIBC_2.2 GLIBC_2.2 A GLIBC_2.2 feclearexcept F GLIBC_2.2 fedisableexcept F @@ -403,6 +402,7 @@ GLIBC_2.2 fesetexceptflag F GLIBC_2.2 feupdateenv F GLIBC_2.23 GLIBC_2.23 A GLIBC_2.23 __signgam D 0x4 +GLIBC_2.23 __sqrtl_finite F GLIBC_2.23 lgamma F GLIBC_2.23 lgammaf F GLIBC_2.23 lgammal F