From 8f3b1ffefa61275315891770944bdbf5079e04ed Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 19 Oct 2011 11:16:57 +0200 Subject: [PATCH] Fix PLT use for feraiseexcept on x86_64 --- ChangeLog | 5 +++++ sysdeps/x86_64/fpu/math_private.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 852d45d800..707c285eed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-10-19 Andreas Schwab + + * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use + __feraiseexcept instead of feraiseexcept. + 2011-10-18 Ulrich Drepper * 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)