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: 9927 X-Patchwork-Delegate: rth@twiddle.net 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);