From: Thomas Schwinge Date: Fri, 10 Feb 2012 20:05:54 +0000 (+0100) Subject: Fix x86 PLT slot usage for feraiseexcept. X-Git-Tag: glibc-2.16-tps~1013 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c35ffedf144417ba2787322c7b75b4db5c3cb7a;p=thirdparty%2Fglibc.git Fix x86 PLT slot usage for feraiseexcept. Then we're elf/check-localplt.out-clean again. --- diff --git a/ChangeLog b/ChangeLog index e04d86c606d..789d7b92d02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-02-10 Thomas Schwinge + * 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 70f9ee2eee8..6e2ce35b531 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 , 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;