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

[Commits] r17225 - in /fsf/trunk/ports: ./ sysdeps/alpha/fpu/ sysdeps/powerpc/nofpu/ sysdeps/unix/sysv/linux/alpha/ sysdeps/unix/sysv/...



Author: eglibc
Date: Tue Feb 21 00:01:56 2012
New Revision: 17225

Log:
Import glibc-ports-mainline for 2012-02-21

Modified:
    fsf/trunk/ports/ChangeLog.alpha
    fsf/trunk/ports/ChangeLog.mips
    fsf/trunk/ports/ChangeLog.powerpc
    fsf/trunk/ports/sysdeps/alpha/fpu/fenv_libc.h
    fsf/trunk/ports/sysdeps/powerpc/nofpu/libm-test-ulps
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/Versions
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/errno.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysconf.c
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/errno.h

Modified: fsf/trunk/ports/ChangeLog.alpha
==============================================================================
--- fsf/trunk/ports/ChangeLog.alpha (original)
+++ fsf/trunk/ports/ChangeLog.alpha Tue Feb 21 00:01:56 2012
@@ -1,3 +1,19 @@
+2012-02-20  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/alpha/bits/errno.h (ERFKILL, EHWPOISON):
+	Define if not defined.
+	* sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist compat
+	entry for 2.16.
+
+2012-02-20  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/alpha/sysconf.c: Fix cache sysconf switch.
+
+2012-02-16  Richard Henderson  <rth@xxxxxxxxxxx>
+
+	* sysdeps/alpha/fpu/fenv_libc.h (__ieee_set_fp_control,
+	__ieee_get_fp_control): Mark as hidden proto.
+
 2012-02-15  Mike Hommey  <mh+reportbug@xxxxxxxxxxxx>
 
 	[BZ #11677]
@@ -5,8 +21,8 @@
 
 2012-02-15  Richard Henderson  <rth@xxxxxxxxxxx>
 
-        * sysdeps/unix/sysv/linux/alpha/bits/signalfd.h: New file.
-        * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: Remove.
+	* sysdeps/unix/sysv/linux/alpha/bits/signalfd.h: New file.
+	* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: Remove.
 
 	* sysdeps/unix/alpha/sysdep.h (syscall_promote): New.
 	(inline_syscall0, inline_syscall1, inline_syscall2,
@@ -42,8 +58,8 @@
 
 2012-02-13  Richard Henderson  <rth@xxxxxxxxxxx>
 
-        * sysdeps/unix/sysv/linux/alpha/bits/eventfd.h: New file.
-        * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: Remove.
+	* sysdeps/unix/sysv/linux/alpha/bits/eventfd.h: New file.
+	* sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: Remove.
 
 2012-02-09  Richard Henderson  <rth@xxxxxxxxxxx>
 
@@ -153,7 +169,7 @@
 
 2010-05-03  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
 
- 	[BZ #6827]
+	[BZ #6827]
 	* sysdeps/alpha/dl-machine.h: Add dl-procinfo support.
 	* sysdeps/alpha/dl-procinfo.c: New.
 	* sysdeps/alpha/dl-procinfo.h: New.

Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Tue Feb 21 00:01:56 2012
@@ -1,3 +1,8 @@
+2012-02-20  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
+	not defined.
+
 2012-02-17  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
 
 	* sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,

Modified: fsf/trunk/ports/ChangeLog.powerpc
==============================================================================
--- fsf/trunk/ports/ChangeLog.powerpc (original)
+++ fsf/trunk/ports/ChangeLog.powerpc Tue Feb 21 00:01:56 2012
@@ -1,3 +1,8 @@
+2012-02-20  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/nofpu/libm-test-ulps: Resort with
+	gen-libm-test.pl -n in C locale.
+
 2010-09-03  Luis Machado  <luisgpm@xxxxxxxxxx>
 
 	* sysdeps/powerpc/dl-procinfo.c: New file.

Modified: fsf/trunk/ports/sysdeps/alpha/fpu/fenv_libc.h
==============================================================================
--- fsf/trunk/ports/sysdeps/alpha/fpu/fenv_libc.h (original)
+++ fsf/trunk/ports/sysdeps/alpha/fpu/fenv_libc.h Tue Feb 21 00:01:56 2012
@@ -1,5 +1,5 @@
 /* Internal libc stuff for floating point environment routines.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2012 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
@@ -33,4 +33,8 @@
 				| SWCR_MAP_MASK		\
 				| SWCR_STATUS_MASK)
 
+/* These are declared for public consumption in <bits/fenv.h>.  */
+libc_hidden_proto(__ieee_set_fp_control)
+libc_hidden_proto(__ieee_get_fp_control)
+
 #endif /* fenv_libc.h */

Modified: fsf/trunk/ports/sysdeps/powerpc/nofpu/libm-test-ulps
==============================================================================
--- fsf/trunk/ports/sysdeps/powerpc/nofpu/libm-test-ulps (original)
+++ fsf/trunk/ports/sysdeps/powerpc/nofpu/libm-test-ulps Tue Feb 21 00:01:56 2012
@@ -11,6 +11,9 @@
 ldouble: 2
 
 # atan2
+Test "atan2 (-0.00756827042671106339, -.001792735857538728036) == -1.80338464113663849327153994379639112":
+ildouble: 1
+ldouble: 1
 Test "atan2 (-0.75, -1.0) == -2.49809154479650885165983415456218025":
 float: 3
 ifloat: 3
@@ -22,9 +25,6 @@
 ifloat: 1
 ildouble: 1
 ldouble: 1
-Test "atan2 (-0.00756827042671106339, -.001792735857538728036) == -1.80338464113663849327153994379639112":
-ildouble: 1
-ldouble: 1
 
 # atanh
 Test "atanh (0.75) == 0.972955074527656652552676371721589865":
@@ -49,14 +49,14 @@
 ifloat: 1
 
 # casin
+Test "Real part of: casin (-2 - 3 i) == -0.57065278432109940071028387968566963 - 1.9833870299165354323470769028940395 i":
+ildouble: 1
+ldouble: 1
 Test "Real part of: casin (0.75 + 1.25 i) == 0.453276177638793913448921196101971749 + 1.13239363160530819522266333696834467 i":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
-Test "Real part of: casin (-2 - 3 i) == -0.57065278432109940071028387968566963 - 1.9833870299165354323470769028940395 i":
 ildouble: 1
 ldouble: 1
 
@@ -156,8 +156,6 @@
 Test "Imaginary part of: ccosh (0.75 + 1.25 i) == 0.408242591877968807788852146397499084 + 0.780365930845853240391326216300863152 i":
 float: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
 ildouble: 2
 ldouble: 2
 
@@ -165,14 +163,14 @@
 Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i":
 float: 1
 ifloat: 1
+Test "Real part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
+float: 1
+ifloat: 1
+ildouble: 2
+ldouble: 2
 Test "Imaginary part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
 ildouble: 1
 ldouble: 1
-Test "Real part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
-float: 1
-ifloat: 1
-ildouble: 2
-ldouble: 2
 
 # clog
 Test "Imaginary part of: clog (-2 - 3 i) == 1.2824746787307683680267437207826593 - 2.1587989303424641704769327722648368 i":
@@ -191,15 +189,15 @@
 
 # clog10
 Test "Imaginary part of: clog10 (-0 + inf i) == inf + pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (-0 - inf i) == inf - pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (-2 - 3 i) == 0.556971676153418384603252578971164214 - 0.937554462986374708541507952140189646 i":
 double: 1
 float: 5
@@ -208,75 +206,75 @@
 ildouble: 1
 ldouble: 1
 Test "Imaginary part of: clog10 (-3 + inf i) == inf + pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 Test "Imaginary part of: clog10 (-3 - inf i) == inf - pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (-inf + 0 i) == inf + pi*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (-inf + 1 i) == inf + pi*log10(e) i":
-float: 1
-ifloat: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+Test "Imaginary part of: clog10 (-inf + inf i) == inf + 3/4 pi*log10(e) i":
 double: 1
 idouble: 1
 Test "Imaginary part of: clog10 (-inf - 0 i) == inf - pi*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (-inf - 1 i) == inf - pi*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (0 + inf i) == inf + pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (0 - inf i) == inf - pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Real part of: clog10 (0.75 + 1.25 i) == 0.163679467193165171449476605077428975 + 0.447486970040493067069984724340855636 i":
 float: 1
 ifloat: 1
 ildouble: 3
 ldouble: 3
 Test "Imaginary part of: clog10 (3 + inf i) == inf + pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (3 - inf i) == inf - pi/2*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (inf + inf i) == inf + pi/4*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 Test "Imaginary part of: clog10 (inf - inf i) == inf - pi/4*log10(e) i":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
-Test "Imaginary part of: clog10 (-inf + inf i) == inf + 3/4 pi*log10(e) i":
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 
 # cos
 Test "cos (M_PI_6l * 2.0) == 0.5":
@@ -349,18 +347,18 @@
 Test "Imaginary part of: csinh (-2 - 3 i) == 3.59056458998577995201256544779481679 - 0.530921086248519805267040090660676560 i":
 double: 1
 idouble: 1
-ldouble: 1
-ildouble: 1
+ildouble: 1
+ldouble: 1
 Test "Real part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i":
 float: 1
 ifloat: 1
-ldouble: 1
-ildouble: 1
+ildouble: 1
+ldouble: 1
 Test "Imaginary part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i":
 float: 1
 ifloat: 1
-ldouble: 1
-ildouble: 1
+ildouble: 1
+ldouble: 1
 
 # csqrt
 Test "Real part of: csqrt (-2 + 3 i) == 0.89597747612983812471573375529004348 + 1.6741492280355400404480393008490519 i":
@@ -447,10 +445,10 @@
 double: 1
 idouble: 1
 Test "expm1 (1) == M_El - 1.0":
-float: 1
-ifloat: 1
-double: 1
-idouble: 1
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
 
 # hypot
 Test "hypot (-0.7, -12.4) == 12.419742348374220601176836866763271":
@@ -471,15 +469,15 @@
 Test "hypot (0.7, 12.4) == 12.419742348374220601176836866763271":
 float: 1
 ifloat: 1
+Test "hypot (0.75, 1.25) == 1.45773797371132511771853821938639577":
+ildouble: 1
+ldouble: 1
 Test "hypot (12.4, -0.7) == 12.419742348374220601176836866763271":
 float: 1
 ifloat: 1
 Test "hypot (12.4, 0.7) == 12.419742348374220601176836866763271":
 float: 1
 ifloat: 1
-Test "hypot (0.75, 1.25) == 1.45773797371132511771853821938639577":
-ildouble: 1
-ldouble: 1
 
 # j0
 Test "j0 (-4.0) == -3.9714980986384737228659076845169804197562E-1":
@@ -651,15 +649,15 @@
 float: 1
 ifloat: 1
 
+# log1p
+Test "log1p (-0.25) == -0.287682072451780927439219005993827432":
+float: 1
+ifloat: 1
+
 # log2
 Test "log2 (e) == M_LOG2El":
-ldouble: 1
-ildouble: 1
-
-# log1p
-Test "log1p (-0.25) == -0.287682072451780927439219005993827432":
-float: 1
-ifloat: 1
+ildouble: 1
+ldouble: 1
 
 # sincos
 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
@@ -690,8 +688,8 @@
 Test "tan (pi/4) == 1":
 double: 1
 idouble: 1
-ldouble: 1
-ildouble: 1
+ildouble: 1
+ldouble: 1
 
 # tanh
 Test "tanh (-0.75) == -0.635148952387287319214434357312496495":

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/Versions
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/Versions (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/Versions Tue Feb 21 00:01:56 2012
@@ -81,6 +81,10 @@
     #errlist-compat	139
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.16 {
+    #errlist-compat	140
+    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
+  }
   GLIBC_PRIVATE {
     __libc_alpha_cache_shape;
   }

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/errno.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/errno.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/errno.h Tue Feb 21 00:01:56 2012
@@ -1,5 +1,5 @@
 /* Error constants.  Linux/Alpha specific version.
-   Copyright (C) 1996,1997,1998,1999,2002,2005 Free Software Foundation, Inc.
+   Copyright (C) 1996,1997,1998,1999,2002,2005,2012 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
@@ -37,6 +37,14 @@
 #  define ENOTRECOVERABLE	137
 # endif
 
+# ifndef ERFKILL
+#  define ERFKILL		138
+# endif
+
+# ifndef EHWPOISON
+#  define EHWPOISON		139
+# endif
+
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysconf.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysconf.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysconf.c Tue Feb 21 00:01:56 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2004, 2012 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
@@ -135,7 +135,7 @@
   if (shape <= 0)
     return shape;
 
-  switch (name % 3)
+  switch ((name - _SC_LEVEL1_ICACHE_SIZE) % 3)
     {
     case 0: /* total size */
       return shape & -0x100;

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/errno.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/errno.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/errno.h Tue Feb 21 00:01:56 2012
@@ -1,5 +1,5 @@
 /* Error constants.  MIPS/Linux specific version.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -42,6 +42,10 @@
 #  define ERFKILL		167
 # endif
 
+# ifndef EHWPOISON
+#  define EHWPOISON		168
+# endif
+
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits