From patchwork Mon Dec 7 20:30:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 553527 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 72A0A140187 for ; Tue, 8 Dec 2015 07:31:05 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=tLBn08mu; 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:from:to:cc:subject:date:message-id; q=dns; s= default; b=rFWos4TjPusOxGh6Ljw80fTku+uXVtSM2MpGk038QZZbD8wnUHPA3 Opd5NYNTAZPhPakIoCsrEVXRC5gR5PdmBVStNWkoozYlmoPf7JoS+Phcq6IiJmiW 7eam+TnU5l2XEbAo66DLh97tW/+R22EwlzT0c2hlOWtlmaOibHrwZc= 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=IzbjCehYCevKhK998Hfb8aikzCw=; b=tLBn08mufecdbu15FqulzLIT3Bav EYzhNTpQlysNOpRd3mcfHPVFpOga2UqCddt4viOMnPHz8zrE2c5tfKOjDylRR8uD gJkuf28EMT+vWZSYTgizV35KHRCKDXd0Z9toCWzjMtOW77Socg+GVcNTfAgm1Zgv uLb0Qf+mkl3yj/w= Received: (qmail 59888 invoked by alias); 7 Dec 2015 20:30:42 -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 59792 invoked by uid 89); 7 Dec 2015 20:30:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Richard Henderson , Aurelien Jarno Subject: [PATCH] alpha: fix fegetenv namespace Date: Mon, 7 Dec 2015 21:30:34 +0100 Message-Id: <1449520234-7438-1-git-send-email-aurelien@aurel32.net> This fixes a namespace issue for functions for alpha. --- ChangeLog | 5 +++++ sysdeps/alpha/fpu/feholdexcpt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7be1eb1..815a300 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2015-12-07 Aurelien Jarno + * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv + instead of fegetenv. + +2015-12-07 Aurelien Jarno + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY, IUCLC, IMAXBEL, IUTF8): Make always visible since they're needed by POSIX. (NL2, NL3): Guard BSD terminal modes definitions with [__USE_MISC]. diff --git a/sysdeps/alpha/fpu/feholdexcpt.c b/sysdeps/alpha/fpu/feholdexcpt.c index d226046..d54fa7d 100644 --- a/sysdeps/alpha/fpu/feholdexcpt.c +++ b/sysdeps/alpha/fpu/feholdexcpt.c @@ -23,7 +23,7 @@ int __feholdexcept (fenv_t *envp) { /* Save the current state. */ - fegetenv(envp); + __fegetenv(envp); /* Clear all exception status bits and exception enable bits. */ __ieee_set_fp_control(*envp & SWCR_MAP_MASK);