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

[Commits] r23807 - in /fsf/trunk/libc: ./ argp/ crypt/ csu/ elf/ iconv/ io/ libio/ math/ nptl/ nptl/sysdeps/unix/sysv/linux/ ports/ po...



Author: eglibc
Date: Thu Aug 22 00:01:55 2013
New Revision: 23807

Log:
Import glibc-mainline for 2013-08-22

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/argp/argp-help.c
    fsf/trunk/libc/crypt/speeds.c
    fsf/trunk/libc/csu/check_fds.c
    fsf/trunk/libc/elf/dl-load.c
    fsf/trunk/libc/elf/dl-open.c
    fsf/trunk/libc/elf/reldep.c
    fsf/trunk/libc/elf/reldep3.c
    fsf/trunk/libc/elf/sprof.c
    fsf/trunk/libc/iconv/iconv_charmap.c
    fsf/trunk/libc/iconv/skeleton.c
    fsf/trunk/libc/iconv/strtab.c
    fsf/trunk/libc/io/lockf64.c
    fsf/trunk/libc/libio/libioP.h
    fsf/trunk/libc/math/libm-test.inc
    fsf/trunk/libc/math/s_fdim.c
    fsf/trunk/libc/math/s_fdimf.c
    fsf/trunk/libc/math/s_fdiml.c
    fsf/trunk/libc/nptl/ChangeLog
    fsf/trunk/libc/nptl/pthread_getschedparam.c
    fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/register-atfork.c
    fsf/trunk/libc/ports/ChangeLog.am33
    fsf/trunk/libc/ports/ChangeLog.hppa
    fsf/trunk/libc/ports/ChangeLog.ia64
    fsf/trunk/libc/ports/ChangeLog.m68k
    fsf/trunk/libc/ports/ChangeLog.tile
    fsf/trunk/libc/ports/sysdeps/am33/fpu/fraiseexcpt.c
    fsf/trunk/libc/ports/sysdeps/hppa/dl-lookupcfg.h
    fsf/trunk/libc/ports/sysdeps/hppa/fpu/fraiseexcpt.c
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_atanhl.S
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_log2l.S
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logl.S
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/fraiseexcpt.c
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_lgammal.S
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_log1pl.S
    fsf/trunk/libc/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
    fsf/trunk/libc/ports/sysdeps/tile/jmpbuf-offsets.h
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
    fsf/trunk/libc/resolv/gai_notify.c
    fsf/trunk/libc/resolv/ns_name.c
    fsf/trunk/libc/resolv/ns_samedomain.c
    fsf/trunk/libc/resolv/res_send.c
    fsf/trunk/libc/stdlib/random.c
    fsf/trunk/libc/sunrpc/rpc/xdr.h
    fsf/trunk/libc/sysdeps/i386/fpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/memcmp-sse4.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcasecmp.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcat-sse2.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-sse4.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcpy-sse2.S
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strncase.S
    fsf/trunk/libc/sysdeps/mach/hurd/check_fds.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/cell/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/cell/memcpy.S
    fsf/trunk/libc/sysdeps/pthread/aio_notify.c
    fsf/trunk/libc/sysdeps/sparc/fpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/socketcall.h
    fsf/trunk/libc/sysdeps/x86/fpu/bits/fenv.h
    fsf/trunk/libc/sysdeps/x86_64/fpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Aug 22 00:01:55 2013
