[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r12495 - in /fsf/trunk/ports: ./ sysdeps/arm/eabi/



Author: eglibc
Date: Fri Jan  7 00:03:35 2011
New Revision: 12495

Log:
Import glibc-ports-mainline for 2011-01-07

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/sysdeps/arm/eabi/fclrexcpt.c
    fsf/trunk/ports/sysdeps/arm/eabi/fraiseexcpt.c
    fsf/trunk/ports/sysdeps/arm/eabi/fsetexcptflg.c

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Fri Jan  7 00:03:35 2011
@@ -1,3 +1,10 @@
+2011-01-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/arm/eabi/fclrexcpt.c (__feclearexcept): Return zero if
+	unsupported but nothing needs to be done.
+	* sysdeps/arm/eabi/fraiseexcpt.c (feraiseexcept): Likewise.
+	* sysdeps/arm/eabi/fsetexcptflg.c (__fesetexceptflag): Likewise.
+
 2010-12-21  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/arm/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.

Modified: fsf/trunk/ports/sysdeps/arm/eabi/fclrexcpt.c
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/eabi/fclrexcpt.c (original)
+++ fsf/trunk/ports/sysdeps/arm/eabi/fclrexcpt.c Fri Jan  7 00:03:35 2011
@@ -1,5 +1,5 @@
 /* Clear given exceptions in current floating-point environment.
-   Copyright (C) 1997,98,99,2000,01,05 Free Software Foundation, Inc.
+   Copyright (C) 1997,98,99,2000,01,05,11 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
@@ -48,8 +48,8 @@
       return 0;
     }
 
-  /* Unsupported, so fail.  */
-  return 1;
+  /* Unsupported, so fail unless nothing needs to be done.  */
+  return (excepts != 0);
 }
 
 #include <shlib-compat.h>

Modified: fsf/trunk/ports/sysdeps/arm/eabi/fraiseexcpt.c
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/eabi/fraiseexcpt.c (original)
+++ fsf/trunk/ports/sysdeps/arm/eabi/fraiseexcpt.c Fri Jan  7 00:03:35 2011
@@ -1,5 +1,5 @@
 /* Raise given exceptions.
-   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005, 2011 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
@@ -103,8 +103,8 @@
       return 0;
     }
 
-  /* Unsupported, so fail.  */
-  return 1;
+  /* Unsupported, so fail unless nothing needs to be done.  */
+  return (excepts != 0);
 }
 
 libm_hidden_def (feraiseexcept)

Modified: fsf/trunk/ports/sysdeps/arm/eabi/fsetexcptflg.c
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/eabi/fsetexcptflg.c (original)
+++ fsf/trunk/ports/sysdeps/arm/eabi/fsetexcptflg.c Fri Jan  7 00:03:35 2011
@@ -1,5 +1,5 @@
 /* Set floating-point environment exception handling.
-   Copyright (C) 1997,98,99,2000,01,05,08 Free Software Foundation, Inc.
+   Copyright (C) 1997,98,99,2000,01,05,08,11 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
@@ -47,8 +47,8 @@
       return 0;
     }
 
-  /* Unsupported, so fail.  */
-  return 1;
+  /* Unsupported, so fail unless nothing needs to be done.  */
+  return (excepts != 0);
 }
 
 #include <shlib-compat.h>