]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix misspellings in sysdeps/ -- BZ 25337
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 30 May 2023 23:02:29 +0000 (23:02 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 30 May 2023 23:02:29 +0000 (23:02 +0000)
153 files changed:
sysdeps/aarch64/atomic-machine.h
sysdeps/aarch64/multiarch/memset_base64.S
sysdeps/alpha/alphaev67/strrchr.S
sysdeps/alpha/atomic-machine.h
sysdeps/alpha/divq.S
sysdeps/alpha/divqu.S
sysdeps/alpha/fpu/bits/fenv.h
sysdeps/alpha/fpu/feupdateenv.c
sysdeps/alpha/ots_cvtqux.c
sysdeps/alpha/ots_cvtqx.c
sysdeps/alpha/remq.S
sysdeps/alpha/remqu.S
sysdeps/alpha/stpncpy.S
sysdeps/alpha/strrchr.S
sysdeps/arc/fpu/fesetenv.c
sysdeps/arm/armv6/rawmemchr.S
sysdeps/arm/armv6/strchr.S
sysdeps/arm/armv6/strcpy.S
sysdeps/arm/armv6/strlen.S
sysdeps/arm/armv6/strrchr.S
sysdeps/arm/atomic-machine.h
sysdeps/arm/dl-tlsdesc.h
sysdeps/arm/find_exidx.c
sysdeps/arm/nptl/Makefile
sysdeps/arm/stap-probe-machine.h
sysdeps/csky/fpu/feupdateenv.c
sysdeps/generic/ldsodefs.h
sysdeps/generic/sysdep.h
sysdeps/generic/unwind-dw2-fde-glibc.c
sysdeps/gnu/netinet/tcp.h
sysdeps/hppa/__longjmp.c
sysdeps/hppa/dl-fptr.c
sysdeps/hppa/dl-trampoline.S
sysdeps/hppa/nptl/bits/struct_mutex.h
sysdeps/htl/bits/cancelation.h
sysdeps/htl/pt-cond-timedwait.c
sysdeps/htl/pt-key.h
sysdeps/htl/pt-rwlock-timedrdlock.c
sysdeps/htl/pt-rwlock-timedwrlock.c
sysdeps/htl/pt-rwlock-unlock.c
sysdeps/htl/pthread.h
sysdeps/htl/timer_routines.c
sysdeps/i386/fpu/feupdateenv.c
sysdeps/i386/i686/dl-hash.h
sysdeps/i386/i686/multiarch/memcmp-sse4.S
sysdeps/i386/i686/multiarch/memcmp-ssse3.S
sysdeps/i386/i686/multiarch/strcpy-ssse3.S
sysdeps/i386/strpbrk.S
sysdeps/ia64/dl-trampoline.S
sysdeps/ia64/fpu/e_acos.S
sysdeps/ia64/fpu/e_acosf.S
sysdeps/ia64/fpu/e_asin.S
sysdeps/ia64/fpu/e_asinf.S
sysdeps/ia64/fpu/e_log.S
sysdeps/ia64/fpu/e_logf.S
sysdeps/ia64/fpu/e_pow.S
sysdeps/ia64/fpu/e_powf.S
sysdeps/ia64/fpu/libm_lgammaf.S
sysdeps/ia64/fpu/libm_lgammal.S
sysdeps/ia64/fpu/libm_reduce.S
sysdeps/ia64/fpu/libm_sincos_large.S
sysdeps/ia64/fpu/libm_sincosl.S
sysdeps/ia64/fpu/s_cosl.S
sysdeps/ia64/fpu/s_erfcl.S
sysdeps/ia64/fpu/s_modf.S
sysdeps/ia64/fpu/s_modff.S
sysdeps/ia64/fpu/s_modfl.S
sysdeps/ia64/fpu/s_tanhl.S
sysdeps/ia64/fpu/w_tgamma_compat.S
sysdeps/ia64/fpu/w_tgammaf_compat.S
sysdeps/ia64/memchr.S
sysdeps/ia64/strchr.S
sysdeps/ieee754/dbl-64/branred.c
sysdeps/ieee754/dbl-64/e_lgamma_r.c
sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
sysdeps/ieee754/ldbl-96/e_lgammal_r.c
sysdeps/loongarch/configure.ac
sysdeps/loongarch/fpu/feupdateenv.c
sysdeps/m68k/fpu/feupdateenv.c
sysdeps/m68k/unwind-arch.h
sysdeps/mach/htl/pt-thread-alloc.c
sysdeps/mach/hurd/Makefile
sysdeps/mach/hurd/bits/posix_opt.h
sysdeps/mach/hurd/errno-loc.c
sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h
sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c
sysdeps/mach/hurd/i386/localplt.data
sysdeps/mach/hurd/ptsname.c
sysdeps/mach/hurd/recvfrom.c
sysdeps/mach/hurd/setitimer.c
sysdeps/mips/atomic-machine.h
sysdeps/mips/bits/link.h
sysdeps/mips/fpu/feupdateenv.c
sysdeps/mips/memcpy.S
sysdeps/mips/memset.S
sysdeps/mips/start.S
sysdeps/mips/sys/asm.h
sysdeps/mips/tst-abi-interlink.c
sysdeps/mips/unwind-arch.h
sysdeps/nios2/dl-machine.h
sysdeps/nios2/start.S
sysdeps/nptl/dl-tls_init_tp.c
sysdeps/nptl/pthread.h
sysdeps/or1k/dl-machine.h
sysdeps/or1k/nptl/tls.h
sysdeps/pthread/cnd_wait.c
sysdeps/pthread/posix-timer.h
sysdeps/pthread/threads.h
sysdeps/pthread/tst-cancel12.c
sysdeps/pthread/tst-clock1.c
sysdeps/pthread/tst-cond2.c
sysdeps/pthread/tst-key2.c
sysdeps/pthread/tst-mutex10.c
sysdeps/pthread/tst-mutex2.c
sysdeps/pthread/tst-rwlock-tryrdlock-stall.c
sysdeps/pthread/tst-rwlock-trywrlock-stall.c
sysdeps/pthread/tst-tsd2.c
sysdeps/s390/memchr-vx.S
sysdeps/s390/memcpy-z900.S
sysdeps/s390/memset-z900.S
sysdeps/s390/multiarch/8bit-generic.c
sysdeps/s390/s390-32/setjmp.S
sysdeps/s390/s390-32/start.S
sysdeps/s390/s390-64/setjmp.S
sysdeps/s390/s390-64/strncpy-z900.S
sysdeps/s390/stpncpy-vx.S
sysdeps/s390/strcspn-vx.S
sysdeps/s390/strncmp-vx.S
sysdeps/s390/strpbrk-vx.S
sysdeps/s390/strrchr-vx.S
sysdeps/s390/strspn-vx.S
sysdeps/s390/utf16-utf32-z9.c
sysdeps/s390/utf8-utf16-z9.c
sysdeps/s390/utf8-utf32-z9.c
sysdeps/s390/wcpncpy-vx.S
sysdeps/s390/wcscmp-vx.S
sysdeps/s390/wcscspn-vx.S
sysdeps/s390/wcsncmp-vx.S
sysdeps/s390/wcspbrk-vx.S
sysdeps/s390/wcsrchr-vx.S
sysdeps/s390/wcsspn-vx.S
sysdeps/s390/wmemchr-vx.S
sysdeps/sh/sh4/fpu/feupdateenv.c
sysdeps/sparc/atomic-machine.h
sysdeps/sparc/fpu/feupdateenv.c
sysdeps/sparc/sparc32/sparcv9/rem.S
sysdeps/sparc/sparc32/sparcv9/sdiv.S
sysdeps/sparc/sparc32/sparcv9/udiv.S
sysdeps/sparc/sparc32/sparcv9/urem.S
sysdeps/sparc/sparc64/memmove.S
sysdeps/x86/cpu-features.c
sysdeps/x86/dl-prop.h
sysdeps/x86/hp-timing.h

index 0ea74866f045986b10e1dd9e202a61337cba136b..6f48029d9161bb5b05ac9ca41802ab17a4965727 100644 (file)
@@ -24,7 +24,7 @@
 #define ATOMIC_EXCHANGE_USES_CAS 0
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({                                                                   \
index 43c0feb9528d0ab1d7db45a0a66f0a7bdbeb4699..35296a6dec4944fa74af176bf280e17b11a027fd 100644 (file)
@@ -102,9 +102,9 @@ L(set_long):
        sub     count, dstend, dst
 
        /*
-        * Adjust count and bias for loop. By substracting extra 1 from count,
+        * Adjust count and bias for loop. By subtracting extra 1 from count,
         * it is easy to use tbz instruction to check whether loop tailing
-        * count is less than 33 bytes, so as to bypass 2 unneccesary stps.
+        * count is less than 33 bytes, so as to bypass 2 unnecessary stps.
         */
        sub     count, count, 64+16+1
 
@@ -151,9 +151,9 @@ L(zva_64):
 
        sub     count, dstend, dst
        /*
-        * Adjust count and bias for loop. By substracting extra 1 from count,
+        * Adjust count and bias for loop. By subtracting extra 1 from count,
         * it is easy to use tbz instruction to check whether loop tailing
-        * count is less than 33 bytes, so as to bypass 2 unneccesary stps.
+        * count is less than 33 bytes, so as to bypass 2 unnecessary stps.
         */
        sub     count, count, 128+64+64+1
        add     dst, dst, 128
index 678d2567627e2409ed9020de405dc8be749935c2..79a2cb9939d815d561679f566738536f703e8f63 100644 (file)
@@ -79,7 +79,7 @@ $loop:
 
        cmpbge  zero, t0, t1    # E : bits set iff byte == zero
        cmpbge  zero, t2, t3    # E : bits set iff byte == c
-       beq     t1, $loop       # U : if we havnt seen a null, loop
+       beq     t1, $loop       # U : if we haven't seen a null, loop
        nop
 
        /* Mask out character matches after terminator */
index a5690919d50c88535ddba4e67b4eda69027a17d0..8051d67895985afe8e03f232b7ef98fa650320ae 100644 (file)
        : "memory");                                                    \
 })
 
-/* For all "bool" routines, we return FALSE if exchange succesful.  */
+/* For all "bool" routines, we return FALSE if exchange successful.  */
 
 #define __arch_compare_and_exchange_bool_8_int(mem, new, old, mb1, mb2)        \
 ({ unsigned long __prev; int __cmp;                                    \
index 685819a859ffd1f0a52be62a35ace81f090ed00b..57ac4a01e63248ace48645f9ade27375a1554303 100644 (file)
@@ -30,7 +30,7 @@
    convert back to integer.
 
    When the dividend is outside the range for which we can compute exact
-   results, we use the fp quotent as an estimate from which we begin refining
+   results, we use the fp quotient as an estimate from which we begin refining
    an exact integral value.  This reduces the number of iterations in the
    shift-and-subtract loop significantly.
 
index 10d456130db2f3980936cc4569ac531668496e72..47bef5f5beec6f27bd2a3574bc3a296c3b345023 100644 (file)
@@ -30,7 +30,7 @@
    convert back to integer.
 
    When the dividend is outside the range for which we can compute exact
-   results, we use the fp quotent as an estimate from which we begin refining
+   results, we use the fp quotient as an estimate from which we begin refining
    an exact integral value.  This reduces the number of iterations in the
    shift-and-subtract loop significantly.
 
index cd89686634cccfc3f5eb2f9c3f404719b9d2f249..cc7b0912f186170aea089de5420fa5e9d8dd5701 100644 (file)
@@ -66,7 +66,7 @@ enum
       FE_ALL_EXCEPT
   };
 
-/* Alpha chips support all four defined rouding modes.
+/* Alpha chips support all four defined rounding modes.
 
    Note that code must be compiled to use dynamic rounding (/d) instructions
    to see these changes.  For gcc this is -mfp-rounding-mode=d; for DEC cc
index 58bbaf6d57ee1c6a23958180e09b5555ed4e7274..a26f580e92b81db48ebf17156de87e206a8c50d6 100644 (file)
@@ -29,7 +29,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the saved exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept (tmp & SWCR_STATUS_MASK);
index 38400f4fabe0a78197616df8a1d869b5616ded66..2ad38c522deea8a80521799d354b1c3dd1f71b11 100644 (file)
@@ -19,7 +19,7 @@
 #include "local-soft-fp.h"
 
 /* Should never actually be used, since we've more bits of precision
-   than the incomming long, but needed for linkage.  */
+   than the incoming long, but needed for linkage.  */
 #undef FP_ROUNDMODE
 #define FP_ROUNDMODE  FP_RND_ZERO
 
index 3016e26c62c2a9307612e8524e22784deff95b86..70fcc1f7411f4bd7f07d177d1f8307fce9dc4d2f 100644 (file)
@@ -19,7 +19,7 @@
 #include "local-soft-fp.h"
 
 /* Should never actually be used, since we've more bits of precision
-   than the incomming long, but needed for linkage.  */
+   than the incoming long, but needed for linkage.  */
 #undef FP_ROUNDMODE
 #define FP_ROUNDMODE  FP_RND_ZERO
 
index 9e6f9229bd9d801606ce58325d6b3089ff583012..2dc995b6622ce9d8e6953ccbb5d3a51e802402f8 100644 (file)
@@ -30,7 +30,7 @@
    convert back to integer.
 
    When the dividend is outside the range for which we can compute exact
-   results, we use the fp quotent as an estimate from which we begin refining
+   results, we use the fp quotient as an estimate from which we begin refining
    an exact integral value.  This reduces the number of iterations in the
    shift-and-subtract loop significantly.
 
index a5cd1d11de8b7035817b404e0494bd777ef2be51..4df92563efe0f25c6df141fa13d74bd94d0bf7d4 100644 (file)
@@ -30,7 +30,7 @@
    convert back to integer.
 
    When the dividend is outside the range for which we can compute exact
-   results, we use the fp quotent as an estimate from which we begin refining
+   results, we use the fp quotient as an estimate from which we begin refining
    an exact integral value.  This reduces the number of iterations in the
    shift-and-subtract loop significantly.
 
index a646d97a97529fce3ac5f52fa5b1951812b66f60..191565273f6c611c2b1999aaafa2d446851b59f4 100644 (file)
@@ -59,7 +59,7 @@ ENTRY(__stpncpy)
        or      t2, t8, t2      # e0    : clear the bits between the last
        or      t3, t10, t3     # .. e1 : written byte and the last byte in
        andnot  t3, t2, t3      # e0    : COUNT
-       cmovne  t4, t5, v0      # .. e1 : if last written wasnt null, inc v0
+       cmovne  t4, t5, v0      # .. e1 : if last written wasn't null, inc v0
        zap     t0, t3, t0      # e0    :
        stq_u   t0, 0(a0)       # e1    :
        ret                     # .. e1 :
index 8118d20c4f7e30285d9e8f1c7af71945f65e3ded..0374b6e0a9a7e3647894d454fe600231556594bf 100644 (file)
@@ -68,7 +68,7 @@ $loop:
        xor     t0, a1, t2      # e0    :
        cmpbge  zero, t0, t1    # .. e1 : bits set iff byte == zero
        cmpbge  zero, t2, t3    # e0    : bits set iff byte == c
-       beq     t1, $loop       # .. e1 : if we havnt seen a null, loop
+       beq     t1, $loop       # .. e1 : if we haven't seen a null, loop
 
        /* Mask out character matches after terminator */
 $eos:
index 72bde77ba96728cfc2ee605c384ce6b98b041e66..353345aad02797d1e03529fa0fccad65d2092039 100644 (file)
@@ -1,4 +1,4 @@
-/* Install given floating-point environment (doesnot raise exceptions).
+/* Install given floating-point environment (does not raise exceptions).
    Copyright (C) 2020-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index cd3d2aee21a74c99b7f5e90e35924d34a1efe328..87987ca68a075d0ed7cbf4b03362d8bc77ba11e5 100644 (file)
@@ -47,7 +47,7 @@ ENTRY (__rawmemchr)
        cmpne   r2, r1                  @ ... or C
        bne     1b
 
-       @ Disambiguate the exit possibilites above
+       @ Disambiguate the exit possibilities above
        cmp     r2, r1                  @ Found C
        it      eq
        bxeq    lr
index 415f6a5a2be179ade9833a5254165ef6dba5de66..f49ea536677eacb7043aa0259856f7cfdba30d57 100644 (file)
@@ -43,14 +43,14 @@ ENTRY (strchr)
 
        @ Loop until we find ...
 1:     ldrb    r2, [r0, #1]!
-       subs    r3, r3, #1              @ ... the aligment point
+       subs    r3, r3, #1              @ ... the alignment point
        it      ne
        cmpne   r2, r1                  @ ... or the character
        it      ne
        cmpne   r2, #0                  @ ... or EOS
        bne     1b
 
-       @ Disambiguate the exit possibilites above
+       @ Disambiguate the exit possibilities above
        cmp     r2, r1                  @ Found the character
        it      ne
        cmpne   r2, #0                  @ Found EOS
index e9f63a56c1c605a21b05f7ac21412585b0705171..14c6bd2fde4b76be0f6f09da10f4f96bce3997ce 100644 (file)
@@ -61,7 +61,7 @@ ENTRY (strcpy)
        cmpne   r2, #0                  @ ... or EOS
        bne     1b
 
-       @ Disambiguate the exit possibilites above
+       @ Disambiguate the exit possibilities above
        cmp     r2, #0                  @ Found EOS
        beq     .Lreturn
 
@@ -70,7 +70,7 @@ ENTRY (strcpy)
        pld     [r0, #64]
        pld     [r1, #64]
 
-       @ For longer strings, we actaully need a stack frame.
+       @ For longer strings, we actually need a stack frame.
        push    { r4, r5, r6, r7 }
        cfi_adjust_cfa_offset (16)
        cfi_rel_offset (r4, 0)
index b436b80e7ea3279dcd835083a2215a23aa1f8adb..29966ff34f6611d6a5a25daf38d5b53bac28f27e 100644 (file)
@@ -39,12 +39,12 @@ ENTRY (strlen)
 
        @ Loop until we find ...
 1:     ldrb    r2, [r0, #1]!
-       subs    r3, r3, #1              @ ... the aligment point
+       subs    r3, r3, #1              @ ... the alignment point
        it      ne
        cmpne   r2, #0                  @ ... or EOS
        bne     1b
 
-       @ Disambiguate the exit possibilites above
+       @ Disambiguate the exit possibilities above
        cmp     r2, #0                  @ Found EOS
        beq     99f
        add     r0, r0, #1
index 2b91e7abcc795cc582c0cb00b2813fdb2bcd2251..e91fd38650ee9cb74bee6bdb27fe5c16742165da 100644 (file)
@@ -1,4 +1,4 @@
-/* strrchr -- find the last occurence of C in a nul-terminated string
+/* strrchr -- find the last occurrence of C in a nul-terminated string
    Copyright (C) 2013-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -40,7 +40,7 @@ ENTRY (strrchr)
        cmp     r2, #0                  @ Find EOS
        it      eq
        bxeq    lr
-       tst     r3, #7                  @ Find the aligment point
+       tst     r3, #7                  @ Find the alignment point
        bne     1b
 
        @ So now we're aligned.  Now we actually need a stack frame.
index f5231e8d7d2b6522dbe461fe7f04ad928fb7a66e..353b6ccbea7d695ce90e10b60baa65ba00b0d3ad 100644 (file)
@@ -76,7 +76,7 @@ void __arm_link_error (void);
                        mem, new, old, __ATOMIC_RELEASE)
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({__arm_link_error (); 0; })
index 5c2d8b512b695eb5ed1b1887df35081a7b623177..bb647ccc8788c5612500fcd20af0a173deb79461 100644 (file)
@@ -9,7 +9,7 @@
    version 2.1 of the License, or (at your option) any later version.
 
    The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; witout even the implied warranty of
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.
 
index 1404f2ba283312c94903f5712c2bee1a7389459b..e4ee106fb8e09c7d115ee3f3f8c8ab3c0d716356 100644 (file)
@@ -26,7 +26,7 @@ struct unw_eh_callback_data
 };
 
 
-/* Callback to determins if the PC lies within an object, and remember the
+/* Callback to determines if the PC lies within an object, and remember the
    location of the exception index table if it does.  */
 
 static int
index cfbfac90e85adf87dfa33a9280827e6800b2ff4f..fa2c736c5c97a6fd8f32d098b242dc3bb25eb838 100644 (file)
@@ -19,7 +19,7 @@ ifeq ($(subdir),nptl)
 # This test relies on compiling part of the binary with EH information,
 # part without, and unwinding through.  The .ARM.exidx tables have
 # start addresses for EH regions, but no end addresses.  Every
-# region an exception needs to propogate through must have unwind
+# region an exception needs to propagate through must have unwind
 # information, or a previous function's unwind table may be used
 # by mistake.
 tests := $(filter-out tst-cleanupx4,$(tests))
index 9555557a12bb6912f523c62a0241fa9d8a83d59f..2a812c6ff817ab94b48d78023922eca016c2f38c 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* The default "nor" constraint produces unparseable memory references
+/* The default "nor" constraint produces unparsable memory references
    for constants.  Omit the problematic "o" constraint.  See bug 24164
    and GCC PR 89146.  */
 #define STAP_SDT_ARG_CONSTRAINT nr
index d061bdd05ac227afcfad54f9c6ec38844c1a837a..017c375e098ebf2bd973d469480ea132415e4204 100644 (file)
@@ -33,7 +33,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   feraiseexcept (temp);
index ba531762968d64b7dd90a3df002286dc768b83fa..8b7e603c87a45c6f14d547ede0902b3f6044865b 100644 (file)
@@ -357,7 +357,7 @@ struct rtld_global
   EXTERN size_t _dl_nns;
 
   /* During the program run we must not modify the global data of
-     loaded shared object simultanously in two threads.  Therefore we
+     loaded shared object simultaneously in two threads.  Therefore we
      protect `_dl_open' and `_dl_close' in dl-close.c.
 
      This must be a recursive lock since the initializer function of
@@ -1181,7 +1181,7 @@ extern struct link_map * _dl_get_dl_main_map (void)
 # endif
 #endif
 
-/* Perform early memory allocation, avoding a TCB dependency.
+/* Perform early memory allocation, avoiding a TCB dependency.
    Terminate the process if allocation fails.  May attempt to use
    brk.  */
 void *_dl_early_allocate (size_t size) attribute_hidden;
index 11a5bed33880832954bebfee513aad6cc73b7a0b..e77be376f7a88527ea548900f7c75bfa5cb62c88 100644 (file)
@@ -35,7 +35,7 @@
 # endif
 #endif
 
-/* Makros to generate eh_frame unwind information.  */
+/* Macros to generate eh_frame unwind information.  */
 #ifdef __ASSEMBLER__
 # define cfi_startproc                 .cfi_startproc
 # define cfi_endproc                   .cfi_endproc
index ae46c4eee3c7c1933cc7db2428798821aba815c5..ba91e75557a7d93e0b270abf97be22186fb759c1 100644 (file)
@@ -133,7 +133,7 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
   data->dbase = NULL;
   if (p_dynamic)
     {
-      /* For dynamicly linked executables and shared libraries,
+      /* For dynamically linked executables and shared libraries,
         DT_PLTGOT is the gp value for that object.  */
       ElfW(Dyn) *dyn = (ElfW(Dyn) *)(p_dynamic->p_vaddr + load_base);
       for (; dyn->d_tag != DT_NULL ; dyn++)
index 41ca11b5f50853562ff6698cafb73cd8a79b14cc..17937246428ea379d92fcac5b21a490f79a0d866 100644 (file)
@@ -48,7 +48,7 @@
 #define TCP_DEFER_ACCEPT        9  /* Wake up listener only when data arrive */
 #define TCP_WINDOW_CLAMP        10 /* Bound advertised window */
 #define TCP_INFO                11 /* Information about this connection. */
-#define        TCP_QUICKACK             12 /* Bock/reenable quick ACKs.  */
+#define        TCP_QUICKACK             12 /* Bock/re-enable quick ACKs.  */
 #define TCP_CONGESTION          13 /* Congestion control algorithm.  */
 #define TCP_MD5SIG              14 /* TCP MD5 Signature (RFC2385) */
 #define TCP_COOKIE_TRANSACTIONS         15 /* TCP Cookie Transactions */
@@ -209,7 +209,7 @@ enum
 # define TCPI_OPT_TIMESTAMPS   1
 # define TCPI_OPT_SACK         2
 # define TCPI_OPT_WSCALE       4
-# define TCPI_OPT_ECN          8  /* ECN was negociated at TCP session init */
+# define TCPI_OPT_ECN          8  /* ECN was negotiated at TCP session init */
 # define TCPI_OPT_ECN_SEEN     16 /* we received at least one packet with ECT */
 # define TCPI_OPT_SYN_DATA     32 /* SYN-ACK acked data in SYN sent or rcvd */
 
@@ -307,7 +307,7 @@ enum
 /* Flags for both getsockopt and setsockopt */
 #define TCP_COOKIE_IN_ALWAYS   (1 << 0)        /* Discard SYN without cookie */
 #define TCP_COOKIE_OUT_NEVER   (1 << 1)        /* Prohibit outgoing cookies,
-                                                * supercedes everything. */
+                                                * supersedes everything. */
 
 /* Flags for getsockopt */
 #define TCP_S_DATA_IN          (1 << 2)        /* Was data received? */
index 055cc267367ad4b9b1889750b21e3871af869d0a..cbd701e2864f8fa6342b5fddcf60aa6ac575d1a9 100644 (file)
@@ -61,7 +61,7 @@ __longjmp (__jmp_buf env, int val)
        "ldw    76(%1), %%r30\n\t"
        /* Load return pointer. */
        "ldw    80(%1), %%rp\n\t"
-       /* Ues a spare caller saves register.  */
+       /* Use a spare caller saves register.  */
        "ldo    88(%1),%%r25\n\t"
        /* Load callee saves from fr12 to fr21.  */
        "fldds,ma 8(%%r25), %%fr12\n\t"
index 5218f7c7c87d8dc3336f54aec4bac528a2fb112d..1c0d51ca9bc7f6b81b6ae47ed2a54abb90baccaf 100644 (file)
@@ -252,7 +252,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
       if (__builtin_expect (COMPARE_AND_SWAP (&ftab[symidx], (ElfW(Addr)) NULL,
                                              fdesc), 1))
        {
-         /* Noone has updated the entry and the new function
+         /* No one has updated the entry and the new function
             descriptor has been installed.  */
 #if 0
          const char *strtab
index ed9f7af7e77739bec50cdeba84b20ab48c59490f..689c6e1a40a8da09abaeabb99425b7b6f8582395 100644 (file)
@@ -272,7 +272,7 @@ L(cpe):
        addi    63, %r28, %r28
        depi    0, 27, 6, %r28
 
-       /* Calcualte start of stack copy */
+       /* Calculate start of stack copy */
        ldo     -192(%sp),%r2
 
        /* Increate the stack by *framesizep */
@@ -281,14 +281,14 @@ L(cpe):
        /* Save stack pointer */
        stw     %r1, -4(%sp)
 
-       /* Single byte copy of prevous stack onto newly allocated stack */
+       /* Single byte copy of previous stack onto newly allocated stack */
 1:     ldb     %r28(%r2), %r1
        add     %r28, %sp, %r26
        stb     %r1, 0(%r26)
        addi,<  -1,%r28,%r28
        b,n     1b
 
-       /* Retore r28 and r27 and r2 already points at -192(%sp) */
+       /* Restore r28 and r27 and r2 already points at -192(%sp) */
        ldw     0(%r2),%r28
        ldw     84(%r2),%r26
 
@@ -324,7 +324,7 @@ L(cont):
 
        /* Unwind the stack */
        ldo     192(%sp),%sp
-       /* Retore callers rp */
+       /* Restore callers rp */
         ldw -20(%sp),%rp
        /* Return */
        bv,n    0(%r2)
index 9033fdfe7554ca714e365ee72bf80fd36fe9e2ec..899212a41bde3230897c8a5a26ee2ed6d0e38605 100644 (file)
@@ -27,7 +27,7 @@ struct __pthread_mutex_s
   /* KIND must stay at this position in the structure to maintain
      binary compatibility with static initializers.  */
   int __kind;
-  /* The old 4-word 16-byte aligned lock. This is initalized
+  /* The old 4-word 16-byte aligned lock. This is initialized
      to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
      Unused in NPTL.  */
   int __glibc_compat_padding[4];
index 5fbc308e333e3dd4a2c9b08bf02e9f1d8c42f023..9e0309a37087bb0af2ce2be70c8dfe9895ea01a0 100644 (file)
@@ -1,4 +1,4 @@
-/* Cancelation.  Generic version.
+/* Cancellation.  Generic version.
    Copyright (C) 2002-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 9cea259e531908f3ccaddf188d8383b7aed76353..c537350933a5c6f65c0b6bacc1a7cbcceef85a50 100644 (file)
@@ -177,7 +177,7 @@ __pthread_cond_timedwait_internal (pthread_cond_t *cond,
     }
   else
     {
-      /* We're still in the list of waiters.  Noone attempted to wake us up,
+      /* We're still in the list of waiters.  No one attempted to wake us up,
          i.e. we timed out.  */
       assert (err == ETIMEDOUT);
       __pthread_dequeue (self);
index df3601e01d68ff2aaa78242437336b36d927daa6..262006de9f26e338c4e43cde448740d5bb8b28be 100644 (file)
@@ -1,4 +1,4 @@
-/* pthread_key internal declatations for the Hurd version.
+/* pthread_key internal declarations for the Hurd version.
    Copyright (C) 2002-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 882b195986643abd2929a23d4b85f7adc5ce01ef..6041ce91a1fd5d0d0217ba34a1baee09d0954724 100644 (file)
@@ -92,7 +92,7 @@ __pthread_rwlock_timedrdlock_internal (struct __pthread_rwlock *rwlock,
     drain = err ? 1 : 0;
   else
     {
-      /* We're still in the queue.  Noone attempted to wake us up, i.e. we
+      /* We're still in the queue.  No one attempted to wake us up, i.e. we
          timed out.  */
       __pthread_dequeue (self);
       drain = 0;
index a2c969fef83bfb299377edb65f325c86c27037a3..6eb66aa5a833686421cd24b254bbab7aa7ed5a35 100644 (file)
@@ -78,7 +78,7 @@ __pthread_rwlock_timedwrlock_internal (struct __pthread_rwlock *rwlock,
     drain = err ? 1 : 0;
   else
     {
-      /* We're still in the queue.  Noone attempted to wake us up, i.e. we
+      /* We're still in the queue.  No one attempted to wake us up, i.e. we
          timed out.  */
       __pthread_dequeue (self);
       drain = 0;
index 5564c27dcf8690b5ffe326dd4258864db4fe239f..7b5465dab51ab67d859979cd0634e3639b24fd95 100644 (file)
@@ -89,7 +89,7 @@ __pthread_rwlock_unlock (pthread_rwlock_t *rwlock)
     }
 
 
-  /* Noone is waiting.  Just unlock it.  */
+  /* No one is waiting.  Just unlock it.  */
 
   __pthread_spin_unlock (&rwlock->__held);
   __pthread_spin_unlock (&rwlock->__lock);
index 6de08f19dbab2dd4a9b8346f7b842397bdf60b19..cc9e7bf94d995ad46168e094b61f937156f476b6 100644 (file)
@@ -623,7 +623,7 @@ extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *__restrict
                                          int *__restrict __pshared)
        __THROW __nonnull ((1, 2));
 
-/* Set the value of the process shared atrribute in *ATTR to
+/* Set the value of the process shared attribute in *ATTR to
    PSHARED.  */
 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
                                          int __pshared)
@@ -645,7 +645,7 @@ extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
 # include <bits/types/struct___pthread_rwlock.h>
 
 # define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
-/* Create a rwlock object with attributes given by ATTR and strore the
+/* Create a rwlock object with attributes given by ATTR and store the
    result in *RWLOCK.  */
 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
                                const pthread_rwlockattr_t *__restrict __attr)
@@ -709,7 +709,7 @@ extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
 
 \f
 
-/* Cancelation.  */
+/* Cancellation.  */
 
 /* Register a cleanup handler.  */
 extern void pthread_cleanup_push (void (*__routine) (void *), void *__arg);
@@ -769,7 +769,7 @@ extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t *__restri
                                           int *__restrict __pshared)
        __THROW __nonnull ((1, 2));
 
-/* Set the value of the process shared atrribute in *ATTR to
+/* Set the value of the process shared attribute in *ATTR to
    PSHARED.  */
 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
                                           int __pshared)
@@ -878,12 +878,12 @@ extern int pthread_getcpuclockid (pthread_t __thr, __clockid_t *__clock)
 
 /* Scheduling.  */
 
-/* Return thread THREAD's scheduling paramters.  */
+/* Return thread THREAD's scheduling parameters.  */
 extern int pthread_getschedparam (pthread_t __thr, int *__restrict __policy,
                                  struct sched_param *__restrict __param)
        __THROW __nonnull ((2, 3));
 
-/* Set thread THREAD's scheduling paramters.  */
+/* Set thread THREAD's scheduling parameters.  */
 extern int pthread_setschedparam (pthread_t __thr, int __policy,
                                  const struct sched_param *__param)
        __THROW __nonnull ((3));
index bfd4eabf43fec8a62b88529ef50e1673da63a5a1..bae0708f95d3695c14d350a390c200e0f783ebb3 100644 (file)
@@ -46,7 +46,7 @@ struct timer_node __timer_array[TIMER_MAX];
 /* Global lock to protect operation on the lists.  */
 pthread_mutex_t __timer_mutex = PTHREAD_MUTEX_INITIALIZER;
 
-/* Variable to protext initialization.  */
+/* Variable to protect initialization.  */
 pthread_once_t __timer_init_once_control = PTHREAD_ONCE_INIT;
 
 /* Nonzero if initialization of timer implementation failed.  */
index 77f1054fb5dbb89cfedc26c540667f741bc9ba26..749061751ec8ac85ffa5a9fa933546fe54a8c26b 100644 (file)
@@ -39,7 +39,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the saved exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept ((int) temp);
index f8e0c29a9bad7c82cd94c6fb9a361e6f5759d516..67d8d14e3220f048c7077b677c468538bddc5b68 100644 (file)
@@ -1,4 +1,4 @@
-/* Compute hash alue for given string according to ELF standard.
+/* Compute hash value for given string according to ELF standard.
    Copyright (C) 1998-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 51221331acef0dce798426bc48c2c5b17867797f..e784e2117693d035ffb6017fec4f11442e826670 100644 (file)
@@ -72,7 +72,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
        .section .text.sse4.2,"ax",@progbits
index 7677da6f97f74fbdfabe5baeda99e7e981f5e475..3e4dc1ee3dff5c4c767af54386c1a2b2c5f858e7 100644 (file)
@@ -44,7 +44,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
        atom_text_section
index 644ed4ea71c1ecdcdb79344379fc6418c4cb2b18..f14e54c975c3158ca927f424eabbd4a2a77a87a9 100644 (file)
@@ -67,7 +67,7 @@
        movl    - 4 byte
        movlpd  - 8 byte
        movaps  - 16 byte - requires 16 byte alignment
-       of      sourse and destination adresses.
+                 of source and destination addresses.
 */
 
 .text
index 3966444bef1d569cbb29032e2c5b0eabc75a0b9f..33d3c60188f09e2f20c3b4a18b2602fdb9d5fdf0 100644 (file)
@@ -1,4 +1,4 @@
-/* strcspn (str, ss) -- Return the length of the initial segement of STR
+/* strcspn (str, ss) -- Return the length of the initial segment of STR
                        which contains no characters from SS.
    For Intel 80x86, x>=3.
    Copyright (C) 1994-2023 Free Software Foundation, Inc.
index 0398850be30fcda8d67401393665a91133124a9e..54b33c8c02c4f64793122c8b6623a5b305daab1f 100644 (file)
@@ -370,7 +370,7 @@ ENTRY(_dl_runtime_profile)
        { .mmi
          and r15 = -16, r15
          ;;
-         /* We don't copy the 16byte scatch area. Prepare r16/r17 as
+         /* We don't copy the 16byte scratch area. Prepare r16/r17 as
             destination.  */
          sub r16 = r12, r15
          sub r17 = r12, r15
@@ -390,7 +390,7 @@ ENTRY(_dl_runtime_profile)
          ;;
        }
        { .mii
-         /* Skip the 16byte scatch area. Prepare r2/r3 as source.  */
+         /* Skip the 16byte scratch area. Prepare r2/r3 as source.  */
          adds r2 = 16, loc10
          adds r3 = 24, loc10
          mov ar.lc = r15
index 641c3fd35a97550fa88588b5ca9e5fef56ad2f3f..b10fd2195cb132451cbe3e9188b933ed4aaa1d68 100644 (file)
@@ -50,7 +50,7 @@
 //=========================================
 // The acos function computes the principal value of the arc cosine of x.
 // acos(0) returns Pi/2, acos(1) returns 0, acos(-1) returns Pi.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 //
 // The acos function returns the arc cosine in the range [0, Pi] radians.
 //
 //    Return acos(1.0) = 0.0, acos(-1.0) = Pi
 //
 // 5. 1.0 < |x| <= +INF
-//    A doman error occurs for arguments not in the range [-1,+1]
+//    A domain error occurs for arguments not in the range [-1,+1]
 //
 // 6. x = [S,Q]NaN
 //    Return acos(x) = QNaN
index 1507b46c81e1bf6384db511baed77173136d81db..7b32ffabc6c3171791efdd0088c06f870b701b4d 100644 (file)
@@ -56,7 +56,7 @@
 // Description
 //=========================================
 // The acosf function computes the principle value of the arc sine of x.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 
 // The acosf function returns the arc cosine in the range [0, +pi] radians.
 // acos(1) returns +0
index a9ff25afbfb784b6dfd5d4923d359ee2fb698a89..29db6ab33117e430848ec97a378505ca36b4d6c6 100644 (file)
@@ -50,7 +50,7 @@
 //=========================================
 // The asin function computes the principal value of the arc sine of x.
 // asin(0) returns 0, asin(1) returns pi/2, asin(-1) returns -pi/2.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 //
 // The asin function returns the arc sine in the range [-pi/2, +pi/2] radians.
 //
@@ -98,7 +98,7 @@
 //    Return asin(x) = sign(x)*Pi/2
 //
 // 5. 1.0 < |x| <= +INF
-//    A doman error occurs for arguments not in the range [-1,+1]
+//    A domain error occurs for arguments not in the range [-1,+1]
 //
 // 6. x = [S,Q]NaN
 //    Return asin(x) = QNaN
index 841f815293e22ad5aa4ff13bca3a5b434105c8d0..546de3b9e6bd029f0221b2705e04c176db0e537f 100644 (file)
 // Description
 //=========================================
 // The asinf function computes the arc sine of x in the range [-pi,+pi].
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 // asinf(+-0) returns +-0
 // asinf(x) returns a Nan and raises the invalid exception for |x| >1
 
 // The acosf function returns the arc cosine in the range [0, +pi] radians.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 // acosf(1) returns +0
 // acosf(x) returns a Nan and raises the invalid exception for |x| >1
 
index 61c8e2c6a82d9b785a9f35536bf00add2694b391..0275c7baecbad0764680da918f31df7905463d2d 100644 (file)
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction.
 //
index 7330b305c200d53fb4e1a3dce04b18e3a9814bd5..f317c567daeb939ab8df10f2d46fb2c01bbd704c 100644 (file)
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction can be used.
 //
 //         0xFFFEFF00000000000000 and 0xFFFF8080000000000000 correspondingly.
 //         As far as biased exponent of x here can be equal only to 0xFFFE or
 //         0xFFFF we need to test only last bit of it. Also signifigand always
-//         has implicit bit set to 1 that can be exluded from comparison.
+//         has implicit bit set to 1 that can be excluded from comparison.
 //         Thus it's quite enough to generate 64-bit integer bits of that are
 //         ix[63] = biased_exponent_of_x[0] and ix[62-0] = significand_of_x[62-0]
 //         and compare it with 0x7F00000000000000 and 0x80800000000000000 (those
index 7157b28838db16099138823b60b8225cd444a24f..3d87d6172d901b0b8b718de8c1634584b542833e 100644 (file)
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as two doubles, T and t, where T +t is the value itself.
+// We tabulate as two doubles, T and t, where T +t is the value itself.
 //
 //      Log(x)   = (K Log(2)_hi + T) + (Log(2)_hi + t) + Log( 1 + (Bx-1))
 //      Log(x)   =  G + delta           + Log( 1 + (Bx-1))
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
@@ -991,7 +991,7 @@ POW_COMMON:
 }
 ;;
 
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfi
           alloc         r32=ar.pfs,2,19,4,0
           fms.s1        POW_r           = POW_B, POW_NORM_X,f1
index 0e8aad192b951914070655fb7f0303b3a12a8c70..e353b08658d22cb9be5fe0af1be7bb8883e22caf 100644 (file)
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as one double, T for single precision power
+// We tabulate as one double, T for single precision power
 //
 //      Log(x)   = (K Log(2)_hi + T) + (K Log(2)_lo) + Log( 1 + (Bx-1))
 //      Log(x)   =  G                +     delta     + Log( 1 + (Bx-1))
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
@@ -927,7 +927,7 @@ WEAK_LIBM_ENTRY(powf)
           fclass.m  p14,p0              = f8, 0x07
           nop.i 999
 }
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfb
           nop.m 999
 (p8)      fnma.s1        POW_Xm1        = POW_Xp1,f1,f0
index 7697cc69ed0601edd52c9a9ff3e7c7c7cd441b6c..1a1a68a9c420896bfe1abc2e7cea752d3cb1dee1 100644 (file)
 //   precision number.
 //
 //
-// Claculation of logarithm
+// Calculation of logarithm
 // ------------------------
 //   Consider  x = 2^N * xf so
 //   ln(x) = ln(frcpa(x)*x/frcpa(x))
index d82e4fcaf996fee06f93fc34af31ba79e271d01e..aab45690ed6cca7adfef05ce2b22e3d3a75522fa 100644 (file)
 //    EDP_Root is the exact value of the corresponding root rounded to double
 //    extended precision. So, we have 35 different polynomials which make our
 //    table rather big. We may hope that x falls in root "neighbourhood"
-//    quite rarely -> ther might be no need in frequent use of different
+//    quite rarely -> there might be no need in frequent use of different
 //    polynomials.
 //    A0, A1, A2, A3 are represented as pairs of double precision numbers,
 //    A4, A5 are long doubles, and to decrease the size of the table we
@@ -2423,7 +2423,7 @@ _deno_back_to_main_path:
       adds               rPolDataPtr = 3440, rTbl3Addr
 }
 { .mfi
-      // (i*16)*4 + (i*16)*8 - offsett of polynomial on range [-6.0, -0.75]
+      // (i*16)*4 + (i*16)*8 - offset of polynomial on range [-6.0, -0.75]
       shladd             rTmpPtr = rIndexPol, 2, rIndexPol
       fma.s1             fXSqr = FR_FracX, FR_FracX, f0 // y^2
       // point to left "near root" bound
@@ -2433,7 +2433,7 @@ _deno_back_to_main_path:
 { .mfi
       ldfpd              fLnSin34, fLnSin36 = [rTmpPtr3], 16
       fma.s1             fRcpX = fInvX, fRcpX, fRcpX // end of 2nd NR iteration
-      // add special offsett if -4 < x <= -3.0
+      // add special offset if -4 < x <= -3.0
 (p6)  adds               rPolDataPtr = 640, rPolDataPtr
 }
 { .mfi
@@ -2448,7 +2448,7 @@ _deno_back_to_main_path:
       // left bound of "near root" range
 (p12) ld8                rLeftBound = [rRootsBndAddr]
       fmerge.se          fNormDx = f1, fDx // significand of DeltaX
-      // base address + offsett for polynomial coeff. on range [-6.0, -0.75]
+      // base address + offset for polynomial coeff. on range [-6.0, -0.75]
       add                rPolDataPtr = rPolDataPtr, rTmpPtr
 }
 { .mfi
@@ -4565,7 +4565,7 @@ _negRoots:
       nop.i              0
 }
 { .mfi
-      add                rPolDataPtr = rPolDataPtr, rTmpPtr // begin + offsett
+      add                rPolDataPtr = rPolDataPtr, rTmpPtr // begin + offset
       nop.f              0
       nop.i              0
 }
index fd7d06d2634220407b84944fcdda7bd07f97a135..01f16e423c290f3c970ce954c8785fe13f80b8ee 100644 (file)
 // ==============
 //
 // This describes the algorithm in the most natural way using
-// unsigned interger multiplication. The implementation section
+// unsigned integer multiplication. The implementation section
 // describes how the integer arithmetic is simulated.
 //
 // STEP 0. Initialization
 //
 //      P_1    =      b   b    b     ...    b
 //
-// each b can be 0 or 1. Also, let P_0 be the two bits correspoding to
+// each b can be 0 or 1. Also, let P_0 be the two bits corresponding to
 // bit positions L+2 and L+1. So, when each of the P_j is interpreted
 // with appropriate scaling, we have
 //
index 031bf083da63a11c862e7ad8136e71e8a9e7af4b..5835ea2d7b597364dea17501a98cb0ca70809c57 100644 (file)
@@ -1174,7 +1174,7 @@ SINCOS_CONTINUE:
 { .mfi
       nop.m 999
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 (p6)   fcmp.lt.unc.s1 p8, p9 = FR_r, FR_Two_to_M3
index 1eec445ed6895c6bed2427719456189c70f209f5..a5f0ad5d14815ac42cf8f58b4343f23e0f2d7af8 100644 (file)
@@ -1112,7 +1112,7 @@ SINCOSL_COMMON2:
 };;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
index f5052dd508997272c1c07523b6a2a4cb2869d720..559cdb6607050e55ea370609bc3bf66c998eeb79 100644 (file)
@@ -1083,7 +1083,7 @@ SINCOSL_COMMON:
 ;;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
index 09d7c2aef1e2e68688eb80aaba722589202978db..2d3cdc18491e78c9b379b95a218802e95825dcb4 100644 (file)
@@ -1547,7 +1547,7 @@ GLOBAL_LIBM_ENTRY(erfcl)
 { .mfi
       ldfe           FR_A12 = [GR_P_POINT_1], -64
       nop.f          0
-      extr           GR_K = GR_N_fix, 12, 32         // Extract limite range K
+      extr           GR_K = GR_N_fix, 12, 32         // Extract limit range K
 }
 { .mfi
       ldfe           FR_A13 = [GR_P_POINT_2], -64
index 79935fb55f7c74eee9502e13e90171c47beb529e..1d9b3b82b3359e6b36a3980e391c9a6a1367de81 100644 (file)
@@ -156,7 +156,7 @@ GLOBAL_LIBM_ENTRY(modf)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
index 3bdcf26e5f08cd3f60ce7342f1b06642024ec019..9eb3f74c46b97ec2fec68aa03a1c737acdbb4eeb 100644 (file)
@@ -156,7 +156,7 @@ GLOBAL_LIBM_ENTRY(modff)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
index 5fdfdb6447ea88759b2f75889fda5ed3779ee562..23057c841aca7dde555eef88eec7af5522d9aed9 100644 (file)
@@ -151,7 +151,7 @@ GLOBAL_LIBM_ENTRY(modfl)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
index 5a05c91552b1234bdb9bd69b4ee5fcf19936b368..9c657c87b7a41a3f8a96515cfee6f0ff1046d8ec 100644 (file)
@@ -98,7 +98,7 @@
 //
 //    This branch is cut off by one fclass operation.
 //    Then zeros+nans, infinities and denormals processed separately.
-//    For denormals we use simple fma operaton x+x*x (- for +denorms)
+//    For denormals we use simple fma operation x+x*x (- for +denorms)
 //
 // 2. [0;1/8] path: 0.0 < |x| < 1/8
 //
index 8440a0c7b3863c0045fefbf974914ad12449e632..0afda2b0a0a2d3607f283a01311ec8123e403e4e 100644 (file)
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/(x*GAMMA(x)*S21(r)) we use frcpa instruction
-//    with following Newton-Raphson interations.
+//    with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
@@ -331,7 +331,7 @@ RODATA
 
 LOCAL_OBJECT_START(tgamma_data)
 data8 0x406573FAE561F648 // overflow boundary (171.624376956302739927196)
-data8 0x3FDD8B618D5AF8FE // point of local minium (0.461632144968362356785)
+data8 0x3FDD8B618D5AF8FE // point of local minimum (0.461632144968362356785)
 //
 //[2; 3]
 data8 0xEF0E85C9AE40ABE2,0x00004000 // C01
index 67eed2722feebfe6a7e7aa83d4801d0c542722ef..c1f7ad596f30914b3eaf29603dfd6097df864797 100644 (file)
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/x and 1/(GAMMA(x)*S12(rs)) we use frcpa
-//    instruction with following Newton-Raphson interations.
+//    instruction with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
index 7cdc9386c8f978e72ab5cd416d9ce0e26301c603..393058c4ada5d2552354cb0865c3c4ad0c019232 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
        in0:    str
index 27d5cacea8287ce55aad06ab5951667d4816897c..13b04dc7254432f552a6adf15bbbb5bf3d6698de 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
         in0:    str
index 8f0bf385a3eddf02e7a5e6e8fd930347c4c99ea9..7fb96e7fa8cf83853c9a033882584f32321d342d 100644 (file)
@@ -139,5 +139,5 @@ __branred(double x, double *a, double *aa)
  t=(b-s)+bb;
  *a=s;
  *aa=t;
- return ((int) sum)&3; /* return quater of unit circle */
+ return ((int) sum)&3; /* return quarter of unit circle */
 }
index 5ef289e8e80b9a4319b3684686342341083c3238..72c68b66828a8ab3d22462f286c8c7bf9077ea94 100644 (file)
@@ -24,7 +24,7 @@
  *                         = log(6.3*5.3) + lgamma(5.3)
  *                         = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3)
  *   2. Polynomial approximation of lgamma around its
- *     minimun ymin=1.461632144968362245 to maintain monotonicity.
+ *     minimum ymin=1.461632144968362245 to maintain monotonicity.
  *     On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use
  *             Let z = x-ymin;
  *             lgamma(x) = -1.214862905358496078218 + z^2*poly(z)
index 83eb82190bb8ecb8be293073e2194be8e35c322e..a02e661183f14eed3b2dcf05bf173381590d9c1d 100644 (file)
@@ -78,7 +78,7 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
 
   /* The high double may be rounded and the low double reflects the
      difference between the long double and the rounded high double
-     value.  This is indicated by a differnce between the signs of the
+     value.  This is indicated by a difference between the signs of the
      high and low doubles.  */
   if (u.d[0].ieee.negative != u.d[1].ieee.negative
       && lo != 0)
index c6f0e77057b0e36ffd7c43ab257dfdaa0123ac72..148c21bb8d1ec0d78dc6b866a420a03af880d262 100644 (file)
@@ -44,7 +44,7 @@
  *                         = log(6.3*5.3) + lgamma(5.3)
  *                         = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3)
  *   2. Polynomial approximation of lgamma around its
- *     minimun ymin=1.461632144968362245 to maintain monotonicity.
+ *     minimum ymin=1.461632144968362245 to maintain monotonicity.
  *     On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use
  *             Let z = x-ymin;
  *             lgamma(x) = -1.214862905358496078218 + z^2*poly(z)
index eaee4a9f76a6c4f2b7947291b9b9212f34e669c5..c45f6b815ed2b716d6134035c7fea64c35e4f924 100644 (file)
@@ -9,7 +9,7 @@ dnl Test if the toolchain is new enough for static PIE.
 dnl We need a GAS supporting explicit reloc (older GAS produces stack-based
 dnl reloc and triggers an internal error in the linker).  And, we need GCC to
 dnl pass the correct linker flags for static PIE.  GCC >= 13 and GAS >= 2.40
-dnl satisify the requirement, but a distro may backport static PIE support into
+dnl satisfy the requirement, but a distro may backport static PIE support into
 dnl earlier GCC or Binutils releases as well.
 AC_CACHE_CHECK([if the toolchain is sufficient to build static PIE on LoongArch],
 libc_cv_static_pie_on_loongarch, [
index 63e6f8d65b5a0b93ace500220f4f33758c8b40a8..d5cdfb5a090210ff8464203f4ef19db8a4b91337 100644 (file)
@@ -31,7 +31,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept (temp);
index 4a399900bcb948ade8c1267df2df5e6c60af152e..ffa3401b9e9e16de5741fcc308d693183a04575a 100644 (file)
@@ -30,7 +30,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the saved exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept ((int) fpsr);
index b0e42a7f76ba9ccacd546769d4eec23e21a27b1c..a4920a0187f1aec03921fdc213013cc471310f96 100644 (file)
@@ -29,7 +29,7 @@
   assert (local.ptr__Unwind_GetGR != NULL);                   \
   PTR_MANGLE (local.ptr__Unwind_GetGR);
 
-/* This is overriden by the m680x0 variant.  */
+/* This is overridden by the m680x0 variant.  */
 #define UNWIND_LINK_FRAME_STATE_FOR 0
 
 #endif /* _ARCH_UNWIND_LINK_H */
index 29993a8ca8c86a6bfe2e9b344bcaaca2816359af..c73e4952f5691a90bd8049791b0d59ab9ca78b35 100644 (file)
@@ -61,7 +61,7 @@ create_wakeupmsg (struct __pthread *thread)
   return 0;
 }
 
-/* Allocate any resouces for THREAD.  The new kernel thread should not
+/* Allocate any resources for THREAD.  The new kernel thread should not
    be eligible to be scheduled.  */
 int
 __pthread_thread_alloc (struct __pthread *thread)
index b585d57b78547800a66bb7875a6211938c4dac32..5bc682a397f1904fa9ed83c0951f79e2d4f0436a 100644 (file)
@@ -93,7 +93,7 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \
                              $(mach-errnos-deps) $(common-objpfx)errnos.d
        mkdir -p $(hurd-objpfx)bits
        $(AWK) -f $^ > $(hurd-objpfx)bits/errno.h-tmp
-# Make it unwritable so noone will edit it by mistake.
+# Make it unwritable so no one will edit it by mistake.
        -chmod a-w $(hurd-objpfx)bits/errno.h-tmp
        $(move-if-change) $(hurd-objpfx)bits/errno.h-tmp $(hurd)/bits/errno.h
        touch $@
index 0a392e4c69f621337e0f0c31c9a5ab6e10a8ddb2..b5bc971d0849325669746f0faa0a969eb295785c 100644 (file)
 /* We support user-defined stacks.  */
 #define _POSIX_THREAD_ATTR_STACKADDR   200809L
 
-/* We do not support priority inheritence.  */
+/* We do not support priority inheritance.  */
 #define _POSIX_THREAD_PRIO_INHERIT             -1
 
 /* We do not support priority protection.  */
 #define _POSIX_THREAD_PRIO_PROTECT             -1
 
 #ifdef __USE_XOPEN2K8
-/* We do not support priority inheritence for robust mutexes.  */
+/* We do not support priority inheritance for robust mutexes.  */
 # define _POSIX_THREAD_ROBUST_PRIO_INHERIT     -1
 
 /* We do not support priority protection for robust mutexes.  */
index e0a66ce825123be8f931f01464e8fec5229632a1..823ce696b03bbc58100b5df34f7437c301717e20 100644 (file)
@@ -20,7 +20,7 @@
 /* rtld can not access TLS too early, thus rtld_errno.
 
    Instead of making __open/__close pass errno from TLS to rtld_errno, simply
-   use a weak __errno_location using rtld_errno, which will be overriden by the
+   use a weak __errno_location using rtld_errno, which will be overridden by the
    libc definition.  */
 static int rtld_errno;
 int * weak_function
index 11caa8704bce05f221945324b305242d605eb78c..8f859795fd551a5b666ab144945a77982aaad4be 100644 (file)
@@ -41,7 +41,7 @@ struct __pthread_mutex
 #define __PTHREAD_MUTEX_INITIALIZER   \
   { 0, 0, 0, 0, __PTHREAD_MUTEX_TIMED, 0, { { 0, 0 } } }
 
-/* The +1 is to mantain binary compatibility with the old
+/* The +1 is to maintain binary compatibility with the old
  * libpthread implementation. */
 #define __PTHREAD_ERRORCHECK_MUTEX_INITIALIZER   \
   { 0, 0, 0, 0, __PTHREAD_MUTEX_ERRORCHECK + 1, 0, { { 0, 0 } } }
index f1f1bb47db9800b61739e2e24a6e37956c34db17..17fa46c15c74fd447be12f1ea2977a896bbcb7ec 100644 (file)
@@ -143,7 +143,7 @@ __pthread_hurd_cond_timedwait_internal (pthread_cond_t *cond,
        drain = err ? 1 : 0;
       else
        {
-         /* We're still in the list of waiters.  Noone attempted to wake us
+         /* We're still in the list of waiters.  No one attempted to wake us
             up, i.e. we timed out.  */
          __pthread_dequeue (self);
          drain = 0;
index c01e4d81e469fc664086afdff1c177335a7e1d79..89b124db9f4df9f3738fde05efa495af17dc47e1 100644 (file)
@@ -9,7 +9,7 @@ libc.so: malloc + REL R_386_GLOB_DAT
 libc.so: realloc + REL R_386_GLOB_DAT
 libm.so: matherr + REL R_386_GLOB_DAT
 # The dynamic linker has its own versions of basic functions for initial loading
-# of shared libraries.  These need to be overriden by libc once loaded.
+# of shared libraries.  These need to be overridden by libc once loaded.
 ld.so: __open ?
 ld.so: __open64 ?
 ld.so: __open_nocancel
index 06234f536b84424577abccf8a6463363476eb09a..10edaa8d8a8f9cf878bef77b78634ea6b5fd5284 100644 (file)
@@ -49,7 +49,7 @@ __ptsname_internal (int fd, char *buf, size_t buflen, struct stat64 *stp)
   int ttype;
 
   if (HURD_DPORT_USE (fd, __term_get_bottom_type (port, &ttype)) == 0)
-    /* get_bottom_type suceeded, this is the slave side.  */
+    /* get_bottom_type succeeded, this is the slave side.  */
     return __hurd_fail (ENOTTY), ENOTTY;
 
   if (err = HURD_DPORT_USE (fd, __term_get_peername (port, peername)))
index 6f2c927ab6ec542613726ba33f1afc525861836f..c9812afd9141140626fb3a7b02dde4ceb4e14752 100644 (file)
@@ -24,7 +24,7 @@
 #include <sysdep-cancel.h>
 
 /* Read N bytes into BUF through socket FD.
-   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
+   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of
    the sender, and store the actual size of the address in *ADDR_LEN.
    Returns the number of bytes read or -1 for errors.  */
 ssize_t
index 03191b91fc4c0b4e4dccb136c685fe469d0fc1e4..7c150a503507d25f048cc4962329389388613ae1 100644 (file)
@@ -85,7 +85,7 @@ timer_thread (void)
          error_t return_code;
        } msg;
 
-      /* Wait for a message on a port that noone sends to.  The purpose is
+      /* Wait for a message on a port that no one sends to.  The purpose is
         the receive timeout.  Notice interrupts so that if we are
         thread_abort'd, we will loop around and fetch new values from
         _hurd_itimerval.  */
index 99f42efab6288b7bc1d02b9d4a8d555d4468e1b1..c40254d387e9623befd9f822716d7693186a32fe 100644 (file)
@@ -53,7 +53,7 @@
 #endif
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 #define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   (abort (), 0)
index b2ebe30d1dc054927f01d03ec14c31d735e5f4ea..f0cb05c43c62455477996031face5a9945b84e9a 100644 (file)
@@ -46,7 +46,7 @@ typedef struct La_mips_32_retval
 typedef struct La_mips_64_regs
 {
   uint64_t lr_reg[8]; /* $a0 through $a7 */
-  double lr_fpreg[8]; /* $f12 throgh $f19 */
+  double lr_fpreg[8]; /* $f12 through $f19 */
   uint64_t lr_ra;
   uint64_t lr_sp;
 } La_mips_64_regs;
index 03537235d79f47c79311c6deb692d00c803eb7ee..59f86ac1b39f448ea6bf9f78eb0af1fdd6da1545 100644 (file)
@@ -31,7 +31,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept (temp);
index b1e1c3dc94320e95a8e31a36030d0c70404c0e12..91a7bf0a68a559a752a7e848506cb331f9034bd7 100644 (file)
@@ -88,7 +88,7 @@
 
 /*
  * Using PREFETCH_HINT_LOAD_STREAMED instead of PREFETCH_LOAD on load
- * prefetches appears to offer a slight preformance advantage.
+ * prefetches appear to offer a slight performance advantage.
  *
  * Using PREFETCH_HINT_PREPAREFORSTORE instead of PREFETCH_STORE
  * or PREFETCH_STORE_STREAMED offers a large performance advantage
@@ -317,7 +317,7 @@ L(memcpy):
 
        andi    a3,a3,(NSIZE-1)         /* copy a3 bytes to align a0/a1   */
        beq     a3,zero,L(aligned)      /* if a3=0, it is already aligned */
-       PTR_SUBU a2,a2,a3               /* a2 is the remining bytes count */
+       PTR_SUBU a2,a2,a3               /* a2 is the remaining bytes count */
 
        C_LDHI  t8,0(a1)
        PTR_ADDU a1,a1,a3
@@ -626,7 +626,7 @@ L(wcopy_loop):
 L(unaligned):
        andi    a3,a3,(NSIZE-1) /* copy a3 bytes to align a0/a1 */
        beqz    a3,L(ua_chk16w) /* if a3=0, it is already aligned */
-       PTR_SUBU a2,a2,a3       /* a2 is the remining bytes count */
+       PTR_SUBU a2,a2,a3       /* a2 is the remaining bytes count */
 
        C_LDHI  v1,UNIT(0)(a1)
        C_LDLO  v1,UNITM1(1)(a1)
index 0430dca427dc414bc32db2006bf726133c241007..450f9014ec3953a24ba941934321b05d7c5e4f08 100644 (file)
@@ -294,7 +294,7 @@ L(lb1):
 
 L(aligned):
 /* If USE_DOUBLE is not set we may still want to align the data on a 16
-   byte boundry instead of an 8 byte boundry to maximize the opportunity
+   byte boundary instead of an 8 byte boundary to maximize the opportunity
    of proAptiv chips to do memory bonding (combining two sequential 4
    byte stores into one 8 byte store).  We know there are at least 4 bytes
    left to store or we would have jumped to L(lastb) earlier in the code.  */
index c08991c20d4dceeeab0ccc242fddb056d3dbf9a5..35ef4403f8cee09ab2ac200c6894c672a1062aae 100644 (file)
@@ -60,7 +60,7 @@
                ...
                                        NULL
    ra ($31)    The return address register is set to zero so that programs
-               that search backword through stack frames recognize the last
+               that search backward through stack frames recognize the last
                stack frame.
 */
 
index d250770586f67386cd41c3f6a3f070d0ddbab6a6..f3a11391a029f1c71fa1d48ac7d1ba5faba06b2e 100644 (file)
@@ -198,7 +198,7 @@ symbol              =       value
                TEXT(msg)
 
 /*
- * Print formated string
+ * Print formatted string
  */
 #define PRINT(string)                                   \
                .set    push;                           \
index 6908378e3a2d382149e9faf668ad8d7dc0fd5b7d..ccd136f4db2d91757bdbab6ce0cdafcefef16c73 100644 (file)
@@ -715,7 +715,7 @@ unload_object (enum fp_obj obj)
   return true;
 }
 
-/* Load every permuation of OBJECTS.  */
+/* Load every permutation of OBJECTS.  */
 static bool
 test_permutations (enum fp_obj objects[], int count)
 {
index 94277d0a86a6a071d3f5e334200378d94b3c5c8b..b9de815ac6afaaa15e323897c108ebb2b7833785 100644 (file)
@@ -52,7 +52,7 @@ unwind_arch_adjustment (void *prev, void *addr)
   if ((uintptr_t) pc & 0x3)
     return addr;
 
-  /* The vDSO containes either
+  /* The vDSO contains either
 
      24021061 li v0, 0x1061 (rt_sigreturn)
      0000000c syscall
index 50c83df1cb831e537c384832361750201d5c13c3..f151d292423769b6b7f60d1db7f356b2cdee5591 100644 (file)
@@ -137,7 +137,7 @@ _start:\n\
         ldw r2, %got(_dl_argc)(r22)\n\
        ldw r5, 0(r2)\n\
 \n\
-        /* Load adjsuted argv.  */\n\
+        /* Load adjusted argv.  */\n\
         ldw r2, %got(_dl_argv)(r22)\n\
        ldw r6, 0(r2)\n\
 \n\
index 9179c330f7e5667900b7280a4a2a3a2750bd768c..fe2d69d3c938d4cc0ab90e5443e5b9ee7680b748 100644 (file)
@@ -46,8 +46,8 @@
            Unspecified                 High Addresses
            Referenced strings, etc.                    Varies
            Unspecified
-           Null auxilliary vector entry                4bytes
-           Auxilliary vector entries                   8bytes each
+           Null auxiliary vector entry         4bytes
+           Auxiliary vector entries                    8bytes each
            NULL terminator for envp                    4bytes
            Environment pointers        sp+8+4*argc     4bytes each
            NULL terminator for argv    sp+4+4*argc     4bytes
@@ -61,7 +61,7 @@
        The contents of all other registers are unspecified. User code should
        set fp to zero to mark the end of the frame chain.
 
-       The auxilliary vector is a series of pairs of 32-bit tag and 32-bit
+       The auxiliary vector is a series of pairs of 32-bit tag and 32-bit
        value, terminated by an AT_NULL tag.
 */
 
index 50dc778852ae6dd6f95deea55100a49b10ff7f6c..2ed98c5a31e54f43945fed805e01022924f04a26 100644 (file)
@@ -115,7 +115,7 @@ __tls_init_tp (void)
     /* This should be a compile-time constant, but the current
        infrastructure makes it difficult to determine its value.  Not
        all targets support __thread_pointer, so set __rseq_offset only
-       if thre rseq registration may have happened because RSEQ_SIG is
+       if the rseq registration may have happened because RSEQ_SIG is
        defined.  */
     extern ptrdiff_t offset __asm__ ("__rseq_offset");
     offset = (char *) &pd->rseq_area - (char *) __thread_pointer ();
index 3d0d07ceb2dbf5d19dcdf5cbb0320eb658d71578..7f654835422b4322ffa8470a2f9e55eac07d0681 100644 (file)
@@ -516,7 +516,7 @@ extern int pthread_once (pthread_once_t *__once_control,
    exception in C++ code.  If cancellation is implemented by unwinding
    this is necessary to have the compiler generate the unwind information.  */
 
-/* Set cancelability state of current thread to STATE, returning old
+/* Set cancellability state of current thread to STATE, returning old
    state in *OLDSTATE if OLDSTATE is not NULL.  */
 extern int pthread_setcancelstate (int __state, int *__oldstate);
 
@@ -981,7 +981,7 @@ extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
   __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire read lock for RWLOCK or return after specfied time.  */
+/* Try to acquire read lock for RWLOCK or return after specified time.  */
 #  ifndef __USE_TIME_BITS64
 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
                                       const struct timespec *__restrict
@@ -1028,7 +1028,7 @@ extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
      __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire write lock for RWLOCK or return after specfied time.  */
+/* Try to acquire write lock for RWLOCK or return after specified time.  */
 #  ifndef __USE_TIME_BITS64
 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
                                       const struct timespec *__restrict
index b6707b96e0dc3eb4f37585a9b49ed4ab26abbca2..27dfd7bcdd4f9d8db7014ebd4676e8944aff61de 100644 (file)
@@ -118,7 +118,7 @@ elf_machine_runtime_setup (struct link_map *l, struct r_scope_elem *scope[],
     {
       pltgot = (ElfW(Addr) *) D_PTR (l, l_info[DT_PLTGOT]);
 
-      /* Fill in initial entrys of the plt */
+      /* Fill in initial entries of the plt */
 
       /* Register the link_map address in the plt at pltgot[1].
         This will also be used in the resolver for accessing the
index 6d4f8bdc1fc68fefdf8dc95404ed408007b57ae1..daea7a893db2220d21ac3da661d68c4193f84d4a 100644 (file)
@@ -132,7 +132,7 @@ register tcbhead_t *__thread_self __asm__("r10");
    a struct pthread.  Again, TP points to after tcbhead_t, compensate with
    TLS_INIT_TCB_SIZE.
 
-   I regard this is a seperate system from the "normal" TLS.  */
+   I regard this is a separate system from the "normal" TLS.  */
 
 # define THREAD_SELF \
   ((struct pthread *) ((char *) __thread_self - TLS_INIT_TCB_SIZE \
index 0863a9f9f4cb45399a8425c33ba50662c21b1735..5c0877d0a8952c13a934fcd981fb31d0fdb37330 100644 (file)
@@ -1,4 +1,4 @@
-/* C11 threads conditional wait implementaiton.
+/* C11 threads conditional wait implementation.
    Copyright (C) 2018-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 4ac534ce7a16a361dff5371676926dfad639f644..d87242f008174eda1494ff9a9a2469e196d86539 100644 (file)
@@ -74,7 +74,7 @@ extern struct timer_node __timer_array[TIMER_MAX];
 /* Global lock to protect operation on the lists.  */
 extern pthread_mutex_t __timer_mutex;
 
-/* Variable to protext initialization.  */
+/* Variable to protect initialization.  */
 extern pthread_once_t __timer_init_once_control;
 
 /* Nonzero if initialization of timer implementation failed.  */
index 860d597d96250a25d9f76be2fd869183f4b6550a..d88d7a3ddd96e83559a7b27d012fc7fe04789e9a 100644 (file)
@@ -76,7 +76,7 @@ typedef union
 /* Threads functions.  */
 
 /* Create a new thread executing the function __FUNC.  Arguments for __FUNC
-   are passed through __ARG.  If succesful, __THR is set to new thread
+   are passed through __ARG.  If successful, __THR is set to new thread
    identifier.  */
 extern int thrd_create (thrd_t *__thr, thrd_start_t __func, void *__arg);
 
index 23b9ab2f2be75d41ab47cc2299f2c3e4c34ce401..004f994b2563dd478f4695f07f6041269529e44a 100644 (file)
@@ -75,7 +75,7 @@ do_test (void)
     }
 
   /* A value higher than 0 will check for uncontended pthread cancellation,
-     where the sem_wait operation will return immediatelly.  */
+     where the sem_wait operation will return immediately.  */
   if (sem_init (&sem, 0, 1) != 0)
     {
       puts ("error: sem_init failed");
index b11d465fceed5a0a8d044feffaa27a6c38ceb128..83a4bb247160c8918c10a263b97833e603ddeaa9 100644 (file)
@@ -35,7 +35,7 @@ do_test (void)
       if (sysconf (_SC_THREAD_CPUTIME) >= 0)
 # endif
        {
-         puts ("cpuclock advertized, but cannot get ID");
+         puts ("cpuclock advertised, but cannot get ID");
          exit (1);
        }
     }
index 95662aa7eb262b073728e2fff2d1d6fc7701285f..baf08c0dbc63efeea6776ac870be24d1e5e56e2e 100644 (file)
@@ -124,7 +124,7 @@ do_test (void)
       return 1;
     }
 
-  puts ("get lock outselves");
+  puts ("get lock ourselves");
 
   err = pthread_mutex_lock (&mut);
   if (err != 0)
index 9f16dbfbe1799b3b95d88c6caac73148bad4a5a3..c77f270ad3d0cb1a395393e824b6f5c604b99f4c 100644 (file)
@@ -55,7 +55,7 @@ tf (void *arg)
 {
   pthread_key_t *key = (pthread_key_t *) arg;
 
-  /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+  /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
   if (pthread_setspecific (*key, arg) != 0)
     {
       write_message ("setspecific failed\n");
index 5e8d90a9e311725f91d22e814effa48f7aee580e..6a71d92001c58afab6a84864ea3fffb2a672345e 100644 (file)
@@ -47,7 +47,7 @@ thr_func (void *arg)
         There was a race in FORCE_ELISION macro which leads to either
         pthread_mutex_destroy returning EBUSY as the owner was recorded
         by pthread_mutex_lock - in "normal mutex" code path - but was not
-        resetted in pthread_mutex_unlock - in "elision" code path.
+        reset in pthread_mutex_unlock - in "elision" code path.
         Or it leads to the assertion in nptl/pthread_mutex_lock.c:
         assert (mutex->__data.__owner == 0);
         Please ensure that the test is run with lock elision:
index d171f1d4fada0f04ccdb1a20ad339369c83a94b9..9f12f5f5979cf2d9f1f646328c9b2d6ce39879ff 100644 (file)
@@ -43,7 +43,7 @@ tf (void *arg)
   e = pthread_mutex_trylock (&m);
   if (e == 0)
     {
-      puts ("child: 1st trylock suceeded");
+      puts ("child: 1st trylock succeeded");
       exit (1);
     }
   if (e != EBUSY)
index 9a292d477e59ef31656ae694169b89044aa232a7..1f4569fe8deb7f4e2abb0f742be7a71f54effdce 100644 (file)
    391                                                 r ^ PTHREAD_RWLOCK_WRPHASE))
    392         {
 
-   And then attemps to start the read phase.
+   And then attempts to start the read phase.
 
    Assume there happens to be a tryrdlock at this point, noting
    that PTHREAD_RWLOCK_WRLOCKED is clear, and PTHREAD_RWLOCK_WRPHASE
-   is 1. So the try lock attemps to start the read phase.
+   is 1. So the try lock attempts to start the read phase.
 
    In __pthread_rwlock_tryrdlock:
 
    readers might indeed be waiting, and they are.
 
    The atomic_store_relaxed throws away PTHREAD_RWLOCK_FUTEX_USED,
-   and the waiting reader is never worken becuase as noted
+   and the waiting reader is never worken because as noted
    above it is conditional on the futex being used.
 
    The solution is for the trylock thread to inspect
    If we did not install the write phase then the readers may already
    be waiting on the futex, the original writer wrote 1 to __wrphase_futex
    as part of starting the write phase, and we cannot also write 1
-   without loosing the PTHREAD_RWLOCK_FUTEX_USED bit.
+   without losing the PTHREAD_RWLOCK_FUTEX_USED bit.
 
    ---
 
index 2a15c2864ab2753193013dfbf80a0d89a3dff809..0dd42fd71554b43cfe2aebff6439b0ec3ac4b287 100644 (file)
@@ -21,7 +21,7 @@
    Summary for the pthread_rwlock_trywrlock() stall:
 
    The stall is caused by pthread_rwlock_trywrlock setting
-   __wrphase_futex futex to 1 and loosing the
+   __wrphase_futex futex to 1 and losing the
    PTHREAD_RWLOCK_FUTEX_USED bit.
 
    The fix for bug 23844 ensures that waiters on __wrphase_futex are
index aa1119c307390165b8660acad63c1bdbd9efa3ab..ccecde7d3b99dedd7cd53e816d560fe4ea96b35e 100644 (file)
@@ -39,7 +39,7 @@ tf (void *arg)
   pthread_key_t key = (pthread_key_t) (long int) arg;
   int err;
 
-  /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+  /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
   err = pthread_setspecific (key, &result);
   if (err != 0)
     result = 3;
index aa0a65e49858de24916a647b6e0c8762606e3a4a..c7c601a7f2a0dd91694e27367208e41f9acd9c21 100644 (file)
@@ -96,7 +96,7 @@ ENTRY(MEMCHR_Z13)
        aghi    %r5,16
 
 .Llastcmp:
-       /* Use comparision result only if located within first n characters.
+       /* Use comparison result only if located within first n characters.
           %r5: current_len;
           %r4: n;
           (current_len - n): [0...16[
index b7843f788fec1cb911bf5a4fdca6a05ce84c9e15..fe77e376798a6196f9d15996899189ef6f2f9f27 100644 (file)
@@ -110,7 +110,7 @@ ENTRY(__memcpy_mvcle)
        LGR     %r2,%r1             # destination address
        LGR     %r3,%r5             # destination length = source length
 .L_MVCLE_1:
-       mvcle   %r2,%r4,0           # thats it, MVCLE is your friend
+       mvcle   %r2,%r4,0           # that's it, MVCLE is your friend
        jo      .L_MVCLE_1
        LGR     %r2,%r0             # return destination address
        br      %r14
index 7a90415de5f463ba954389ee677e9f2c3e094c22..964c87257905c83c97ee8ab1a02c1c277495d33f 100644 (file)
@@ -166,7 +166,7 @@ ENTRY(__memset_mvcle)
        lgr     %r3,%r4             # move length to r3
        sgr     %r4,%r4             # no source for MVCLE, only a pad byte
        sgr     %r5,%r5
-.L0:   mvcle   %r2,%r4,0(%r1)      # thats it, MVCLE is your friend
+.L0:   mvcle   %r2,%r4,0(%r1)      # that's it, MVCLE is your friend
        jo      .L0
        lgr     %r2,%r0             # return value is source address
 .L1:
index e90c3224c8d1340b4336c6770c8f7e242b56740c..3b5f5e759ca27f68314b3e639acb5b7941f25e39 100644 (file)
@@ -34,7 +34,7 @@
 # undef from_generic
 # undef to_generic
 
-/* Generate the converion routines with vector instructions. The vector
+/* Generate the conversion routines with vector instructions. The vector
    routines can only be used with charsets where the maximum UCS4 value
    fits in 1 byte size. Then the hardware translate-instruction is used
    to translate between multiple generic characters and "1 byte UCS4"
                             ASM_CLOBBER_VR ("v21") ASM_CLOBBER_VR ("v22") \
                             ASM_CLOBBER_VR ("v23") ASM_CLOBBER_VR ("v24") \
                           );                                           \
-        /* Error occured?  */                                          \
+        /* Error occurred?  */                                         \
         if (loop_count != 0)                                           \
           {                                                            \
             /* Found an invalid character!  */                         \
                            ASM_CLOBBER_VR ("v20") ASM_CLOBBER_VR ("v21") \
                            ASM_CLOBBER_VR ("v22")                      \
                          );                                            \
-       /* Error occured in step 1? An error (ch >= max || ch == 0)     \
-          occured, if remaining_loop_count > 0. The error occured      \
+       /* Error occurred in step 1? An error (ch >= max || ch == 0)    \
+          occurred, if remaining_loop_count > 0. The error occurred    \
           at character-index (index) after already processed blocks.  */ \
        loop_count -= remaining_loop_count;                             \
        if (loop_count > 0)                                             \
                                ASM_CLOBBER_VR ("v16")                  \
                                ASM_CLOBBER_VR ("v17")                  \
                              );                                        \
-           /* Error occured in processed bytes of step 2?              \
-              Thus possible error in step 1 is obselete.*/             \
+           /* Error occurred in processed bytes of step 2?             \
+              Thus possible error in step 1 is obsolete.*/             \
            if (tmp < 16)                                               \
              {                                                         \
                index = tmp;                                            \
                inptr -= loop_count * 64;                               \
              }                                                         \
          }                                                             \
-       /* Error occured in step 1/2?  */                               \
+       /* Error occurred in step 1/2?  */                              \
        if (index < 16)                                                 \
          {                                                             \
            /* Found an invalid character (see step 2) or zero          \
index d9f476f63449494178f7937407aa676120859d1c..2525932ed4ea20c628dfe8aa5914b7a6791cd401 100644 (file)
        /* We include the BSD entry points here as well.  */
 ENTRY (setjmp)
        lhi    %r3,1                /* second argument of one */
-       j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+       j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (setjmp)
 
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
        lhi    %r3,0                /* second argument of zero */
-       j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+       j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (_setjmp)
 #if NEED_COMPAT_SYMBOLS
 strong_alias (_setjmp, __GI__setjmp)
@@ -54,7 +54,7 @@ libc_hidden_def (_setjmp)
 
 ENTRY(__setjmp)
        lhi    %r3,0                /* second argument of zero */
-       j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+       j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (__setjmp)
 
 ENTRY(__sigsetjmp)
index eb84e7ff29139b598c937931eb0d2909df8eef96..23166f62260ac0cd33f121f0d44d13ba4f12e58d 100644 (file)
@@ -80,7 +80,7 @@ _start:
 
        /* Usually the auxiliary vector can be expected directly after
           the environment variables.  But we have to skip extra zeros
-          because the loader might have removed unsecure variables for
+          because the loader might have removed insecure variables for
           setuid programs.  */
 
 .L26:  l       %r5,0(%r6)
index a9533533dec86cb802a92fcd55518c262a9fb6ce..b1df2204f273b41e738869905f977c5e1c9f9f23 100644 (file)
        /* We include the BSD entry points here as well.  */
 ENTRY (setjmp)
        lghi   %r3,1                /* Second argument of one.  */
-       j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+       j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (setjmp)
 
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
        slgr   %r3,%r3              /* Second argument of zero.  */
-       j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+       j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (_setjmp)
 #if NEED_COMPAT_SYMBOLS
 strong_alias (_setjmp, __GI__setjmp)
@@ -54,7 +54,7 @@ libc_hidden_def (_setjmp)
 
 ENTRY(__setjmp)
        slgr   %r3,%r3              /* Second argument of zero.  */
-       j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+       j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (__setjmp)
 
 ENTRY(__sigsetjmp)
index 5d39243ae2e52f1ac9c3ec66bd468fed9354c057..97b725e43f00ad810b1e4c33c8fe5896c5fc0fd5 100644 (file)
@@ -52,7 +52,7 @@ ENTRY(STRNCPY_Z900_G5)
        jz    .L8
        icm   %r0,2,6(%r3)          # seventh byte
        jz    .L9
-       icm   %r0,1,7(%r3)          # eigth byte
+       icm   %r0,1,7(%r3)          # eighth byte
        jz    .L10
        stg   %r0,0(%r2,%r3)        # store all eight to dest.
        la    %r3,8(%r3)
index 02e36dc5bc3c96b045f3c1fdd714517634188630..a11b1956bb798f210e3fa043dc16f3cc5bca235c 100644 (file)
@@ -157,7 +157,7 @@ ENTRY(STPNCPY_Z13)
        lgr     %r0,%r2         /* Save return-pointer to found zero.  */
        clgije  %r4,1,.Lend     /* Skip zero-filling, if found zero is last
                                   possible character.
-                                  (1 is substracted from r4 below!).  */
+                                  (1 is subtracted from r4 below!).  */
        aghi    %r4,-2          /* mvc with exrl needs count - 1.
                                   (additional -1, see remaining bytes above) */
        srlg    %r6,%r4,8       /* Split into 256 byte blocks.  */
index 340e4c60df2549f2cfbfa11e645e21a5a38a7dd6..f48bc5db9c7ce02611df1987beea41b3688a6582 100644 (file)
@@ -250,7 +250,7 @@ ENTRY(STRCSPN_Z13)
                                          character in this part of reject
                                          is a zero.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepb   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepb   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqb   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index 0b15ea582914f5db33a7d30dbbf7745a78eb89d7..ff8238da76c09f587f6e8dfdc84380eb5480d713 100644 (file)
@@ -110,7 +110,7 @@ ENTRY(STRNCMP_Z13)
        j       .Lloop
 
 .Llastcmp:
-       /* Use comparision result only if located within first n characters.
+       /* Use comparison result only if located within first n characters.
           %r0: loaded byte count in vreg;
           %r5: current_len;
           %r4: n;
index 3ac123a6300d96e363b045ac7d4a6c094d8a1b46..bc7513be0a5f36b9ddbdee80e361c913c7aae148 100644 (file)
@@ -262,7 +262,7 @@ ENTRY(STRPBRK_Z13)
                                          if first char in this part of accept
                                          is a zero.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepb   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepb   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqb   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index 70b953467695693974029b2be107c493d6035a91..2091c13cf86a6797b86ca0a59d54d360d3cdea89 100644 (file)
@@ -30,7 +30,7 @@
 
    Register usage:
    -r0=loaded bytes in first part of s.
-   -r1=pointer to last occurence of c or NULL if not found.
+   -r1=pointer to last occurrence of c or NULL if not found.
    -r2=s
    -r3=c
    -r4=tmp
@@ -38,7 +38,7 @@
    -v16=part of s
    -v17=index of found element
    -v18=replicated c
-   -v19=part of s with last occurence of c.
+   -v19=part of s with last occurrence of c.
    -v20=permute pattern
 */
 ENTRY(STRRCHR_Z13)
@@ -99,7 +99,7 @@ ENTRY(STRRCHR_Z13)
        j       .Lloop
 
 .Lfound_first_part:
-       /* This code is only executed if the found c/zero is whithin loaded
+       /* This code is only executed if the found c/zero is within loaded
           bytes. If no c/zero was found (cc==3) the found index = 16, thus
           this code is not called.
           Resulting condition code of vector find element equal:
index 4af597aa18d888851e46f16b61ffc429baf1f439..8c77698a597c1dc6d008f8f8fd2eaaf540870885 100644 (file)
@@ -238,7 +238,7 @@ ENTRY(STRSPN_Z13)
        clije   %r8,0,.Lslow_add_lbc_end /* End if zero is first character
                                             in this part of accept-string.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepb   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepb   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqb   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index 36c56ccbf775f8d4dce7c0430fdb752994a69678..a20e9b6176d2b6bafe99736bcdf39ac339390d9f 100644 (file)
@@ -449,7 +449,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_OUTLEN],%[R_TMP3]\n\t"                  \
                  /* Handles UTF16 surrogates with convert instruction.  */ \
                  "20: cu24 %[R_OUT],%[R_IN],1\n\t"                     \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
@@ -760,7 +760,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_OUTLEN],%[R_TMP3]\n\t"                  \
                  /* Handles UTF16 surrogates with convert instruction.  */ \
                  "20: cu42 %[R_OUT],%[R_IN]\n\t"                       \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
index 33f7c64da4cfdede2a31c4cf880e5633ee1289ef..c72c2ed46ea36ddb543bd40b756fe8b5185b91b0 100644 (file)
@@ -293,7 +293,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_OUTLEN],%[R_TMP3]\n\t"                  \
                  /* Handle multibyte utf8-char with convert instruction. */ \
                  "20: cu12 %[R_OUT],%[R_IN],1\n\t"                     \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
@@ -873,7 +873,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_OUTLEN],%[R_TMP3]\n\t"                  \
                  /* Handles UTF16 surrogates with convert instruction.  */ \
                  "20: cu21 %[R_OUT],%[R_IN],1\n\t"                     \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
index 55321c519aa968b1b873826c0b7d04754a57eee6..c3bb464c2ed476a46227c0b9922114257ec03876 100644 (file)
@@ -541,7 +541,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_OUTLEN],%[R_TMP3]\n\t"                  \
                  /* Handle multibyte utf8-char with convert instruction. */ \
                  "20: cu14 %[R_OUT],%[R_IN],1\n\t"                     \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
@@ -923,7 +923,7 @@ gconv_end (struct __gconv_step *data)
                  "    slgr %[R_INLEN],%[R_I]\n\t"                      \
                  /* Handle multibyte utf8-char with convert instruction. */ \
                  "20: cu41 %[R_OUT],%[R_IN]\n\t"                       \
-                 "    jo 0b\n\t" /* Try vector implemenation again.  */ \
+                 "    jo 0b\n\t" /* Try vector implementation again.  */ \
                  "    lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1.  */ \
                  "    lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2.  */ \
                  ".machine pop"                                        \
index 3c2361bfa0d69b44454b22efc394318fbe8d47a5..16b68efebd8556e4d070ee37964dd0740f0cdb01 100644 (file)
@@ -174,7 +174,7 @@ ENTRY(WCPNCPY_Z13)
        lay     %r0,-3(%r2)     /* Save return-pointer to found zero.  */
        clgije  %r4,1,.Lend     /* Skip zero-filling, if found-zero is last
                                   possible character.
-                                  (1 is substracted from r4 below!).  */
+                                  (1 is subtracted from r4 below!).  */
        aghi    %r4,-2          /* mvc with exrl needs count - 1.
                                   (additional -1, see remaining bytes above) */
        srlg    %r6,%r4,8       /* Split into 256 byte blocks.  */
index c397eb0631661ade05032e8cc438ba3eefc301f0..0a161e084ae84abc783f704c10b000ee05634c45 100644 (file)
@@ -94,7 +94,7 @@ ENTRY(WCSCMP_Z13)
        vlef    %v16,0(%r5,%r2),0 /* Load one character.  */
        vlef    %v17,0(%r5,%r3),0
        lghi    %r1,4           /* Loaded byte count is 4.  */
-       j       .Llt_cmp        /* Proceed with comparision.  */
+       j       .Llt_cmp        /* Proceed with comparison.  */
 
 .Llt16_1:
        lcbb    %r4,0(%r5,%r3),6 /* Get loaded byte count of s2.  */
index 857c95e31f11cf06765d7e57090b8a465a2bf9c7..d7a9b6014876b45f2eb20090d994ecc8fbce42dc 100644 (file)
@@ -255,7 +255,7 @@ ENTRY(WCSCSPN_Z13)
                                          character in this part of reject
                                          is a zero.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepf   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepf   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqf   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index bf4cb154b9e3f7fed1dcdd462cd5362ea4d7efd3..1bf769b87022640bb5521bbc4b10ae65b6e7622b 100644 (file)
@@ -138,10 +138,10 @@ ENTRY(WCSNCMP_Z13)
        vlef    %v16,0(%r5,%r2),0 /* Load one character.  */
        lghi    %r0,4           /* Loaded byte count is 4.  */
        vlef    %v17,0(%r5,%r3),0
-       j       .Llt_cmp        /* Proceed with comparision.  */
+       j       .Llt_cmp        /* Proceed with comparison.  */
 
 .Llastcmp:
-       /* Use comparision result only if located within first n characters.
+       /* Use comparison result only if located within first n characters.
           %r0: loaded byte count in vreg;
           %r5: current_len;
           %r4: n;
index 7b96bd31e186487147f8d164584d7f34222ca780..294ab5ab146d2e88cad11411b487335c19ceafb2 100644 (file)
@@ -268,7 +268,7 @@ ENTRY(WCSPBRK_Z13)
                                          If first char in this part of accept
                                          is a zero.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepf   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepf   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqf   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index 7903d7ec60de66025ad2ed2d4a339df7e36060af..3465ee3726f1b442d2dcfdf811fc86f43829a74f 100644 (file)
@@ -29,7 +29,7 @@
 
    Register usage:
    -r0=loaded bytes in first part of s.
-   -r1=pointer to last occurence of c or NULL if not found.
+   -r1=pointer to last occurrence of c or NULL if not found.
    -r2=s
    -r3=c
    -r4=tmp
@@ -37,7 +37,7 @@
    -v16=part of s
    -v17=index of found element
    -v18=replicated c
-   -v19=part of s with last occurence of c.
+   -v19=part of s with last occurrence of c.
    -v20=permute pattern
 */
 ENTRY(WCSRCHR_Z13)
@@ -100,7 +100,7 @@ ENTRY(WCSRCHR_Z13)
        j       .Lloop
 
 .Lfound_first_part:
-       /* This code is only executed if the found c/zero is whithin loaded
+       /* This code is only executed if the found c/zero is within loaded
           bytes. If no c/zero was found (cc==3) the found index = 16, thus
           this code is not called.
           Resulting condition code of vector find element equal:
index 39481105842e8199b361c9dcb03b750d4b546d8f..d78ed9574a2fc8ddd248004f06ca94cf44c3ef3d 100644 (file)
@@ -245,7 +245,7 @@ ENTRY(WCSSPN_Z13)
        clije   %r8,0,.Lslow_add_lbc_end /* End if zero is first character
                                             in this part of accept-string.  */
        /* r8>0 -> zero found in this acc-part.  */
-       vrepf   %v18,%v17,0     /* Replicate first char accross all chars.  */
+       vrepf   %v18,%v17,0     /* Replicate first char across all chars.  */
        vceqf   %v22,%v20,%v17  /* Create a mask (v22) of null chars
                                   by comparing with 0 (v20).  */
        vsel    %v17,%v18,%v17,%v22 /* Replace null chars with first char.  */
index db872991c767d10d352ceaa281f5022f47c5665f..a6928587383f6070268aec7a3282f6374021beb7 100644 (file)
@@ -108,7 +108,7 @@ ENTRY(WMEMCHR_Z13)
        aghi    %r5,16
 
 .Llastcmp:
-       /* Use comparision result only if located within first n characters.
+       /* Use comparison result only if located within first n characters.
           %r5: current_len;
           %r4: n;
           (current_len - n): [0...16[
index d8d1bc9b9819756c0087b0dc80f8b5e5e25e8823..7101063900478defda1b6a521999d53554aa445f 100644 (file)
@@ -27,7 +27,7 @@ __feupdateenv (const fenv_t *envp)
   _FPU_GETCW (temp);
   temp = (temp & FE_ALL_EXCEPT);
 
-  /* Raise the saved exception. Incidently for us the implementation
+  /* Raise the saved exception. Incidentally for us the implementation
     defined format of the values in objects of type fexcept_t is the
     same as the ones specified using the FE_* constants. */
   __fesetenv (envp);
index 855b7c489c75f3974d350f47e29160a6aeb83a7f..de9a6264717a4d8c21c4ae1f4429ad1111de66a8 100644 (file)
@@ -30,7 +30,7 @@
 #define ATOMIC_EXCHANGE_USES_CAS     __HAVE_64B_ATOMICS
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 #define __arch_compare_and_exchange_val_int(mem, newval, oldval, model) \
   ({                                                                   \
index 4c84dcaa531f018d7ea8ecc6ef60761648bb5fd1..821cd7eee70ea7db31d115c347eadbd6ae6be1e2 100644 (file)
@@ -32,7 +32,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept ((int) tmp);
index 5385bd8305ca953ace898794424380d2170724a6..7eb37809d00d182d3e19a93f23a11f18560e0cf0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and sdivcc only 36,
- * we use sdivcc eventhough it is deprecated.
+ * we use sdivcc even though it is deprecated.
  */
 
 #include <sysdep.h>
index d765514ceab1fd66d937156a3f40f7e858b86172..e58b72769502f30355ffef70d6ef18796bc46399 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and sdivcc only 36,
- * we use sdivcc eventhough it is deprecated.
+ * we use sdivcc even though it is deprecated.
  */
 
 #include <sysdep.h>
index 368f85ede2c17e7ecda78210ecc5f9da62af0980..13e0925c68081d36158833bff250be828facb015 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and udiv only 37,
- * we use udiv eventhough it is deprecated.
+ * we use udiv even though it is deprecated.
  */
 
 #include <sysdep.h>
index cab16c919377054a12584261836accd1ef325888..76fa49edd474ad792160bbdb7e22cd94cc9a4bce 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and udiv only 37,
- * we use udiv eventhough it is deprecated.
+ * we use udiv even though it is deprecated.
  */
 
 #include <sysdep.h>
index e38343a7024e6daf8b1dcd0cd61fe531024874ac..db6f4f0e842b9535a400794408b61b6172a5cd0e 100644 (file)
@@ -58,7 +58,7 @@ ENTRY(memmove)
        inc     2, %o1
        srl     %o3, 8, %o4
        stb     %o4, [%o0]      /* have to do bytes,  */
-       stb     %o3, [%o0 + 1]  /* don't know dst alingment  */
+       stb     %o3, [%o0 + 1]  /* don't know dst alignment  */
        inc     2, %o0
        dec     2, %o2
 
index 5bff8ec0b4c5e88cbc3cb629abdd84eac1b16994..0a99efdb28a4369cc080e11d08eb3655712532b5 100644 (file)
@@ -50,7 +50,7 @@ static void
 update_active (struct cpu_features *cpu_features)
 {
   /* Copy the cpuid bits to active bits for CPU featuress whose usability
-     in user space can be detected without additonal OS support.  */
+     in user space can be detected without additional OS support.  */
   CPU_FEATURE_SET_ACTIVE (cpu_features, SSE3);
   CPU_FEATURE_SET_ACTIVE (cpu_features, PCLMULQDQ);
   CPU_FEATURE_SET_ACTIVE (cpu_features, SSSE3);
index 87702df0405afb14dd2692df0b36dc043b3468ef..b2836f3009306a4067da2c126a6bddf7214ae9b9 100644 (file)
@@ -89,7 +89,7 @@ _dl_process_property_note (struct link_map *l, const ElfW(Nhdr) *note,
   if (l->l_property != lc_property_unknown)
     return;
 
-  /* The NT_GNU_PROPERTY_TYPE_0 note must be aliged to 4 bytes in
+  /* The NT_GNU_PROPERTY_TYPE_0 note must be aligned to 4 bytes in
      32-bit objects and to 8 bytes in 64-bit objects.  Skip notes
      with incorrect alignment.  */
   if (align != (__ELF_NATIVE_CLASS / 8))
index 075135d5a60c17825ffa6c3c40499b25bd6c8b83..15e9106105dab9e3f283d320d56ab3283022c2fa 100644 (file)
@@ -31,7 +31,7 @@ typedef unsigned long long int hp_timing_t;
 /* That's quite simple.  Use the `rdtsc' instruction.  Note that the value
    might not be 100% accurate since there might be some more instructions
    running in this moment.  This could be changed by using a barrier like
-   'cpuid' right before the `rdtsc' instruciton.  But we are not interested
+   'cpuid' right before the `rdtsc' instruction.  But we are not interested
    in accurate clock cycles here so we don't do this.
 
    NB: Use __builtin_ia32_rdtsc directly since including <x86intrin.h>