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

r3726 - in glibc-package/branches/eglibc-2.10/debian: . patches patches/ia64



Author: aurel32
Date: 2009-08-01 21:09:56 +0000 (Sat, 01 Aug 2009)
New Revision: 3726

Added:
   glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-libm.diff
Modified:
   glibc-package/branches/eglibc-2.10/debian/changelog
   glibc-package/branches/eglibc-2.10/debian/patches/series
Log:
  * patches/ia64/submitted-libm.diff: new patch to fix part of the errors
    in the math testsuite on ia64.



Modified: glibc-package/branches/eglibc-2.10/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/changelog	2009-07-31 00:48:49 UTC (rev 3725)
+++ glibc-package/branches/eglibc-2.10/debian/changelog	2009-08-01 21:09:56 UTC (rev 3726)
@@ -102,6 +102,8 @@
     (file .svn-revision).
   * debian/rules.d/tarball.mk: add an "update-from-upstream-svn" rule to 
     automatically update debian/patches/svn-updates.diff.
+  * patches/ia64/submitted-libm.diff: new patch to fix part of the errors
+    in the math testsuite on ia64.
 
   [ Petr Salinger ]
   * Add kfreebsd/local-no-SOCK_NONBLOCK.diff to fix build on GNU/kFreeBSD.
@@ -115,7 +117,7 @@
     on Linux, to fix build.
   * Apply kfreebsd/local-no-SOCK_NONBLOCK.diff on hurd-i386 to fix build too.
 
- -- Aurelien Jarno <aurel32@debian.org>  Thu, 30 Jul 2009 23:42:16 +0200
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 01 Aug 2009 23:09:22 +0200
 
 eglibc (2.9-24) UNRELEASED; urgency=low
 

Added: glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-libm.diff
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-libm.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-libm.diff	2009-08-01 21:09:56 UTC (rev 3726)
@@ -0,0 +1,52 @@
+2009-08-01  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/ia64/fpu/libm_error.c(__libm_error_support): Pole errors
+	for lgamma and pow should set errno to ERANGE, not EDOM. 
+
+diff --git a/sysdeps/ia64/fpu/libm_error.c b/sysdeps/ia64/fpu/libm_error.c
+index 8ef4bb5..1aa905a 100644
+--- a/sysdeps/ia64/fpu/libm_error.c
++++ b/sysdeps/ia64/fpu/libm_error.c
+@@ -708,15 +708,18 @@ switch(input_tag)
+   case gammal_negative:
+   case gamma_negative:
+   case gammaf_negative:
+-  case lgammal_negative:
+-  case lgamma_negative:
+-  case lgammaf_negative:
+   case tgammal_negative:
+   case tgamma_negative:
+   case tgammaf_negative:
+   {
+        ERRNO_DOMAIN; break;
+   }
++  case lgammal_negative:
++  case lgamma_negative:
++  case lgammaf_negative:
++  {
++       ERRNO_RANGE; break;
++  }
+   case ldexpl_overflow:
+   case ldexpl_underflow:
+   case ldexp_overflow:
+@@ -1081,17 +1084,17 @@ switch(input_tag)
+   case powl_zero_to_negative:
+     /* 0**neg */
+     {
+-       ERRNO_DOMAIN; break;
++       ERRNO_RANGE; break;
+     }
+   case pow_zero_to_negative:
+     /* 0**neg */
+     {
+-       ERRNO_DOMAIN; break;
++       ERRNO_RANGE; break;
+     }
+   case  powf_zero_to_negative:
+     /* 0**neg */
+     {
+-       ERRNO_DOMAIN; break;
++       ERRNO_RANGE; break;
+     }
+   case powl_neg_to_non_integer:
+     /* neg**non_integral */

Modified: glibc-package/branches/eglibc-2.10/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/series	2009-07-31 00:48:49 UTC (rev 3725)
+++ glibc-package/branches/eglibc-2.10/debian/patches/series	2009-08-01 21:09:56 UTC (rev 3726)
@@ -100,6 +100,8 @@
 hurd-i386/local-unwind-resume.diff
 
 ia64/submitted-sysconf.diff
+ia64/submitted-libm.diff
+ia64/submitted-siginfo.diff
 
 i386/local-biarch.diff
 i386/local-clone.diff
@@ -107,8 +109,6 @@
 i386/local-linuxthreads-gscope.diff
 i386/submitted-i686-timing.diff
 
-ia64/submitted-siginfo.diff
-
 m68k/local-compat.diff
 m68k/local-dwarf2-buildfix.diff
 m68k/local-fpic.diff


Reply to: