aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-02-10 21:05:54 +0100
committerThomas Schwinge <thomas@codesourcery.com>2012-02-10 21:05:54 +0100
commit7c35ffedf144417ba2787322c7b75b4db5c3cb7a (patch)
tree2ff2f2df9a4e64b94c8f5c6b7dc0bd7b937dd05d
parentfb779be7b35b1b7c9f3c9d64ee210b98e19be3bf (diff)
downloadglibc-7c35ffedf144417ba2787322c7b75b4db5c3cb7a.tar
glibc-7c35ffedf144417ba2787322c7b75b4db5c3cb7a.tar.gz
glibc-7c35ffedf144417ba2787322c7b75b4db5c3cb7a.tar.bz2
glibc-7c35ffedf144417ba2787322c7b75b4db5c3cb7a.zip
Fix x86 PLT slot usage for feraiseexcept.
Then we're elf/check-localplt.out-clean again.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/fpu/feupdateenv.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e04d86c606..789d7b92d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
+ * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv) Invoke __feraiseexcept
+ instead of feraiseexcept.
+
* rt/tst-cpuclock1.c: Add a few comments, and error checking for
nanosleep invocations.
* rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
diff --git a/sysdeps/i386/fpu/feupdateenv.c b/sysdeps/i386/fpu/feupdateenv.c
index 70f9ee2eee..6e2ce35b53 100644
--- a/sysdeps/i386/fpu/feupdateenv.c
+++ b/sysdeps/i386/fpu/feupdateenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- Copyright (C) 1997,99,2000,01,07,2010 Free Software Foundation, Inc.
+ Copyright (C) 1997,99,2000,01,07,2010,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -44,7 +44,7 @@ __feupdateenv (const fenv_t *envp)
/* Raise the saved exception. Incidently for us the implementation
defined format of the values in objects of type fexcept_t is the
same as the ones specified using the FE_* constants. */
- feraiseexcept ((int) temp);
+ __feraiseexcept ((int) temp);
/* Success. */
return 0;