From 323e2ce5e0f3478e3aa1e3193605fbd07723c866 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 11 Oct 2010 14:57:33 +0000 Subject: [PATCH] Add hidden feupdateenv and fetestexcept definitions for ARM. --- ChangeLog.arm | 8 ++++++++ sysdeps/arm/eabi/feupdateenv.c | 3 ++- sysdeps/arm/eabi/ftestexcept.c | 3 ++- sysdeps/arm/fpu/ftestexcept.c | 3 ++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog.arm b/ChangeLog.arm index 96e53c0..02affa8 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,11 @@ +2010-10-11 Joseph Myers + + * sysdeps/arm/eabi/feupdateenv.c (feupdateenv): Add + libm_hidden_ver. + * sysdeps/arm/eabi/ftestexcept.c (fetestexcept): Add + libm_hidden_def. + * sysdeps/arm/fpu/ftestexcept.c (fetestexcept): Likewise. + 2010-09-30 Joseph Myers * sysdeps/unix/sysv/linux/arm/syscalls.list: Add entry for diff --git a/sysdeps/arm/eabi/feupdateenv.c b/sysdeps/arm/eabi/feupdateenv.c index 9769867..8c96858 100644 --- a/sysdeps/arm/eabi/feupdateenv.c +++ b/sysdeps/arm/eabi/feupdateenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment and raise exceptions. - Copyright (C) 1997, 1999, 2000, 2008 Free Software Foundation, Inc. + Copyright (C) 1997, 1999, 2000, 2008, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -56,4 +56,5 @@ strong_alias (__feupdateenv, __old_feupdateenv) compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1); #endif +libm_hidden_ver (__feupdateenv, feupdateenv) versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2); diff --git a/sysdeps/arm/eabi/ftestexcept.c b/sysdeps/arm/eabi/ftestexcept.c index 846bb01..61b81cb 100644 --- a/sysdeps/arm/eabi/ftestexcept.c +++ b/sysdeps/arm/eabi/ftestexcept.c @@ -1,5 +1,5 @@ /* Test exception in current environment. - Copyright (C) 1997, 1998, 2005 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2005, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,3 +41,4 @@ fetestexcept (int excepts) /* Unsupported, return 0. */ return 0; } +libm_hidden_def (fetestexcept) diff --git a/sysdeps/arm/fpu/ftestexcept.c b/sysdeps/arm/fpu/ftestexcept.c index 328bcb0..c796b01 100644 --- a/sysdeps/arm/fpu/ftestexcept.c +++ b/sysdeps/arm/fpu/ftestexcept.c @@ -1,5 +1,5 @@ /* Test exception in current environment. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,3 +30,4 @@ fetestexcept (int excepts) return temp & excepts & FE_ALL_EXCEPT; } +libm_hidden_def (fetestexcept) -- 2.7.4