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

[commits] r3003 - in /fsf/glibc-2_6-branch/libc: ./ stdio-common/ sysdeps/unix/sysv/linux/i386/ sysdeps/unix/sysv/linux/x86_64/



Author: eglibc
Date: Wed Aug  1 00:06:21 2007
New Revision: 3003

Log:
Import glibc-2.6 for 2007-08-01

Modified:
    fsf/glibc-2_6-branch/libc/ChangeLog
    fsf/glibc-2_6-branch/libc/NEWS
    fsf/glibc-2_6-branch/libc/README
    fsf/glibc-2_6-branch/libc/stdio-common/printf_fp.c
    fsf/glibc-2_6-branch/libc/stdio-common/tfformat.c
    fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/i386/clone.S
    fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/x86_64/clone.S
    fsf/glibc-2_6-branch/libc/version.h

Modified: fsf/glibc-2_6-branch/libc/ChangeLog
==============================================================================
--- fsf/glibc-2_6-branch/libc/ChangeLog (original)
+++ fsf/glibc-2_6-branch/libc/ChangeLog Wed Aug  1 00:06:21 2007
@@ -1,3 +1,19 @@
+2007-07-31  Jakub Jelinek  <jakub@xxxxxxxxxx>
+
+	* NEWS, version.h (VERSION): 2.6.1.
+
+	* sysdeps/unix/sysv/linux/i386/clone.S: Revert 2006-11-30 changes.
+	* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
+
+	* stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
+
+2007-07-28  Ulrich Drepper  <drepper@xxxxxxxxxx>
+
+	[BZ #4858]
+	* stdio-common/printf_fp.c (___printf_fp): Fix special case of
+	#.0g and value rounded to 1.0.
+	* stdio-common/tfformat.c (sprint_doubles): Add two new tests.
+
 2007-06-04  Jakub Jelinek  <jakub@xxxxxxxxxx>
 
 	* math/test-misc.c (main): Don't run last batch of tests with

Modified: fsf/glibc-2_6-branch/libc/NEWS
==============================================================================
--- fsf/glibc-2_6-branch/libc/NEWS (original)
+++ fsf/glibc-2_6-branch/libc/NEWS Wed Aug  1 00:06:21 2007
@@ -4,6 +4,15 @@
 
 Please send GNU C library bug reports via <http://sources.redhat.com/bugzilla/>
 using `glibc' in the "product" field.
+
+Version 2.6.1
+
+* The following bugs are resolved with this release:
+
+  4512, 4514, 4525, 4586, 4702, 4745, 4858
+
+  Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
+
 
 Version 2.6
 

Modified: fsf/glibc-2_6-branch/libc/README
==============================================================================
--- fsf/glibc-2_6-branch/libc/README (original)
+++ fsf/glibc-2_6-branch/libc/README Wed Aug  1 00:06:21 2007
@@ -1,4 +1,4 @@
-This directory contains the version 2.6 release of the GNU C Library.
+This directory contains the version 2.6.1 release of the GNU C Library.
 
 The GNU C Library is the standard system C library for all GNU systems,
 and is an important part of what makes up a GNU system.  It provides the
@@ -52,7 +52,7 @@
 
 The code for other CPU configurations supported by volunteers outside of
 the core glibc maintenance effort is contained in the separate `ports'
-add-on.  You can find glibc-ports-2.6 distributed separately in the
+add-on.  You can find glibc-ports-2.6.1 distributed separately in the
 same place where you got the main glibc distribution files.
 Currently these configurations are known to work using the `ports' add-on:
 

Modified: fsf/glibc-2_6-branch/libc/stdio-common/printf_fp.c
==============================================================================
--- fsf/glibc-2_6-branch/libc/stdio-common/printf_fp.c (original)
+++ fsf/glibc-2_6-branch/libc/stdio-common/printf_fp.c Wed Aug  1 00:06:21 2007
@@ -986,7 +986,9 @@
 	    if (*wtp != decimalwc)
 	      /* Round up.  */
 	      (*wtp)++;
-	    else if (__builtin_expect (spec == 'g' && type == 'f' && info->alt,
+	    else if (__builtin_expect (spec == 'g' && type == 'f' && info->alt
+				       && wtp == wstartp + 1
+				       && wstartp[0] == L'0',
 				       0))
 	      /* This is a special case: the rounded number is 1.0,
 		 the format is 'g' or 'G', and the alternative format

Modified: fsf/glibc-2_6-branch/libc/stdio-common/tfformat.c
==============================================================================
--- fsf/glibc-2_6-branch/libc/stdio-common/tfformat.c (original)
+++ fsf/glibc-2_6-branch/libc/stdio-common/tfformat.c Wed Aug  1 00:06:21 2007
@@ -4024,6 +4024,21 @@
   {__LINE__, 1.0,			"1.000000e+00", "%e"},
   {__LINE__, .9999999999999999,		"1.000000e+00", "%e"},
 
+  {__LINE__, 912.98,			"913.0", "%#.4g"},
+  {__LINE__, 50.999999,			"51.000", "%#.5g"},
+  {__LINE__, 0.956,			"1", "%.1g"},
+  {__LINE__, 0.956,			"1.", "%#.1g"},
+  {__LINE__, 0.996,			"1", "%.2g"},
+  {__LINE__, 0.996,			"1.0", "%#.2g"},
+  {__LINE__, 999.98,			"1000", "%.4g"},
+  {__LINE__, 999.98,			"1000.", "%#.4g"},
+  {__LINE__, 999.998,			"1000", "%.5g"},
+  {__LINE__, 999.998,			"1000.0", "%#.5g"},
+  {__LINE__, 999.9998,			"1000", "%g"},
+  {__LINE__, 999.9998,			"1000.00", "%#g"},
+  {__LINE__, 912.98,			"913", "%.4g"},
+  {__LINE__, 50.999999,			"51", "%.5g"},
+
   {0 }
 
 };

Modified: fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/i386/clone.S
==============================================================================
--- fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/i386/clone.S (original)
+++ fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/i386/clone.S Wed Aug  1 00:06:21 2007
@@ -120,9 +120,6 @@
 	ret
 
 L(thread_start):
-	cfi_startproc;
-	/* Clearing frame pointer is insufficient, use CFI.  */
-	cfi_undefined (eip);
 	/* Note: %esi is zero.  */
 	movl	%esi,%ebp	/* terminate the stack frame */
 #ifdef RESET_PID
@@ -155,7 +152,6 @@
 	jmp	L(haspid)
 	.previous
 #endif
-	cfi_endproc;
 
 	cfi_startproc
 PSEUDO_END (BP_SYM (__clone))

Modified: fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/x86_64/clone.S
==============================================================================
--- fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/x86_64/clone.S (original)
+++ fsf/glibc-2_6-branch/libc/sysdeps/unix/sysv/linux/x86_64/clone.S Wed Aug  1 00:06:21 2007
@@ -89,9 +89,6 @@
 	ret
 
 L(thread_start):
-	cfi_startproc;
-	/* Clearing frame pointer is insufficient, use CFI.  */
-	cfi_undefined (rip);
 	/* Clear the frame pointer.  The ABI suggests this be done, to mark
 	   the outermost frame obviously.  */
 	xorl	%ebp, %ebp
@@ -116,7 +113,6 @@
 	/* Call exit with return value from function call. */
 	movq	%rax, %rdi
 	call	HIDDEN_JUMPTARGET (_exit)
-	cfi_endproc;
 
 	cfi_startproc;
 PSEUDO_END (BP_SYM (__clone))

Modified: fsf/glibc-2_6-branch/libc/version.h
==============================================================================
--- fsf/glibc-2_6-branch/libc/version.h (original)
+++ fsf/glibc-2_6-branch/libc/version.h Wed Aug  1 00:06:21 2007
@@ -1,4 +1,4 @@
 /* This file just defines the current version number of libc.  */
 
 #define RELEASE "stable"
-#define VERSION "2.6"
+#define VERSION "2.6.1"