From 2e1639a8a0bf8889cf3c1dc5d2c53dba0dc5a035 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 11 Oct 2010 23:14:37 +0200 Subject: [PATCH] m68k: add hidden feupdateenv and fetestexcept definitions --- ChangeLog.m68k | 7 +++++++ sysdeps/m68k/fpu/feupdateenv.c | 3 ++- sysdeps/m68k/fpu/ftestexcept.c | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog.m68k b/ChangeLog.m68k index e66559a..a2c4ee2 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,10 @@ +2010-10-11 Andreas Schwab + + * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add + libm_hidden_ver. + * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add + libm_hidden_def. + 2010-08-25 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h diff --git a/sysdeps/m68k/fpu/feupdateenv.c b/sysdeps/m68k/fpu/feupdateenv.c index 2a68313..9c0fb21 100644 --- a/sysdeps/m68k/fpu/feupdateenv.c +++ b/sysdeps/m68k/fpu/feupdateenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment and raise exceptions. - Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc. + Copyright (C) 1997,1999-2001,2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab @@ -47,4 +47,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/m68k/fpu/ftestexcept.c b/sysdeps/m68k/fpu/ftestexcept.c index 3157c90..ce18091 100644 --- a/sysdeps/m68k/fpu/ftestexcept.c +++ b/sysdeps/m68k/fpu/ftestexcept.c @@ -1,5 +1,5 @@ /* Test exception in current environment. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab @@ -30,3 +30,4 @@ fetestexcept (int excepts) return fpsr & excepts & FE_ALL_EXCEPT; } +libm_hidden_def (fetestexcept) -- 2.7.4