about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 05:32:10 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 05:32:10 +0200
commit1946d950f2235a4790fb5e386b9ba92dff55a930 (patch)
tree1c89beb40956bf2840ad5b3c0cdd290301fe071a
parentf85958a74d9e26e7e43a5d3e65d4d77ed47f55ea (diff)
downloadglibc-1946d950f2235a4790fb5e386b9ba92dff55a930.tar.gz
glibc-1946d950f2235a4790fb5e386b9ba92dff55a930.tar.xz
glibc-1946d950f2235a4790fb5e386b9ba92dff55a930.zip
hurd: fix libm link
	* sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
	__feraiseexcept_renamed to feraiseexcept instead of
	__GI_feraiseexcept.
-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);