@@ -1,3 +1,63 @@
+2013-08-21  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #15797]
+	* math/s_fdim.c (__fdim): Check for infinite arguments if result
+	is infinite, not alongside NaN test.
+	* math/s_fdimf.c (__fdimf): Likewise.
+	* math/s_fdiml.c (__fdiml): Likewise.
+	* math/libm-test.inc (fdim_test_data): Add more tests.  Test that
+	errno is unchanged.
+
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* argp/argp-help.c: Fix typos.
+	* crypt/speeds.c: Likewise.
+	* csu/check_fds.c: Likewise.
+	* elf/dl-load.c: Likewise.
+	* elf/dl-open.c: Likewise.
+	* elf/reldep3.c: Likewise.
+	* elf/reldep.c: Likewise.
+	* elf/sprof.c: Likewise.
+	* iconv/iconv_charmap.c: Likewise.
+	* iconv/skeleton.c: Likewise.
+	* iconv/strtab.c: Likewise.
+	* io/lockf64.c: Likewise.
+	* libio/libioP.h: Likewise.
+	* resolv/gai_notify.c: Likewise.
+	* resolv/ns_name.c: Likewise.
+	* resolv/ns_samedomain.c: Likewise.
+	* resolv/res_send.c: Likewise.
+	* stdlib/random.c: Likewise.
+	* sunrpc/rpc/xdr.h: Likewise.
+	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
+	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
+	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
+	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
+	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
+	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
+	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
+	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
+	* sysdeps/mach/hurd/check_fds.c: Likewise.
+	* sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
+	* sysdeps/pthread/aio_notify.c: Likewise.
+	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
+	* sysdeps/unix/sysv/linux/socketcall.h: Likewise.
+	* sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
+	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
+	* sysdeps/x86/fpu/bits/fenv.h: Likewise.
+
+2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@xxxxxxxxx>
+
+	* sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
+	version if bit_Slow_SSE4_2 is set.
+	* sysdeps/i386/i686/multiarch/strncase.S: Likewise.
+	* sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
+
 2013-07-23  Adhemerval Zanella  <azanella@xxxxxxxxxxxxxxxxxx>
 
 	[BZ #15867]

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Thu Aug 22 00:01:55 2013
@@ -9,7 +9,7 @@
 
 * The following bugs are resolved with this release:
 
-  14699, 15531, 15749
+  14699, 15531, 15749, 15797, 15867
 
 * CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes
   to the d_name member of struct dirent, or omit the terminating NUL

Modified: fsf/trunk/libc/argp/argp-help.c
==============================================================================
--- fsf/trunk/libc/argp/argp-help.c (original)
+++ fsf/trunk/libc/argp/argp-help.c Thu Aug 22 00:01:55 2013
@@ -357,7 +357,7 @@
   /* A pointers into the HOL's short_options field, to the first short option
      letter for this entry.  The order of the characters following this point
      corresponds to the order of options pointed to by OPT, and there are at
-     most NUM.  A short option recorded in a option following OPT is only
+     most NUM.  A short option recorded in an option following OPT is only
      valid if it occurs in the right place in SHORT_OPTIONS (otherwise it's
      probably been shadowed by some other entry).  */
   char *short_options;
@@ -736,12 +736,12 @@
   if (entry1->cluster != entry2->cluster)
     {
       /* The entries are not within the same cluster, so we can't compare them
-	 directly, we have to use the appropiate clustering level too.  */
+	 directly, we have to use the appropriate clustering level too.  */
       if (! entry1->cluster)
 	/* ENTRY1 is at the `base level', not in a cluster, so we have to
 	   compare it's group number with that of the base cluster in which
 	   ENTRY2 resides.  Note that if they're in the same group, the
-	   clustered option always comes laster.  */
+	   clustered option always comes last.  */
 	return group_cmp (group1, hol_cluster_base (entry2->cluster)->group, -1);
       else if (! entry2->cluster)
 	/* Likewise, but ENTRY2's not in a cluster.  */

Modified: fsf/trunk/libc/crypt/speeds.c
==============================================================================
--- fsf/trunk/libc/crypt/speeds.c (original)
+++ fsf/trunk/libc/crypt/speeds.c Thu Aug 22 00:01:55 2013
@@ -16,7 +16,7 @@
  * patch from chip@xxxxxxxxxxxxxxxxxxx (Chip Rosenthal):
  * you may enable it if your system does not include
  * a setitimer() function. You'll have to ensure the
- * existence a environment variable: HZ giving how many
+ * existence an environment variable: HZ giving how many
  * ticks goes per second.
  * If not existing in your default environment 50, 60
  * or even 100 may be the right value. Perhaps you should

Modified: fsf/trunk/libc/csu/check_fds.c
==============================================================================
--- fsf/trunk/libc/csu/check_fds.c (original)
+++ fsf/trunk/libc/csu/check_fds.c Thu Aug 22 00:01:55 2013
@@ -60,7 +60,7 @@
 
       /* Something is wrong with this descriptor, it's probably not
 	 opened.  Open /dev/null so that the SUID program we are
-	 about to start does not accidently use this descriptor.  */
+	 about to start does not accidentally use this descriptor.  */
       int nullfd = open_not_cancel (name, mode, 0);
 
       /* We are very paranoid here.  With all means we try to ensure

Modified: fsf/trunk/libc/elf/dl-load.c
==============================================================================
--- fsf/trunk/libc/elf/dl-load.c (original)
+++ fsf/trunk/libc/elf/dl-load.c Thu Aug 22 00:01:55 2013
@@ -324,7 +324,7 @@
   const char *const start = name;
 
   /* Now fill the result path.  While copying over the string we keep
-     track of the start of the last path element.  When we come accross
+     track of the start of the last path element.  When we come across
      a DST we copy over the value or (if the value is not available)
      leave the entire path element out.  */
   char *wp = result;

Modified: fsf/trunk/libc/elf/dl-open.c
==============================================================================
--- fsf/trunk/libc/elf/dl-open.c (original)
+++ fsf/trunk/libc/elf/dl-open.c Thu Aug 22 00:01:55 2013
@@ -396,7 +396,7 @@
 	  /* If this here is the shared object which we want to profile
 	     make sure the profile is started.  We can find out whether
 	     this is necessary or not by observing the `_dl_profile_map'
-	     variable.  If it was NULL but is not NULL afterwars we must
+	     variable.  If it was NULL but is not NULL afterwards we must
 	     start the profiling.  */
 	  struct link_map *old_profile_map = GL(dl_profile_map);
 

Modified: fsf/trunk/libc/elf/reldep.c
==============================================================================
--- fsf/trunk/libc/elf/reldep.c (original)
+++ fsf/trunk/libc/elf/reldep.c Thu Aug 22 00:01:55 2013
@@ -54,7 +54,7 @@
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());

Modified: fsf/trunk/libc/elf/reldep3.c
==============================================================================
--- fsf/trunk/libc/elf/reldep3.c (original)
+++ fsf/trunk/libc/elf/reldep3.c Thu Aug 22 00:01:55 2013
@@ -54,7 +54,7 @@
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());

