Skip to content

Commit

Permalink
Merge commit 'glibc-2.11.2' into fedora/2.11/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed May 20, 2010
2 parents f0806ad + f2020c6 commit 7da8ce2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-05-12 Andrew Stubbs <ams@codesourcery.com>

* sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
exceptions. Return 0.

2010-05-07 Roland McGrath <roland@redhat.com>

* elf/ldconfig.c (main): Add a const.
Expand Down
12 changes: 9 additions & 3 deletions sysdeps/sh/sh4/fpu/feholdexcpt.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Store current floating-point environment and clear exceptions.
Copyright (C) 1997, 1998, 1999, 2000, 2005 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000, 2005, 2010
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -29,10 +30,15 @@ feholdexcept (fenv_t *envp)
_FPU_GETCW (temp);
envp->__fpscr = temp;

/* Now set all exceptions to non-stop. */
/* Clear the status flags. */
temp &= ~FE_ALL_EXCEPT;

/* Now set all exceptions to non-stop. */
temp &= ~(FE_ALL_EXCEPT << 5);

_FPU_SETCW (temp);

return 1;
/* Success. */
return 0;
}
libm_hidden_def (feholdexcept)
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This file just defines the current version number of libc. */

#define RELEASE "stable"
#define VERSION "2.11.1"
#define VERSION "2.11.2"

0 comments on commit 7da8ce2

Please sign in to comment.