From patchwork Sat Aug 30 00:01:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 384419 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 E996C14010B for ; Sat, 30 Aug 2014 09:57:44 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=bAWXvptpzQTaTsu9LE/G2LBfeawXycIL21OULSe2rkmqHSzFsWFpn ejp/GeXHPxy2JqnMC9Ow7hruF5W75WqOqKfGrZHm3mXtb1Y6Y/NjbbdYfSml19Ky zO1n6uaalCyWNS90NGCCa1NdH4SzCJVaAcCmnFxSoQZ/FeVU12WMF4= 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:from:to:cc:subject:date:message-id; s=default; bh=KU/zmCFbd9PP4liYw/3bt/vMNyE=; b=R3/tx6IQIiNWCF3bSiijBgUCT9VN kjdxI3MORXs35FO6ruwWgLnPaucvvFz7rwz1DgZv3YPNgvZVqCPbldJduczUqqTx FaH1TUgxIZX6VXgwbNWjG29GOWH8KMhI4RJMu2ML3bNk+jypdFCL8aypFDv9Z6cn n0DHC1d8928HXiU= Received: (qmail 16079 invoked by alias); 29 Aug 2014 23:57:38 -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 16065 invoked by uid 89); 29 Aug 2014 23:57:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f47.google.com X-Received: by 10.70.88.140 with SMTP id bg12mr19796105pdb.106.1409356653858; Fri, 29 Aug 2014 16:57:33 -0700 (PDT) From: Khem Raj To: libc-alpha@sourceware.org Cc: Khem Raj Subject: [PATCH] Define __GI_fegetenv for e500 libm Date: Fri, 29 Aug 2014 17:01:05 -0700 Message-Id: <1409356865-20171-1-git-send-email-raj.khem@gmail.com> generic HAVE_RM_CTX implementation which is used for ppc/e500 as well has introduced calls to fegetenv which should be resolved internally with in libm Signed-off-by: Khem Raj --- ChangeLog | 5 +++++ sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6261ed4..629ea8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-08-29 Khem Raj + + * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add + libm_hidden_ver. + 2014-08-27 Allan McRae * sysdeps/i386/fpu/libm-test-ulps: Update ULPs. diff --git a/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c b/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c index 2ae06b8..5faabe8 100644 --- a/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c +++ b/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c @@ -43,5 +43,6 @@ __fegetenv (fenv_t *envp) strong_alias (__fegetenv, __old_fegetenv) compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1); #endif +libm_hidden_ver (__fegetenv, fegetenv) versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2);