Modified: fsf/trunk/libc/elf/sprof.c
==============================================================================
--- fsf/trunk/libc/elf/sprof.c (original)
+++ fsf/trunk/libc/elf/sprof.c Thu Aug 22 00:01:55 2013
@@ -1364,7 +1364,7 @@
 	    runp = runp->next;
 	  }
 
-	/* Info abount the function itself.  */
+	/* Info about the function itself.  */
 	n = printf ("[%Zu]", cnt);
 	printf ("%*s%5.1f%8.2f%8.2f%9" PRIdMAX "         %s [%Zd]\n",
 		(int) (7 - n), " ",

Modified: fsf/trunk/libc/iconv/iconv_charmap.c
==============================================================================
--- fsf/trunk/libc/iconv/iconv_charmap.c (original)
+++ fsf/trunk/libc/iconv/iconv_charmap.c Thu Aug 22 00:01:55 2013
@@ -454,7 +454,7 @@
       while (! is_term (cur, byte))
 	if (cur->val[byte].sub == NULL)
 	  {
-	    /* This is a invalid sequence.  Skip the first byte if we are
+	    /* This is an invalid sequence.  Skip the first byte if we are
 	       ignoring errors.  Otherwise punt.  */
 	    if (! omit_invalid)
 	      {

Modified: fsf/trunk/libc/iconv/skeleton.c
==============================================================================
--- fsf/trunk/libc/iconv/skeleton.c (original)
+++ fsf/trunk/libc/iconv/skeleton.c Thu Aug 22 00:01:55 2013
@@ -514,7 +514,7 @@
       size_t *lirreversiblep = irreversible ? &lirreversible : NULL;
 
       /* The following assumes that encodings, which have a variable length
-	 what might unalign a buffer even though it is a aligned in the
+	 what might unalign a buffer even though it is an aligned in the
 	 beginning, either don't have the minimal number of bytes as a divisor
 	 of the maximum length or have a minimum length of 1.  This is true
 	 for all known and supported encodings.
@@ -659,7 +659,7 @@
 	      data->__outbuf = outbuf;
 
 	      /* Remember how many non-identical characters we
-		 converted in a irreversible way.  */
+		 converted in an irreversible way.  */
 	      *irreversible += lirreversible;
 
 	      break;

Modified: fsf/trunk/libc/iconv/strtab.c
==============================================================================
--- fsf/trunk/libc/iconv/strtab.c (original)
+++ fsf/trunk/libc/iconv/strtab.c Thu Aug 22 00:01:55 2013
@@ -180,7 +180,7 @@
 
 
 /* XXX This function should definitely be rewritten to use a balancing
-   tree algorith (AVL, red-black trees).  For now a simple, correct
+   tree algorithm (AVL, red-black trees).  For now a simple, correct
    implementation is enough.  */
 static struct Strent **
 searchstring (struct Strent **sep, struct Strent *newstr)

Modified: fsf/trunk/libc/io/lockf64.c
==============================================================================
--- fsf/trunk/libc/io/lockf64.c (original)
+++ fsf/trunk/libc/io/lockf64.c Thu Aug 22 00:01:55 2013
@@ -21,7 +21,7 @@
 #include <errno.h>
 #include <string.h>
 
-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */
+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */

Modified: fsf/trunk/libc/libio/libioP.h
==============================================================================
--- fsf/trunk/libc/libio/libioP.h (original)
+++ fsf/trunk/libc/libio/libioP.h Thu Aug 22 00:01:55 2013
@@ -73,7 +73,7 @@
  * These are all the same, just used differently.
  * An _IO_FILE (or FILE) object is allows followed by a pointer to
  * a jump table (of pointers to functions).  The pointer is accessed
- * with the _IO_JUMPS macro.  The jump table has a eccentric format,
+ * with the _IO_JUMPS macro.  The jump table has an eccentric format,
  * so as to be compatible with the layout of a C++ virtual function table.
  * (as implemented by g++).  When a pointer to a streambuf object is
  * coerced to an (_IO_FILE*), then _IO_JUMPS on the result just
@@ -224,7 +224,7 @@
    There is no correspondence in the ANSI/ISO C++ standard library.
    The hooks basically correspond to the Unix system functions
    (read, write, close, lseek, and stat) except that a _IO_FILE*
-   parameter is used instead of a integer file descriptor;  the default
+   parameter is used instead of an integer file descriptor;  the default
    implementation used for normal files just calls those functions.
    The advantage of overriding these functions instead of the higher-level
    ones (underflow, overflow etc) is that you can leave all the buffering

Modified: fsf/trunk/libc/math/libm-test.inc
==============================================================================
--- fsf/trunk/libc/math/libm-test.inc (original)
+++ fsf/trunk/libc/math/libm-test.inc Thu Aug 22 00:01:55 2013
@@ -8144,33 +8144,37 @@
 
 static const struct test_ff_f_data fdim_test_data[] =
   {
-    TEST_ff_f (fdim, 0, 0, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 9, 0, 9, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 0, 9, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, -9, 0, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 0, -9, 9, NO_INEXACT_EXCEPTION),
-
-    TEST_ff_f (fdim, plus_infty, 9, plus_infty, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, plus_infty, -9, plus_infty, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, minus_infty, 9, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, minus_infty, -9, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 9, minus_infty, plus_infty, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, -9, minus_infty, plus_infty, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 9, plus_infty, 0, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, -9, plus_infty, 0, NO_INEXACT_EXCEPTION),
-
-    TEST_ff_f (fdim, 0, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, 9, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, -9, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, qnan_value, 9, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, qnan_value, -9, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, plus_infty, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, minus_infty, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, qnan_value, plus_infty, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, qnan_value, minus_infty, qnan_value, NO_INEXACT_EXCEPTION),
-    TEST_ff_f (fdim, qnan_value, qnan_value, qnan_value, NO_INEXACT_EXCEPTION),
-
-    TEST_ff_f (fdim, plus_infty, plus_infty, 0, NO_INEXACT_EXCEPTION),
+    TEST_ff_f (fdim, 0, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 9, 0, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 0, 9, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, -9, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 0, -9, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    TEST_ff_f (fdim, plus_infty, 9, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, plus_infty, -9, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, minus_infty, 9, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, minus_infty, -9, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 9, minus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, -9, minus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 9, plus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, -9, plus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    TEST_ff_f (fdim, 0, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, 9, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, -9, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, 0, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, 9, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, -9, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, plus_infty, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, minus_infty, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, plus_infty, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, minus_infty, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, qnan_value, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    TEST_ff_f (fdim, plus_infty, plus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, plus_infty, minus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, minus_infty, plus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_ff_f (fdim, minus_infty, minus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
   };
 
 static void

Modified: fsf/trunk/libc/math/s_fdim.c
==============================================================================
--- fsf/trunk/libc/math/s_fdim.c (original)
+++ fsf/trunk/libc/math/s_fdim.c Thu Aug 22 00:01:55 2013
@@ -26,16 +26,16 @@
   int clsx = fpclassify (x);
   int clsy = fpclassify (y);
 
-  if (clsx == FP_NAN || clsy == FP_NAN
-      || (y < 0 && clsx == FP_INFINITE && clsy == FP_INFINITE))
-    /* Raise invalid flag.  */
+  if (clsx == FP_NAN || clsy == FP_NAN)
+    /* Raise invalid flag for signaling but not quiet NaN.  */
     return x - y;
 
   if (x <= y)
     return 0.0;
 
   double r = x - y;
-  if (fpclassify (r) == FP_INFINITE)
+  if (fpclassify (r) == FP_INFINITE
+      && clsx != FP_INFINITE && clsy != FP_INFINITE)
     __set_errno (ERANGE);
 
   return r;

Modified: fsf/trunk/libc/math/s_fdimf.c
==============================================================================
--- fsf/trunk/libc/math/s_fdimf.c (original)
+++ fsf/trunk/libc/math/s_fdimf.c Thu Aug 22 00:01:55 2013
@@ -26,16 +26,16 @@
   int clsx = fpclassify (x);
   int clsy = fpclassify (y);
 
-  if (clsx == FP_NAN || clsy == FP_NAN
-      || (y < 0 && clsx == FP_INFINITE && clsy == FP_INFINITE))
-    /* Raise invalid flag.  */
+  if (clsx == FP_NAN || clsy == FP_NAN)
+    /* Raise invalid flag for signaling but not quiet NaN.  */
     return x - y;
 
   if (x <= y)
     return 0.0f;
 
   float r = x - y;
-  if (fpclassify (r) == FP_INFINITE)
+  if (fpclassify (r) == FP_INFINITE
+      && clsx != FP_INFINITE && clsy != FP_INFINITE)
     __set_errno (ERANGE);
 
   return r;

Modified: fsf/trunk/libc/math/s_fdiml.c
==============================================================================
--- fsf/trunk/libc/math/s_fdiml.c (original)
+++ fsf/trunk/libc/math/s_fdiml.c Thu Aug 22 00:01:55 2013
@@ -26,16 +26,16 @@
   int clsx = fpclassify (x);
   int clsy = fpclassify (y);
 
-  if (clsx == FP_NAN || clsy == FP_NAN
-      || (y < 0 && clsx == FP_INFINITE && clsy == FP_INFINITE))
-    /* Raise invalid flag.  */
+  if (clsx == FP_NAN || clsy == FP_NAN)
+    /* Raise invalid flag for signaling but not quiet NaN.  */
     return x - y;
 
   if (x <= y)
     return 0.0f;
 
   long double r = x - y;
-  if (fpclassify (r) == FP_INFINITE)
+  if (fpclassify (r) == FP_INFINITE
+      && clsx != FP_INFINITE && clsy != FP_INFINITE)
     __set_errno (ERANGE);
 
   return r;

Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Thu Aug 22 00:01:55 2013
@@ -1,3 +1,8 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* pthread_getschedparam.c: Fix typos.
+	* sysdeps/unix/sysv/linux/register-atfork.c: Likewise.
+
 2013-07-23  David S. Miller  <davem@xxxxxxxxxxxxx>
 
 	* tst-cancel4.c (WRITE_BUFFER_SIZE): Adjust comment.

Modified: fsf/trunk/libc/nptl/pthread_getschedparam.c
==============================================================================
--- fsf/trunk/libc/nptl/pthread_getschedparam.c (original)
+++ fsf/trunk/libc/nptl/pthread_getschedparam.c Thu Aug 22 00:01:55 2013
@@ -40,7 +40,7 @@
   lll_lock (pd->lock, LLL_PRIVATE);
 
   /* The library is responsible for maintaining the values at all
-     times.  If the user uses a interface other than
+     times.  If the user uses an interface other than
      pthread_setschedparam to modify the scheduler setting it is not
      the library's problem.  In case the descriptor's values have
      not yet been retrieved do it now.  */

Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/register-atfork.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/register-atfork.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/register-atfork.c Thu Aug 22 00:01:55 2013
@@ -127,7 +127,7 @@
   /* No more fork handlers.  */
   __fork_handlers = NULL;
 
-  /* Free eventually alloated memory blocks for the object pool.  */
+  /* Free eventually allocated memory blocks for the object pool.  */
   struct fork_handler_pool *runp = fork_handler_pool.next;
 
   memset (&fork_handler_pool, '\0', sizeof (fork_handler_pool));

Modified: fsf/trunk/libc/ports/ChangeLog.am33
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.am33 (original)
+++ fsf/trunk/libc/ports/ChangeLog.am33 Thu Aug 22 00:01:55 2013
@@ -1,3 +1,7 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/am33/fpu/fraiseexcpt.c: Fix typos.
+
 2013-06-05  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/am33/elf/start.S: Remove trailing whitespace.

Modified: fsf/trunk/libc/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.hppa (original)
+++ fsf/trunk/libc/ports/ChangeLog.hppa Thu Aug 22 00:01:55 2013
@@ -1,3 +1,9 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/hppa/dl-lookupcfg.h: Fix typos.
+	* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
+	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
+
 2013-07-23  Carlos O'Donell  <carlos@xxxxxxxxxx>
 
 	* sysdeps/hppa/fpu/libm-test-ulps: Regenerate.

Modified: fsf/trunk/libc/ports/ChangeLog.ia64
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.ia64 (original)
+++ fsf/trunk/libc/ports/ChangeLog.ia64 Thu Aug 22 00:01:55 2013
@@ -1,3 +1,12 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/ia64/fpu/e_atanhl.S: Fix typos.
+	* sysdeps/ia64/fpu/e_log2l.S: Likewise.
+	* sysdeps/ia64/fpu/e_logl.S: Likewise.
+	* sysdeps/ia64/fpu/fraiseexcpt.c: Likewise.
+	* sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
+	* sysdeps/ia64/fpu/s_log1pl.S: Likewise.
+
 2013-07-04  Andreas Jaeger  <aj@xxxxxxx>
 
 	* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_LISTEN):

Modified: fsf/trunk/libc/ports/ChangeLog.m68k
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.m68k (original)
+++ fsf/trunk/libc/ports/ChangeLog.m68k Thu Aug 22 00:01:55 2013
@@ -1,3 +1,7 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/m68k/m680x0/fpu/fraiseexcpt.c: Fix typos.
+
 2013-07-20  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/m68k/dl-static.c: New file.

Modified: fsf/trunk/libc/ports/ChangeLog.tile
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.tile (original)
+++ fsf/trunk/libc/ports/ChangeLog.tile Thu Aug 22 00:01:55 2013
@@ -1,3 +1,7 @@
+2013-08-21   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/tile/jmpbuf-offsets.h: Fix typos.
+
 2013-07-22  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
 
 	[BZ #15759]

Modified: fsf/trunk/libc/ports/sysdeps/am33/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/am33/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/ports/sysdeps/am33/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -35,7 +35,7 @@
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       float x = HUGE_VALF, y = 0.0f;
       __asm__ __volatile__ ("fmul %1,%0" : "+f" (x) : "f" (y));
     }

Modified: fsf/trunk/libc/ports/sysdeps/hppa/dl-lookupcfg.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/hppa/dl-lookupcfg.h (original)
+++ fsf/trunk/libc/ports/sysdeps/hppa/dl-lookupcfg.h Thu Aug 22 00:01:55 2013
@@ -57,7 +57,7 @@
 })
 
 
-/* The test for "addr & 2" below is to accomodate old binaries which
+/* The test for "addr & 2" below is to accommodate old binaries which
    violated the ELF ABI by pointing DT_INIT and DT_FINI at a function
    descriptor.  */
 #define DL_DT_INIT_ADDRESS(map, addr) \

Modified: fsf/trunk/libc/ports/sysdeps/hppa/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/hppa/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/ports/sysdeps/hppa/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -42,7 +42,7 @@
   /* First: Invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ (
 		"	fcpy,dbl %%fr0,%%fr22\n"

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_atanhl.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_atanhl.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_atanhl.S Thu Aug 22 00:01:55 2013
@@ -99,7 +99,7 @@
 //   calculation is subdivided into two stages. The first stage is
 //   calculating of X = 2*|x|/(1-|x|). The second one is calculating of
 //   sign(x)*log1pl(X)/2. To obtain required accuracy we use precise division
-//   algorythm output of which is a pair of two extended precision values those
+//   algorithm output of which is a pair of two extended precision values those
 //   approximate result of division with accuracy higher than working
 //   precision. This pair is passed to modified log1pl function.
 //

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_log2l.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_log2l.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_log2l.S Thu Aug 22 00:01:55 2013
@@ -471,7 +471,7 @@
   (p7) br.cond.spnt LOG2_PSEUDO_ZERO
 }
 {.mfi
-  // get T_low adress
+  // get T_low address
   shladd r3=r28,3,r3
   // if first 8 bits after leading 1 are all ones, use polynomial approx. only
   (p10) fms.s1 f6=f7,f36,f1

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logl.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logl.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logl.S Thu Aug 22 00:01:55 2013
@@ -211,7 +211,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
@@ -232,7 +232,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -40,7 +40,7 @@
   /* First: invalid exception.  */
   if (FE_INVALID & excepts)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       tmp = 0;
       __asm__ __volatile__ ("frcpa.s0 %0,p1=f0,f0" : "=f" (tmp) : : "p1" );
     }

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_lgammal.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_lgammal.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_lgammal.S Thu Aug 22 00:01:55 2013
@@ -317,7 +317,7 @@
 //
 //      Calculate       X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 d_5 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_1 indeed always begin
 //                      with 1.0000 in fixed point.
 //
@@ -338,7 +338,7 @@
 //
 //      Calculate       X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_2 indeed always begin
 //                      with 1.00000000 in fixed point.
 //

Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_log1pl.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_log1pl.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_log1pl.S Thu Aug 22 00:01:55 2013
@@ -221,7 +221,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
@@ -242,7 +242,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //

Modified: fsf/trunk/libc/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -33,7 +33,7 @@
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ ("fmul%.s %#0r0,%0; fnop" : "=f" (d) : "0" (d));
     }

Modified: fsf/trunk/libc/ports/sysdeps/tile/jmpbuf-offsets.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/tile/jmpbuf-offsets.h (original)
+++ fsf/trunk/libc/ports/sysdeps/tile/jmpbuf-offsets.h Thu Aug 22 00:01:55 2013
@@ -45,7 +45,7 @@
 #define JB_PC   25  /* normally LR, r55 */
 #define JB_ICS  26  /* interrupt critical section bit */
 
-/* We save space for some extra state to accomodate future changes.  */
+/* We save space for some extra state to accommodate future changes.  */
 #define JB_LEN  32  /* number of words */
 
 #define JB_SIZE (JB_LEN * REGSIZE)

Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h Thu Aug 22 00:01:55 2013
@@ -219,7 +219,7 @@
 
 
 /* FIXME: This comment is not true.
- * All the syscall assembly macros rely on finding the approriate
+ * All the syscall assembly macros rely on finding the appropriate
    SYSCALL_ERROR_LABEL or rather HANDLER. */
 
 /* int * __errno_location(void) so you have to store your value

Modified: fsf/trunk/libc/resolv/gai_notify.c
==============================================================================
--- fsf/trunk/libc/resolv/gai_notify.c (original)
+++ fsf/trunk/libc/resolv/gai_notify.c Thu Aug 22 00:01:55 2013
@@ -117,7 +117,7 @@
 #endif
 	}
       else
-	/* This is part of a asynchronous `getaddrinfo_a' operation.  If
+	/* This is part of an asynchronous `getaddrinfo_a' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {

Modified: fsf/trunk/libc/resolv/ns_name.c
==============================================================================
--- fsf/trunk/libc/resolv/ns_name.c (original)
+++ fsf/trunk/libc/resolv/ns_name.c Thu Aug 22 00:01:55 2013
@@ -180,7 +180,7 @@
 strong_alias (ns_name_ntop, __ns_name_ntop)
 
 /*%
- *	Convert a ascii string into an encoded domain name as per RFC1035.
+ *	Convert an ascii string into an encoded domain name as per RFC1035.
  *
  * return:
  *

Modified: fsf/trunk/libc/resolv/ns_samedomain.c
==============================================================================
--- fsf/trunk/libc/resolv/ns_samedomain.c (original)
+++ fsf/trunk/libc/resolv/ns_samedomain.c Thu Aug 22 00:01:55 2013
@@ -29,7 +29,7 @@
  *	Check whether a name belongs to a domain.
  *
  * Inputs:
- *\li	a - the domain whose ancestory is being verified
+ *\li	a - the domain whose ancestry is being verified
  *\li	b - the potential ancestor we're checking against
  *
  * Return:

Modified: fsf/trunk/libc/resolv/res_send.c
==============================================================================
--- fsf/trunk/libc/resolv/res_send.c (original)
+++ fsf/trunk/libc/resolv/res_send.c Thu Aug 22 00:01:55 2013
@@ -875,7 +875,7 @@
 		}
 	}
 	/*
-	 * If the calling applicating has bailed out of
+	 * If the calling application has bailed out of
 	 * a previous call and failed to arrange to have
 	 * the circuit closed or the server has got
 	 * itself confused, then drop the packet and

Modified: fsf/trunk/libc/stdlib/random.c
==============================================================================
--- fsf/trunk/libc/stdlib/random.c (original)
+++ fsf/trunk/libc/stdlib/random.c Thu Aug 22 00:01:55 2013
@@ -160,7 +160,7 @@
 static struct random_data unsafe_state =
   {
 /* FPTR and RPTR are two pointers into the state info, a front and a rear
-   pointer.  These two pointers are always rand_sep places aparts, as they
+   pointer.  These two pointers are always rand_sep places apart, as they
    cycle through the state information.  (Yes, this does mean we could get
    away with just one pointer, but the code for random is more efficient
    this way).  The pointers are left positioned as they would be from the call:

Modified: fsf/trunk/libc/sunrpc/rpc/xdr.h
==============================================================================
--- fsf/trunk/libc/sunrpc/rpc/xdr.h (original)
+++ fsf/trunk/libc/sunrpc/rpc/xdr.h Thu Aug 22 00:01:55 2013
@@ -221,7 +221,7 @@
 /*
  * Support struct for discriminated unions.
  * You create an array of xdrdiscrim structures, terminated with
- * a entry with a null procedure pointer.  The xdr_union routine gets
+ * an entry with a null procedure pointer.  The xdr_union routine gets
  * the discriminant value and then searches the array of structures
  * for a matching value.  If a match is found the associated xdr routine
  * is called to handle that part of the union.  If there is

Modified: fsf/trunk/libc/sysdeps/i386/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -31,7 +31,7 @@
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       double d;
       __asm__ __volatile__ ("fldz; fdiv %%st, %%st(0); fwait" : "=t" (d));
       (void) &d;

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/memcmp-sse4.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/memcmp-sse4.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/memcmp-sse4.S Thu Aug 22 00:01:55 2013
@@ -58,7 +58,7 @@
 /* Get the entry and convert the relative offset to the	\
 	absolute	address.  */	\
 	addl	(%ebx,INDEX,SCALE), %ebx;	\
-/* We loaded the jump table and adjuested EDX/ESI. Go.  */	\
+/* We loaded the jump table and adjusted EDX/ESI. Go.  */	\
 	jmp	*%ebx
 # else
 #  define JMPTBL(I, B)	I

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S Thu Aug 22 00:01:55 2013
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/memset-sse2.S Thu Aug 22 00:01:55 2013
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcasecmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcasecmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcasecmp.S Thu Aug 22 00:01:55 2013
@@ -37,6 +37,8 @@
 	leal	__strcasecmp_ssse3@GOTOFF(%ebx), %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features@GOTOFF(%ebx)
+	jnz	2f
 	leal	__strcasecmp_sse4_2@GOTOFF(%ebx), %eax
 2:	popl	%ebx
 	cfi_adjust_cfa_offset (-4)
@@ -56,6 +58,8 @@
 	leal	__strcasecmp_ssse3, %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features
+	jnz	2f
 	leal	__strcasecmp_sse4_2, %eax
 2:	ret
 END(__strcasecmp)

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcat-sse2.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcat-sse2.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcat-sse2.S Thu Aug 22 00:01:55 2013
@@ -49,7 +49,7 @@
 	/* Get the entry and convert the relative offset to the	\
 	absolute address.  */	\
 	addl	(%ecx,INDEX,SCALE), %ecx;	\
-	/* We loaded the jump table and adjuested ECX. Go.  */	\
+	/* We loaded the jump table and adjusted ECX. Go.  */	\
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B) I

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-sse4.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-sse4.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-sse4.S Thu Aug 22 00:01:55 2013
@@ -53,7 +53,7 @@
 #  define STR1		8
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (%edi)
@@ -73,7 +73,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (REM); POP (%ebx); ret; \
 			.p2align 4; \

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S Thu Aug 22 00:01:55 2013
@@ -61,7 +61,7 @@
 #  define STR1		4
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%ebx); ret; .p2align 4; CFI_PUSH (%ebx)
 # else
@@ -82,7 +82,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (REM); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (REM)

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp.S Thu Aug 22 00:01:55 2013
@@ -68,6 +68,8 @@
 	leal	__STRCMP_SSSE3@GOTOFF(%ebx), %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features@GOTOFF(%ebx)
+	jnz	2f
 	leal	__STRCMP_SSE4_2@GOTOFF(%ebx), %eax
 2:	popl	%ebx
 	cfi_adjust_cfa_offset (-4)
@@ -87,6 +89,8 @@
 	leal	__STRCMP_SSSE3, %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features
+	jnz	2f
 	leal	__STRCMP_SSE4_2, %eax
 2:	ret
 END(STRCMP)

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcpy-sse2.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcpy-sse2.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcpy-sse2.S Thu Aug 22 00:01:55 2013
@@ -64,7 +64,7 @@
 	/* Get the entry and convert the relative offset to the \
 	absolute	address.  */                            \
 	addl	(%ecx,INDEX,SCALE), %ecx;                       \
-	/* We loaded the jump table and adjuested ECX. Go.  */  \
+	/* We loaded the jump table and adjusted ECX. Go.  */  \
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B)	I
@@ -128,7 +128,7 @@
 
 	sub	%ecx, %edi
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	mov	$16, %ecx
@@ -271,7 +271,7 @@
 	lea	49(%edi, %edx), %edi
 	jmp	L(StrncpyFillTailWithZero)
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentZero):
 	pxor	%xmm0, %xmm0

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strncase.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strncase.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strncase.S Thu Aug 22 00:01:55 2013
@@ -37,6 +37,8 @@
 	leal	__strncasecmp_ssse3@GOTOFF(%ebx), %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features@GOTOFF(%ebx)
