From 0b5c1204bf1a2267913c2d9c896258c528928c83 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 11 Oct 2010 14:58:26 +0000 Subject: [PATCH] Add hidden feupdateenv and fetestexcept definitions for Power. --- ChangeLog.powerpc | 7 +++++++ sysdeps/powerpc/nofpu/feupdateenv.c | 3 ++- sysdeps/powerpc/nofpu/ftestexcept.c | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog.powerpc b/ChangeLog.powerpc index 390c774..d8989b0 100644 --- a/ChangeLog.powerpc +++ b/ChangeLog.powerpc @@ -1,3 +1,10 @@ +2010-10-11 Joseph Myers + + * sysdeps/powerpc/nofpu/feupdateenv.c (feupdateenv): Add + libm_hidden_ver. + * sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Add + libm_hidden_def. + 2010-02-10 Joseph Myers * sysdeps/powerpc/nofpu/fegetenv.c: Add hidden alias. diff --git a/sysdeps/powerpc/nofpu/feupdateenv.c b/sysdeps/powerpc/nofpu/feupdateenv.c index 17af8d3..f15e168 100644 --- a/sysdeps/powerpc/nofpu/feupdateenv.c +++ b/sysdeps/powerpc/nofpu/feupdateenv.c @@ -1,6 +1,6 @@ /* Install given floating-point environment and raise exceptions (soft-float edition). - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2010 Free Software Foundation, Inc. Contributed by Aldy Hernandez , 2002. This file is part of the GNU C Library. @@ -49,4 +49,5 @@ strong_alias (__feupdateenv, __old_feupdateenv) compat_symbol (libm, BP_SYM (__old_feupdateenv), BP_SYM (feupdateenv), GLIBC_2_1); #endif +libm_hidden_ver (__feupdateenv, feupdateenv) versioned_symbol (libm, BP_SYM (__feupdateenv), BP_SYM (feupdateenv), GLIBC_2_2); diff --git a/sysdeps/powerpc/nofpu/ftestexcept.c b/sysdeps/powerpc/nofpu/ftestexcept.c index ce8044f..ebd3b15 100644 --- a/sysdeps/powerpc/nofpu/ftestexcept.c +++ b/sysdeps/powerpc/nofpu/ftestexcept.c @@ -1,5 +1,5 @@ /* Test floating-point exceptions (soft-float edition). - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2010 Free Software Foundation, Inc. Contributed by Aldy Hernandez , 2002. This file is part of the GNU C Library. @@ -26,3 +26,4 @@ fetestexcept (int x) { return __sim_exceptions & x; } +libm_hidden_def (fetestexcept) -- 2.7.4