about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/x86/fpu/include/bits/fenv.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b278dbd881..a43030fe3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,9 @@
 	[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
 	[$(subdir) = csu] (sysdep-only-routines): Likewise.
 	[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
+	* sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
+	__feraiseexcept_renamed to feraiseexcept instead of
+	__GI_feraiseexcept.
 
 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/sysdeps/x86/fpu/include/bits/fenv.h b/sysdeps/x86/fpu/include/bits/fenv.h
index aa61666fc3..7b9741fd89 100644
--- a/sysdeps/x86/fpu/include/bits/fenv.h
+++ b/sysdeps/x86/fpu/include/bits/fenv.h
@@ -19,7 +19,7 @@
 #ifndef _BITS_FENV_H
 
 #if defined _LIBC && defined __USE_EXTERN_INLINES
-# if defined SHARED && IS_IN (libm)
+# if defined SHARED && !defined NO_HIDDEN && IS_IN (libm)
 extern int __REDIRECT_NTH (__feraiseexcept_renamed, (int), __GI_feraiseexcept);
 # else
 extern int __REDIRECT_NTH (__feraiseexcept_renamed, (int), feraiseexcept);