+	jnz	2f
 	leal	__strncasecmp_sse4_2@GOTOFF(%ebx), %eax
 2:	popl	%ebx
 	cfi_adjust_cfa_offset (-4)
@@ -56,6 +58,8 @@
 	leal	__strncasecmp_ssse3, %eax
 	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
 	jz	2f
+	testl	$bit_Slow_SSE4_2, CPUID_OFFSET+index_Slow_SSE4_2+__cpu_features
+	jnz	2f
 	leal	__strncasecmp_sse4_2, %eax
 2:	ret
 END(__strncasecmp)

Modified: fsf/trunk/libc/sysdeps/mach/hurd/check_fds.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/check_fds.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/check_fds.c Thu Aug 22 00:01:55 2013
@@ -42,7 +42,7 @@
     {
       /* This descriptor hasn't been opened.  We try to allocate the
          descriptor and open /dev/null on it so that the SUID program
-         we are about to start does not accidently use this
+         we are about to start does not accidentally use this
          descriptor.  */
       d = _hurd_alloc_fd (NULL, fd);
       if (d != NULL)

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/cell/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/cell/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/cell/memcpy.S Thu Aug 22 00:01:55 2013
@@ -49,7 +49,7 @@
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrlwi  r8,r8,32-4	/* aling to 16byte boundary  */
+	clrlwi  r8,r8,32-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmplwi	cr0,r8,0
 	beq+	.Ldst_aligned

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S Thu Aug 22 00:01:55 2013
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcmp.S Thu Aug 22 00:01:55 2013
@@ -512,7 +512,7 @@
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcmp.S Thu Aug 22 00:01:55 2013
@@ -515,7 +515,7 @@
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/setjmp.S Thu Aug 22 00:01:55 2013
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 

Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/cell/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/cell/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/cell/memcpy.S Thu Aug 22 00:01:55 2013
@@ -49,7 +49,7 @@
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrldi  r8,r8,64-4	/* aling to 16byte boundary  */
+	clrldi  r8,r8,64-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmpldi	cr0,r8,0
 	beq+	.Ldst_aligned

Modified: fsf/trunk/libc/sysdeps/pthread/aio_notify.c
==============================================================================
--- fsf/trunk/libc/sysdeps/pthread/aio_notify.c (original)
+++ fsf/trunk/libc/sysdeps/pthread/aio_notify.c Thu Aug 22 00:01:55 2013
@@ -157,7 +157,7 @@
 #endif
 	}
       else
