aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-10-19 11:16:57 +0200
committerAndreas Schwab <schwab@redhat.com>2011-10-19 13:03:31 +0200
commit8f3b1ffefa61275315891770944bdbf5079e04ed (patch)
treeaff4a0fb26e47a42e4e0ab6dc5a3ecb16c6112b1
parentd9a8d0abcc976f7ffe319a376ddd3497486e9726 (diff)
downloadglibc-8f3b1ffefa61275315891770944bdbf5079e04ed.tar.xz
glibc-8f3b1ffefa61275315891770944bdbf5079e04ed.zip
Fix PLT use for feraiseexcept on x86_64
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/fpu/math_private.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 852d45d800..707c285eed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-19 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
+ __feraiseexcept instead of feraiseexcept.
+
2011-10-18 Ulrich Drepper <drepper@gmail.com>
* math/math_private.h: Define defaults for libc_fetestexcept and
diff --git a/sysdeps/x86_64/fpu/math_private.h b/sysdeps/x86_64/fpu/math_private.h
index de4f121075..d3d84cfda4 100644
--- a/sysdeps/x86_64/fpu/math_private.h
+++ b/sysdeps/x86_64/fpu/math_private.h
@@ -192,7 +192,7 @@ do { \
unsigned int mxcsr; \
asm volatile ("stmxcsr %0" : "=m" (*&mxcsr)); \
asm volatile ("ldmxcsr %0" : : "m" ((e)->__mxcsr)); \
- feraiseexcept (mxcsr & FE_ALL_EXCEPT); \
+ __feraiseexcept (mxcsr & FE_ALL_EXCEPT); \
} while (0)
#undef libc_feupdateenvf
#define libc_feupdateenvf(e) libc_feupdateenv (e)