-	/* This is part of a asynchronous `lio_listio' operation.  If
+	/* This is part of an asynchronous `lio_listio' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {

Modified: fsf/trunk/libc/sysdeps/sparc/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -39,7 +39,7 @@
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0/0.  */
+      /* One example of an invalid operation is 0/0.  */
       __asm ("" : "=e" (d) : "0" (c.zero));
       d /= c.zero;
       __asm __volatile ("" : : "e" (d));

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/socketcall.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/socketcall.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/socketcall.h Thu Aug 22 00:01:55 2013
@@ -22,7 +22,7 @@
 /* Define unique numbers for the operations permitted on socket.  Linux
    uses a single system call for all these functions.  The relevant code
    file is /usr/include/linux/net.h.
-   We cannot use a enum here because the values are used in assembler
+   We cannot use an enum here because the values are used in assembler
    code.  */
 
 #define SOCKOP_socket		1

Modified: fsf/trunk/libc/sysdeps/x86/fpu/bits/fenv.h
==============================================================================
--- fsf/trunk/libc/sysdeps/x86/fpu/bits/fenv.h (original)
+++ fsf/trunk/libc/sysdeps/x86/fpu/bits/fenv.h Thu Aug 22 00:01:55 2013
@@ -115,7 +115,7 @@
     {
       if ((FE_INVALID & __excepts) != 0)
 	{
-	  /* One example of a invalid operation is 0.0 / 0.0.  */
+	  /* One example of an invalid operation is 0.0 / 0.0.  */
 	  float __f = 0.0;
 
 # ifdef __SSE_MATH__

Modified: fsf/trunk/libc/sysdeps/x86_64/fpu/fraiseexcpt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/fpu/fraiseexcpt.c (original)
+++ fsf/trunk/libc/sysdeps/x86_64/fpu/fraiseexcpt.c Thu Aug 22 00:01:55 2013
@@ -30,7 +30,7 @@
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       float f = 0.0;
 
       __asm__ __volatile__ ("divss %0, %0 " : : "x" (f));

Modified: fsf/trunk/libc/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S Thu Aug 22 00:01:55 2013
@@ -93,7 +93,7 @@
 	movdqu	(%rsi, %rcx), %xmm1   /* copy 16 bytes */
 	movdqu	%xmm1, (%rdi)
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	sub	%rcx, %rdi
@@ -289,7 +289,7 @@
 	BRANCH_TO_JMPTBL_ENTRY (L(ExitTable), %rdx, 4)
 # endif
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentLess32):
 	pxor	%xmm0, %xmm0

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