Message ID | 20230521212309.2673422-1-ppluzhnikov@google.com |
---|---|
State | New |
Headers | show |
Series | Fix all the misspellings -- BZ 25337 | expand |
On Sun, May 21, 2023 at 4:32 PM Paul Pluzhnikov <ppluzhnikov@google.com> wrote: > > On Sun, May 14, 2023 at 10:07 PM Noah Goldstein <goldstein.w.n@gmail.com> wrote: > > > One commit for something like this should be fine. > > I think it's a mistake to try to do this in a single commit, as > reviewing this patch is hard. I thought you only intended to modify the SVML functions. I'd say splitting by directory might be reasonable here. To make review easier, can you also verify that this change has no affect on the generated code something like verify objdump of libc/libm/libmvec/ld objects are all the same before/after the changes. > > It may be better to split this into two parts: > - trivial fixes to comments and > - less trivial fixes to NEWS, timezones/ etc. > > Or maybe I should leave NEWS alone? > > P.S. Some changes, e.g. /reenable/re-enable/ may be controversial, > although https://www.merriam-webster.com/dictionary/reenable says that > that word isn't in the dictionary. > > > --- > INSTALL | 2 +- > Makerules | 2 +- > NEWS | 32 ++++++------ > argp/argp-help.c | 2 +- > argp/argp-parse.c | 2 +- > argp/tst-argp1.c | 2 +- > benchtests/bench-pthread-locks.c | 4 +- > benchtests/bench-util.c | 4 +- > benchtests/scripts/plot_strings.py | 2 +- > bits/siginfo-consts.h | 2 +- > bits/socket.h | 2 +- > configure.ac | 2 +- > crypt/badsalttest.c | 2 +- > crypt/crypt_util.c | 2 +- > csu/check_fds.c | 2 +- > csu/init-first.c | 2 +- > debug/explicit_bzero_chk.c | 2 +- > debug/pcprofiledump.c | 2 +- > debug/tst-fortify.c | 2 +- > dlfcn/moddummy2.c | 2 +- > elf/Makefile | 8 +-- > elf/cache.c | 2 +- > elf/dl-cache.c | 2 +- > elf/dl-catch.c | 10 ++-- > elf/dl-dst.h | 2 +- > elf/dl-find_object.c | 2 +- > elf/dl-fptr.c | 2 +- > elf/dl-load.c | 4 +- > elf/dl-minimal.c | 2 +- > elf/dl-profile.c | 6 +-- > elf/dl-support.c | 2 +- > elf/dl-tls.c | 2 +- > elf/dl-version.c | 2 +- > elf/dynamic-link.h | 2 +- > elf/elf.h | 4 +- > elf/ldconfig.c | 4 +- > elf/reldep.c | 2 +- > elf/reldep2.c | 2 +- > elf/reldep3.c | 2 +- > elf/reldep5.c | 2 +- > elf/rtld.c | 6 +-- > elf/sprof.c | 6 +-- > elf/tst-leaks1.c | 2 +- > elf/tst-nodelete-dlclose-dso.c | 2 +- > elf/tst-nodelete-dlclose-plugin.c | 2 +- > elf/tst-pldd.c | 2 +- > elf/tst-protected1a.c | 2 +- > elf/tst-protected1b.c | 2 +- > elf/tst-tls-manydynamic.c | 2 +- > elf/tst-tls20.c | 12 ++--- > elf/vismain.c | 2 +- > gmon/mcount.c | 2 +- > grp/initgroups.c | 2 +- > hesiod/README.hesiod | 2 +- > htl/Makefile | 2 +- > htl/pt-create.c | 2 +- > htl/pt-internal.h | 2 +- > hurd/fd-close.c | 2 +- > hurd/hurd/signal.h | 2 +- > hurd/hurdexec.c | 2 +- > hurd/hurdsig.c | 2 +- > hurd/lookup-retry.c | 2 +- > iconv/gconv_charset.c | 4 +- > iconv/gconv_charset.h | 2 +- > iconv/gconv_conf.c | 2 +- > iconv/gconv_int.h | 2 +- > iconv/gconv_simple.c | 8 +-- > iconv/iconv_prog.c | 2 +- > iconv/iconvconfig.c | 2 +- > iconvdata/bug-iconv8.c | 2 +- > iconvdata/ibm1364.c | 2 +- > iconvdata/ibm930.c | 2 +- > iconvdata/ibm933.c | 2 +- > iconvdata/ibm935.c | 2 +- > iconvdata/ibm937.c | 2 +- > iconvdata/ibm939.c | 2 +- > iconvdata/iso-2022-cn-ext.c | 2 +- > iconvdata/iso-2022-cn.c | 2 +- > iconvdata/iso-2022-jp-3.c | 2 +- > iconvdata/iso-2022-jp.c | 4 +- > iconvdata/iso-2022-kr.c | 2 +- > iconvdata/iso646.c | 2 +- > iconvdata/sjis.c | 2 +- > iconvdata/tst-table.sh | 2 +- > include/alloc_buffer.h | 2 +- > include/arpa/nameser.h | 2 +- > include/file_change_detection.h | 2 +- > include/libc-pointer-arith.h | 2 +- > include/libc-symbols.h | 6 +-- > include/printf_buffer.h | 2 +- > include/sys/socket.h | 4 +- > inet/arpa/inet.h | 2 +- > inet/idna_name_classify.c | 2 +- > inet/netinet/igmp.h | 2 +- > inet/rexec.c | 2 +- > io/file_change_detection.c | 2 +- > io/tst-fts.c | 2 +- > libio/oldfmemopen.c | 2 +- > libio/tst-fopenloc.c | 2 +- > libio/tst-memstream.h | 2 +- > libio/tst-setvbuf1.c | 2 +- > libio/tst-vtables-interposed.c | 2 +- > libio/tst-wmemstream3.c | 2 +- > login/programs/utmpdump.c | 2 +- > login/utmp_file.c | 2 +- > mach/Machrules | 2 +- > mach/errorlib.h | 2 +- > malloc/arena.c | 2 +- > malloc/malloc-debug.c | 2 +- > malloc/malloc.c | 16 +++--- > malloc/tst-mallocfork2.c | 4 +- > malloc/tst-mallocfork3.c | 2 +- > malloc/tst-mallocstate.c | 2 +- > manual/README.pretty-printers | 2 +- > manual/arith.texi | 2 +- > manual/install.texi | 2 +- > manual/intro.texi | 4 +- > manual/ipc.texi | 2 +- > manual/llio.texi | 2 +- > manual/memory.texi | 2 +- > manual/pattern.texi | 2 +- > manual/process.texi | 2 +- > manual/socket.texi | 2 +- > manual/threads.texi | 2 +- > manual/time.texi | 2 +- > manual/tunables.texi | 4 +- > math/bits/mathcalls.h | 2 +- > math/fenv.h | 2 +- > math/libm-test-support.c | 2 +- > math/math.h | 2 +- > math/test-fenv.c | 2 +- > math/tgmath.h | 2 +- > misc/hsearch_r.c | 2 +- > misc/preadv64v2.c | 2 +- > misc/pwritev64v2.c | 2 +- > misc/search.h | 2 +- > misc/tst-efgcvt-template.c | 4 +- > misc/tst-mntent-blank-corrupt.c | 2 +- > nptl/TODO | 6 +-- > nptl/descr.h | 2 +- > nptl/futex-internal.c | 2 +- > nptl/perf.c | 4 +- > nptl/pthread_cond_common.c | 2 +- > nptl/pthread_cond_wait.c | 4 +- > nptl/pthread_create.c | 2 +- > nptl/pthread_getattr_np.c | 2 +- > nptl/pthread_mutex_lock.c | 4 +- > nptl/sem_waitcommon.c | 2 +- > nptl/tst-dlsym1.c | 2 +- > nptl/tst-rwlock20.c | 2 +- > nptl/tst-stack4.c | 4 +- > nptl/tst-tls3.c | 2 +- > nptl/tst-tsd3.c | 6 +-- > nptl/tst-tsd4.c | 4 +- > nptl_db/td_thr_get_info.c | 2 +- > nptl_db/thread_dbP.h | 2 +- > nscd/connections.c | 6 +-- > nscd/initgrcache.c | 2 +- > nscd/nscd-client.h | 2 +- > nscd/nscd.c | 2 +- > nscd/nscd_helper.c | 4 +- > nscd/nscd_setup_thread.c | 2 +- > nscd/nscd_stat.c | 2 +- > nss/nss_compat/compat-grp.c | 2 +- > nss/nss_compat/compat-pwd.c | 2 +- > nss/nss_compat/compat-spwd.c | 2 +- > nss/nss_database.c | 2 +- > nss/nss_db/db-open.c | 2 +- > nss/nss_db/nss_db.h | 2 +- > nss/nss_files/files-network.c | 2 +- > nss/nss_parse_line_result.c | 2 +- > nss/nsswitch.conf | 2 +- > nss/test-netdb.c | 2 +- > posix/BOOST.tests | 4 +- > posix/PTESTS | 2 +- > posix/globtest.c | 2 +- > posix/regexbug1.c | 4 +- > posix/runptests.c | 2 +- > posix/runtests.c | 2 +- > posix/rxspencer/tests | 2 +- > posix/spawn.h | 2 +- > posix/tst-exec.c | 2 +- > posix/tst-execveat.c | 4 +- > posix/tst-glob_lstat_compat.c | 2 +- > posix/tst-pcre.c | 2 +- > posix/tst-posix_fadvise-common.c | 2 +- > posix/tst-regcomp-truncated.c | 2 +- > posix/tst-regex.c | 2 +- > posix/tst-regex.input | 50 +++++++++---------- > posix/tst-spawn5.c | 2 +- > posix/wordexp.c | 4 +- > resolv/arpa/nameser_compat.h | 4 +- > resolv/bits/types/res_state.h | 2 +- > resolv/gai_misc.c | 4 +- > resolv/gai_misc.h | 2 +- > resolv/inet_net_pton.c | 2 +- > resolv/inet_pton.c | 2 +- > resolv/ns_print.c | 2 +- > resolv/ns_rr_cursor_next.c | 2 +- > resolv/nss_dns/dns-host.c | 6 +-- > resolv/res-noaaaa.c | 2 +- > resolv/resolv-internal.h | 2 +- > resolv/resolv.h | 2 +- > resolv/resolv_conf.c | 6 +-- > resolv/resolv_context.c | 2 +- > resolv/resolv_context.h | 2 +- > resolv/tst-resolv-canonname.c | 2 +- > resolv/tst-resolv-edns.c | 2 +- > resolv/tst-resolv-qtypes.c | 2 +- > resolv/tst-resolv-res_init-skeleton.c | 4 +- > resolv/tst-resolv-res_ninit.c | 4 +- > rt/aio.h | 2 +- > rt/aio_cancel.c | 2 +- > rt/aio_misc.c | 2 +- > rt/timer_create.c | 2 +- > rt/timer_gettime.c | 2 +- > rt/tst-mqueue2.c | 4 +- > rt/tst-mqueue3.c | 4 +- > rt/tst-mqueue4.c | 2 +- > rt/tst-mqueue5.c | 2 +- > scripts/dso-ordering-test.py | 2 +- > scripts/glibcelf.py | 2 +- > scripts/glibcpp.py | 6 +-- > scripts/pylintrc | 2 +- > socket/sys/socket.h | 2 +- > stdio-common/printf_fphex.c | 2 +- > stdio-common/tst-fmemopen2.c | 2 +- > stdio-common/tst-fmemopen3.c | 6 +-- > stdio-common/tst-printf-bz25691.c | 2 +- > stdio-common/tst-sscanf.c | 2 +- > stdio-common/vfscanf-internal.c | 6 +-- > stdlib/inttypes.h | 2 +- > stdlib/lldiv.c | 2 +- > stdlib/longlong.h | 2 +- > stdlib/tst-arc4random-stats.c | 2 +- > stdlib/tst-arc4random-thread.c | 2 +- > stdlib/tst-canon-bz26341.c | 2 +- > stdlib/tst-random.c | 6 +-- > stdlib/tst-setcontext.c | 2 +- > string/memcmpeq.c | 2 +- > string/strcoll_l.c | 2 +- > string/test-memcmp.c | 2 +- > string/test-strcasecmp.c | 2 +- > string/test-strcmp.c | 2 +- > string/test-strncasecmp.c | 2 +- > string/test-strncmp.c | 2 +- > string/test-strnlen.c | 2 +- > string/tst-memmove-overflow.c | 2 +- > sunrpc/key_call.c | 2 +- > sunrpc/rpc/clnt.h | 4 +- > sunrpc/tst-svc_register.c | 2 +- > sunrpc/xdr_rec.c | 2 +- > sunrpc/xdr_ref.c | 2 +- > support/Makefile | 2 +- > support/README | 2 +- > support/delayed_exit.c | 2 +- > support/resolv_test.c | 10 ++-- > support/resolv_test.h | 4 +- > support/support_record_failure.c | 2 +- > support/support_test_main.c | 2 +- > support/temp_file.c | 2 +- > support/test-container.c | 10 ++-- > support/tst-timespec.c | 16 +++--- > sysdeps/aarch64/atomic-machine.h | 2 +- > sysdeps/aarch64/multiarch/memset_base64.S | 8 +-- > sysdeps/alpha/alphaev67/strrchr.S | 2 +- > sysdeps/alpha/atomic-machine.h | 2 +- > sysdeps/alpha/divq.S | 2 +- > sysdeps/alpha/divqu.S | 2 +- > sysdeps/alpha/fpu/bits/fenv.h | 2 +- > sysdeps/alpha/fpu/feupdateenv.c | 2 +- > sysdeps/alpha/ots_cvtqux.c | 2 +- > sysdeps/alpha/ots_cvtqx.c | 2 +- > sysdeps/alpha/remq.S | 2 +- > sysdeps/alpha/remqu.S | 2 +- > sysdeps/alpha/stpncpy.S | 2 +- > sysdeps/alpha/strrchr.S | 2 +- > sysdeps/arc/fpu/fesetenv.c | 2 +- > sysdeps/arm/armv6/rawmemchr.S | 2 +- > sysdeps/arm/armv6/strchr.S | 4 +- > sysdeps/arm/armv6/strcpy.S | 4 +- > sysdeps/arm/armv6/strlen.S | 4 +- > sysdeps/arm/armv6/strrchr.S | 4 +- > sysdeps/arm/atomic-machine.h | 2 +- > sysdeps/arm/dl-tlsdesc.h | 2 +- > sysdeps/arm/find_exidx.c | 2 +- > sysdeps/arm/nptl/Makefile | 2 +- > sysdeps/arm/stap-probe-machine.h | 2 +- > sysdeps/csky/fpu/feupdateenv.c | 2 +- > sysdeps/generic/ldsodefs.h | 4 +- > sysdeps/generic/sysdep.h | 2 +- > sysdeps/generic/unwind-dw2-fde-glibc.c | 2 +- > sysdeps/gnu/netinet/tcp.h | 6 +-- > sysdeps/hppa/__longjmp.c | 2 +- > sysdeps/hppa/dl-fptr.c | 2 +- > sysdeps/hppa/dl-trampoline.S | 8 +-- > sysdeps/hppa/nptl/bits/struct_mutex.h | 2 +- > sysdeps/htl/bits/cancelation.h | 2 +- > sysdeps/htl/pt-cond-timedwait.c | 2 +- > sysdeps/htl/pt-key.h | 2 +- > sysdeps/htl/pt-rwlock-timedrdlock.c | 2 +- > sysdeps/htl/pt-rwlock-timedwrlock.c | 2 +- > sysdeps/htl/pt-rwlock-unlock.c | 2 +- > sysdeps/htl/pthread.h | 12 ++--- > sysdeps/htl/timer_routines.c | 2 +- > sysdeps/i386/fpu/feupdateenv.c | 2 +- > sysdeps/i386/i686/dl-hash.h | 2 +- > sysdeps/i386/i686/multiarch/memcmp-sse4.S | 2 +- > sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2 +- > sysdeps/i386/i686/multiarch/strcpy-ssse3.S | 2 +- > sysdeps/i386/strpbrk.S | 2 +- > sysdeps/ia64/dl-trampoline.S | 4 +- > sysdeps/ia64/fpu/e_acos.S | 4 +- > sysdeps/ia64/fpu/e_acosf.S | 2 +- > sysdeps/ia64/fpu/e_asin.S | 4 +- > sysdeps/ia64/fpu/e_asinf.S | 4 +- > sysdeps/ia64/fpu/e_log.S | 2 +- > sysdeps/ia64/fpu/e_logf.S | 4 +- > sysdeps/ia64/fpu/e_pow.S | 6 +-- > sysdeps/ia64/fpu/e_powf.S | 6 +-- > sysdeps/ia64/fpu/libm_lgammaf.S | 2 +- > sysdeps/ia64/fpu/libm_lgammal.S | 10 ++-- > sysdeps/ia64/fpu/libm_reduce.S | 4 +- > sysdeps/ia64/fpu/libm_sincos_large.S | 2 +- > sysdeps/ia64/fpu/libm_sincosl.S | 2 +- > sysdeps/ia64/fpu/s_cosl.S | 2 +- > sysdeps/ia64/fpu/s_erfcl.S | 2 +- > sysdeps/ia64/fpu/s_modf.S | 2 +- > sysdeps/ia64/fpu/s_modff.S | 2 +- > sysdeps/ia64/fpu/s_modfl.S | 2 +- > sysdeps/ia64/fpu/s_tanhl.S | 2 +- > sysdeps/ia64/fpu/w_tgamma_compat.S | 4 +- > sysdeps/ia64/fpu/w_tgammaf_compat.S | 2 +- > sysdeps/ia64/memchr.S | 2 +- > sysdeps/ia64/strchr.S | 2 +- > sysdeps/ieee754/dbl-64/branred.c | 2 +- > sysdeps/ieee754/dbl-64/e_lgamma_r.c | 2 +- > sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c | 2 +- > sysdeps/ieee754/ldbl-96/e_lgammal_r.c | 2 +- > sysdeps/loongarch/configure.ac | 2 +- > sysdeps/loongarch/fpu/feupdateenv.c | 2 +- > sysdeps/m68k/fpu/feupdateenv.c | 2 +- > sysdeps/m68k/unwind-arch.h | 2 +- > sysdeps/mach/htl/pt-thread-alloc.c | 2 +- > sysdeps/mach/hurd/Makefile | 2 +- > sysdeps/mach/hurd/bits/posix_opt.h | 4 +- > sysdeps/mach/hurd/errno-loc.c | 2 +- > .../htl/bits/types/struct___pthread_mutex.h | 2 +- > .../mach/hurd/htl/pt-hurd-cond-timedwait.c | 2 +- > sysdeps/mach/hurd/i386/localplt.data | 2 +- > sysdeps/mach/hurd/ptsname.c | 2 +- > sysdeps/mach/hurd/recvfrom.c | 2 +- > sysdeps/mach/hurd/setitimer.c | 2 +- > sysdeps/mips/atomic-machine.h | 2 +- > sysdeps/mips/bits/link.h | 2 +- > sysdeps/mips/fpu/feupdateenv.c | 2 +- > sysdeps/mips/memcpy.S | 6 +-- > sysdeps/mips/memset.S | 2 +- > sysdeps/mips/start.S | 2 +- > sysdeps/mips/sys/asm.h | 2 +- > sysdeps/mips/tst-abi-interlink.c | 2 +- > sysdeps/mips/unwind-arch.h | 2 +- > sysdeps/nios2/dl-machine.h | 2 +- > sysdeps/nios2/start.S | 6 +-- > sysdeps/nptl/dl-tls_init_tp.c | 2 +- > sysdeps/nptl/pthread.h | 6 +-- > sysdeps/or1k/dl-machine.h | 2 +- > sysdeps/or1k/nptl/tls.h | 2 +- > sysdeps/powerpc/atomic-machine.h | 2 +- > sysdeps/powerpc/bits/setjmp.h | 2 +- > sysdeps/powerpc/powerpc32/405/memcpy.S | 4 +- > sysdeps/powerpc/powerpc32/405/memset.S | 10 ++-- > sysdeps/powerpc/powerpc32/476/memset.S | 10 ++-- > .../power4/multiarch/strncase-power7.c | 2 +- > .../power4/multiarch/strncase_l-power7.c | 2 +- > sysdeps/powerpc/powerpc64/configure.ac | 2 +- > .../float128-ifunc-redirect-macros.h | 2 +- > .../le/fpu/multiarch/float128-ifunc.h | 2 +- > .../le/fpu/multiarch/float128_private.h | 2 +- > sysdeps/powerpc/powerpc64/power7/memmove.S | 2 +- > sysdeps/powerpc/powerpc64/power7/strcmp.S | 2 +- > sysdeps/powerpc/powerpc64/power7/strncpy.S | 2 +- > sysdeps/powerpc/powerpc64/power7/strrchr.S | 2 +- > sysdeps/powerpc/powerpc64/power8/strcasestr.S | 4 +- > sysdeps/powerpc/powerpc64/power8/strcmp.S | 2 +- > sysdeps/powerpc/powerpc64/power8/strlen.S | 2 +- > sysdeps/powerpc/powerpc64/power8/strncmp.S | 2 +- > sysdeps/powerpc/powerpc64/power8/strncpy.S | 4 +- > sysdeps/powerpc/powerpc64/power8/strnlen.S | 2 +- > sysdeps/powerpc/powerpc64/power8/strrchr.S | 2 +- > sysdeps/powerpc/powerpc64/setjmp-bug21895.c | 2 +- > sysdeps/pthread/cnd_wait.c | 2 +- > sysdeps/pthread/posix-timer.h | 2 +- > sysdeps/pthread/threads.h | 2 +- > sysdeps/pthread/tst-cancel12.c | 2 +- > sysdeps/pthread/tst-clock1.c | 2 +- > sysdeps/pthread/tst-cond2.c | 2 +- > sysdeps/pthread/tst-key2.c | 2 +- > sysdeps/pthread/tst-mutex10.c | 2 +- > sysdeps/pthread/tst-mutex2.c | 2 +- > sysdeps/pthread/tst-rwlock-tryrdlock-stall.c | 8 +-- > sysdeps/pthread/tst-rwlock-trywrlock-stall.c | 2 +- > sysdeps/pthread/tst-tsd2.c | 2 +- > sysdeps/s390/memchr-vx.S | 2 +- > sysdeps/s390/memcpy-z900.S | 2 +- > sysdeps/s390/memset-z900.S | 2 +- > sysdeps/s390/multiarch/8bit-generic.c | 14 +++--- > sysdeps/s390/s390-32/setjmp.S | 6 +-- > sysdeps/s390/s390-32/start.S | 2 +- > sysdeps/s390/s390-64/setjmp.S | 6 +-- > sysdeps/s390/s390-64/strncpy-z900.S | 2 +- > sysdeps/s390/stpncpy-vx.S | 2 +- > sysdeps/s390/strcspn-vx.S | 2 +- > sysdeps/s390/strncmp-vx.S | 2 +- > sysdeps/s390/strpbrk-vx.S | 2 +- > sysdeps/s390/strrchr-vx.S | 6 +-- > sysdeps/s390/strspn-vx.S | 2 +- > sysdeps/s390/utf16-utf32-z9.c | 4 +- > sysdeps/s390/utf8-utf16-z9.c | 4 +- > sysdeps/s390/utf8-utf32-z9.c | 4 +- > sysdeps/s390/wcpncpy-vx.S | 2 +- > sysdeps/s390/wcscmp-vx.S | 2 +- > sysdeps/s390/wcscspn-vx.S | 2 +- > sysdeps/s390/wcsncmp-vx.S | 4 +- > sysdeps/s390/wcspbrk-vx.S | 2 +- > sysdeps/s390/wcsrchr-vx.S | 6 +-- > sysdeps/s390/wcsspn-vx.S | 2 +- > sysdeps/s390/wmemchr-vx.S | 2 +- > sysdeps/sh/sh4/fpu/feupdateenv.c | 2 +- > sysdeps/sparc/atomic-machine.h | 2 +- > sysdeps/sparc/fpu/feupdateenv.c | 2 +- > sysdeps/sparc/sparc32/sparcv9/rem.S | 2 +- > sysdeps/sparc/sparc32/sparcv9/sdiv.S | 2 +- > sysdeps/sparc/sparc32/sparcv9/udiv.S | 2 +- > sysdeps/sparc/sparc32/sparcv9/urem.S | 2 +- > sysdeps/sparc/sparc64/memmove.S | 2 +- > .../sysv/linux/aarch64/ucontext-internal.h | 2 +- > sysdeps/unix/sysv/linux/alpha/getcontext.S | 2 +- > sysdeps/unix/sysv/linux/alpha/ioperm.c | 2 +- > sysdeps/unix/sysv/linux/arc/bits/procfs.h | 2 +- > sysdeps/unix/sysv/linux/arc/clone.S | 2 +- > sysdeps/unix/sysv/linux/arc/sysdep.h | 4 +- > sysdeps/unix/sysv/linux/arch-fork.h | 2 +- > sysdeps/unix/sysv/linux/bits/local_lim.h | 2 +- > sysdeps/unix/sysv/linux/bits/mman-linux.h | 2 +- > sysdeps/unix/sysv/linux/bits/posix_opt.h | 4 +- > sysdeps/unix/sysv/linux/bits/siginfo-consts.h | 2 +- > sysdeps/unix/sysv/linux/bits/termios-tcflow.h | 2 +- > .../unix/sysv/linux/dl-diagnostics-kernel.c | 2 +- > sysdeps/unix/sysv/linux/dl-vdso-setup.c | 2 +- > sysdeps/unix/sysv/linux/glibcsyscalls.py | 4 +- > sysdeps/unix/sysv/linux/hppa/clone.S | 2 +- > sysdeps/unix/sysv/linux/hppa/sysdep.h | 6 +-- > sysdeps/unix/sysv/linux/i386/brk.c | 2 +- > sysdeps/unix/sysv/linux/i386/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/ia64/clone2.S | 2 +- > sysdeps/unix/sysv/linux/ia64/sys/rse.h | 2 +- > sysdeps/unix/sysv/linux/ia64/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/kernel-posix-timers.h | 2 +- > .../sysv/linux/loongarch/atomic-machine.h | 2 +- > sysdeps/unix/sysv/linux/loongarch/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/m68k/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/microblaze/sysdep.h | 4 +- > .../mips/mips32/bug-getcontext-mips-gp.c | 2 +- > sysdeps/unix/sysv/linux/mq_notify.c | 6 +-- > sysdeps/unix/sysv/linux/net/if_shaper.h | 2 +- > sysdeps/unix/sysv/linux/netax25/ax25.h | 4 +- > .../unix/sysv/linux/netlink_assert_response.c | 2 +- > sysdeps/unix/sysv/linux/nios2/setcontext.S | 2 +- > sysdeps/unix/sysv/linux/nscd_setup_thread.c | 2 +- > sysdeps/unix/sysv/linux/or1k/setcontext.S | 2 +- > sysdeps/unix/sysv/linux/pathconf.c | 8 +-- > sysdeps/unix/sysv/linux/personality.c | 2 +- > sysdeps/unix/sysv/linux/posix_fadvise.c | 2 +- > .../unix/sysv/linux/powerpc/elision-conf.c | 4 +- > .../sysv/linux/powerpc/get_timebase_freq.c | 2 +- > .../unix/sysv/linux/riscv/atomic-machine.h | 2 +- > sysdeps/unix/sysv/linux/riscv/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/s390/elision-conf.c | 2 +- > sysdeps/unix/sysv/linux/s390/htm.h | 4 +- > sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | 2 +- > sysdeps/unix/sysv/linux/s390/sysconf.c | 2 +- > sysdeps/unix/sysv/linux/scsi/sg.h | 2 +- > sysdeps/unix/sysv/linux/semop.c | 2 +- > sysdeps/unix/sysv/linux/semtimedop.c | 2 +- > sysdeps/unix/sysv/linux/sh/sys/user.h | 2 +- > sysdeps/unix/sysv/linux/sh/sysdep.h | 2 +- > .../sysv/linux/sparc/sparc32/setcontext.S | 2 +- > sysdeps/unix/sysv/linux/sparc/sys/ptrace.h | 2 +- > sysdeps/unix/sysv/linux/sparc/sys/ucontext.h | 4 +- > sysdeps/unix/sysv/linux/spawni.c | 4 +- > sysdeps/unix/sysv/linux/test-errno-linux.c | 2 +- > .../unix/sysv/linux/tst-fallocate-common.c | 2 +- > sysdeps/unix/sysv/linux/tst-o_path-locks.c | 2 +- > sysdeps/unix/sysv/linux/tst-ofdlocks.c | 2 +- > .../unix/sysv/linux/tst-process_mrelease.c | 2 +- > .../unix/sysv/linux/tst-skeleton-affinity.c | 2 +- > .../sysv/linux/tst-socket-timestamp-compat.c | 4 +- > .../unix/sysv/linux/tst-socket-timestamp.c | 2 +- > sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c | 2 +- > sysdeps/unix/sysv/linux/tst-tgkill.c | 4 +- > sysdeps/unix/sysv/linux/tst-ttyname.c | 2 +- > sysdeps/unix/sysv/linux/x86/elision-conf.c | 2 +- > sysdeps/unix/sysv/linux/x86_64/sysdep.h | 2 +- > sysdeps/x86/cpu-features.c | 2 +- > sysdeps/x86/dl-prop.h | 2 +- > sysdeps/x86/hp-timing.h | 2 +- > sysdeps/x86_64/dl-trampoline.h | 12 ++--- > sysdeps/x86_64/fpu/feupdateenv.c | 2 +- > .../fpu/multiarch/svml_d_acos2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_acos4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_acos8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_acosh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_acosh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_acosh8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_asin2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_asin4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_asin8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_asinh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_asinh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_asinh8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_atan22_core_sse4.S | 8 +-- > .../fpu/multiarch/svml_d_atan24_core_avx2.S | 8 +-- > .../fpu/multiarch/svml_d_atan28_core_avx512.S | 8 +-- > .../fpu/multiarch/svml_d_atanh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_atanh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_atanh8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_cbrt2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_cbrt4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_cosh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_cosh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_cosh8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_erfc2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_erfc4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_erfc8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_exp102_core_sse4.S | 4 +- > .../fpu/multiarch/svml_d_exp104_core_avx2.S | 4 +- > .../fpu/multiarch/svml_d_exp108_core_avx512.S | 4 +- > .../fpu/multiarch/svml_d_exp22_core_sse4.S | 4 +- > .../fpu/multiarch/svml_d_exp24_core_avx2.S | 4 +- > .../fpu/multiarch/svml_d_exp28_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_expm12_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_expm14_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_expm18_core_avx512.S | 4 +- > .../fpu/multiarch/svml_d_hypot2_core_sse4.S | 6 +-- > .../fpu/multiarch/svml_d_hypot4_core_avx2.S | 6 +-- > .../fpu/multiarch/svml_d_hypot8_core_avx512.S | 4 +- > .../fpu/multiarch/svml_d_log102_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_log104_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_log108_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_log1p2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_log1p4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_log1p8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_log22_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_log24_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_log28_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_sinh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_sinh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_sinh8_core_avx512.S | 2 +- > .../fpu/multiarch/svml_d_tan2_core_sse4.S | 8 +-- > .../fpu/multiarch/svml_d_tan4_core_avx2.S | 8 +-- > .../fpu/multiarch/svml_d_tan8_core_avx512.S | 8 +-- > .../fpu/multiarch/svml_d_tanh2_core_sse4.S | 2 +- > .../fpu/multiarch/svml_d_tanh4_core_avx2.S | 2 +- > .../fpu/multiarch/svml_d_tanh8_core_avx512.S | 2 +- > .../multiarch/svml_s_acosf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_acosf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_acosf8_core_avx2.S | 2 +- > .../multiarch/svml_s_acoshf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_acoshf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_acoshf8_core_avx2.S | 2 +- > .../multiarch/svml_s_asinf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_asinf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_asinf8_core_avx2.S | 2 +- > .../multiarch/svml_s_asinhf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_asinhf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_asinhf8_core_avx2.S | 2 +- > .../multiarch/svml_s_atan2f16_core_avx512.S | 8 +-- > .../fpu/multiarch/svml_s_atan2f4_core_sse4.S | 8 +-- > .../fpu/multiarch/svml_s_atan2f8_core_avx2.S | 8 +-- > .../multiarch/svml_s_atanhf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_atanhf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_atanhf8_core_avx2.S | 2 +- > .../fpu/multiarch/svml_s_cbrtf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_cbrtf8_core_avx2.S | 2 +- > .../multiarch/svml_s_coshf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_coshf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_coshf8_core_avx2.S | 2 +- > .../multiarch/svml_s_erfcf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_erfcf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_erfcf8_core_avx2.S | 2 +- > .../multiarch/svml_s_exp10f16_core_avx512.S | 4 +- > .../fpu/multiarch/svml_s_exp10f4_core_sse4.S | 4 +- > .../fpu/multiarch/svml_s_exp10f8_core_avx2.S | 4 +- > .../multiarch/svml_s_exp2f16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_exp2f4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_exp2f8_core_avx2.S | 2 +- > .../multiarch/svml_s_expm1f16_core_avx512.S | 4 +- > .../fpu/multiarch/svml_s_expm1f4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_expm1f8_core_avx2.S | 2 +- > .../multiarch/svml_s_hypotf16_core_avx512.S | 4 +- > .../fpu/multiarch/svml_s_hypotf4_core_sse4.S | 6 +-- > .../fpu/multiarch/svml_s_hypotf8_core_avx2.S | 6 +-- > .../multiarch/svml_s_log10f16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_log10f4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_log10f8_core_avx2.S | 2 +- > .../multiarch/svml_s_log1pf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_log1pf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_log1pf8_core_avx2.S | 2 +- > .../multiarch/svml_s_log2f16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_log2f4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_log2f8_core_avx2.S | 2 +- > .../multiarch/svml_s_sinhf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_sinhf4_core_sse4.S | 2 +- > .../fpu/multiarch/svml_s_sinhf8_core_avx2.S | 2 +- > .../fpu/multiarch/svml_s_tanf16_core_avx512.S | 8 +-- > .../fpu/multiarch/svml_s_tanf4_core_sse4.S | 8 +-- > .../fpu/multiarch/svml_s_tanf8_core_avx2.S | 8 +-- > .../multiarch/svml_s_tanhf16_core_avx512.S | 2 +- > .../fpu/multiarch/svml_s_tanhf4_core_sse4.S | 4 +- > .../fpu/multiarch/svml_s_tanhf8_core_avx2.S | 2 +- > sysdeps/x86_64/multiarch/ifunc-strcasecmp.h | 2 +- > sysdeps/x86_64/multiarch/memchr-evex.S | 10 ++-- > sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S | 4 +- > sysdeps/x86_64/multiarch/memcmp-evex-movbe.S | 8 +-- > sysdeps/x86_64/multiarch/memcmp-sse2.S | 4 +- > sysdeps/x86_64/multiarch/memcmpeq-avx2.S | 4 +- > sysdeps/x86_64/multiarch/memcmpeq-evex.S | 6 +-- > sysdeps/x86_64/multiarch/memmove-ssse3.S | 4 +- > .../multiarch/memmove-vec-unaligned-erms.S | 8 +-- > sysdeps/x86_64/multiarch/memrchr-avx2.S | 4 +- > sysdeps/x86_64/multiarch/memrchr-evex.S | 4 +- > sysdeps/x86_64/multiarch/memrchr-sse2.S | 2 +- > .../multiarch/memset-vec-unaligned-erms.S | 2 +- > sysdeps/x86_64/multiarch/rawmemchr-evex.S | 6 +-- > sysdeps/x86_64/multiarch/strcat-sse2.S | 2 +- > .../x86_64/multiarch/strcat-strlen-avx2.h.S | 2 +- > .../x86_64/multiarch/strcat-strlen-evex.h.S | 2 +- > sysdeps/x86_64/multiarch/strchr-evex.S | 12 ++--- > sysdeps/x86_64/multiarch/strchr-sse2.S | 2 +- > sysdeps/x86_64/multiarch/strcmp-avx2.S | 14 +++--- > sysdeps/x86_64/multiarch/strcmp-evex.S | 20 ++++---- > .../x86_64/multiarch/strcmp-sse2-unaligned.S | 2 +- > sysdeps/x86_64/multiarch/strcmp-sse2.S | 8 +-- > sysdeps/x86_64/multiarch/strcmp-sse4_2.S | 4 +- > sysdeps/x86_64/multiarch/strcpy-sse2.S | 2 +- > sysdeps/x86_64/multiarch/strlen-avx2.S | 2 +- > sysdeps/x86_64/multiarch/strncat-evex.S | 2 +- > sysdeps/x86_64/multiarch/strncpy-avx2.S | 2 +- > sysdeps/x86_64/multiarch/strncpy-evex.S | 12 ++--- > sysdeps/x86_64/multiarch/strnlen-evex.S | 2 +- > sysdeps/x86_64/multiarch/strrchr-avx2.S | 6 +-- > sysdeps/x86_64/multiarch/strrchr-evex-base.S | 4 +- > sysdeps/x86_64/multiarch/strrchr-evex.S | 14 +++--- > sysdeps/x86_64/multiarch/strrchr-sse2.S | 12 ++--- > sysdeps/x86_64/multiarch/strstr-avx512.c | 2 +- > sysvipc/semop.c | 2 +- > sysvipc/semtimedop.c | 2 +- > time/asctime.c | 2 +- > time/tst-clock.c | 2 +- > time/tst-difftime.c | 2 +- > time/tst-strptime2.c | 2 +- > time/tzfile.c | 2 +- > timezone/africa | 2 +- > timezone/antarctica | 2 +- > timezone/asia | 2 +- > timezone/australasia | 6 +-- > timezone/europe | 8 +-- > timezone/southamerica | 4 +- > wcsmbs/tst-btowc.c | 2 +- > wcsmbs/tst-mbrtowc.c | 6 +-- > 672 files changed, 1027 insertions(+), 1027 deletions(-) > > diff --git a/INSTALL b/INSTALL > index 91262cfe00..6d51475536 100644 > --- a/INSTALL > +++ b/INSTALL > @@ -469,7 +469,7 @@ build the GNU C Library: > > * GNU 'make' 4.0 or newer > > - As of relase time, GNU 'make' 4.4 is the newest verified to work to > + As of release time, GNU 'make' 4.4 is the newest verified to work to > build the GNU C Library. > > * GCC 6.2 or newer > diff --git a/Makerules b/Makerules > index 31064470e5..2ccf26d320 100644 > --- a/Makerules > +++ b/Makerules > @@ -200,7 +200,7 @@ endif > ifndef subdir > # If a makefile needs to do something conditional on something that > # can only be figured out from headers, write a FOO.make.c input > -# file that uses cpp contructs and contains @@@ LINE @@@ for each LINE > +# file that uses cpp constructs and contains @@@ LINE @@@ for each LINE > # to emit in the generated makefile, and use -include $(common-objpfx)FOO.make. > # > # We only generate these in the top-level makefile, to avoid any weirdness > diff --git a/NEWS b/NEWS > index a52c17c677..23051cf139 100644 > --- a/NEWS > +++ b/NEWS > @@ -183,7 +183,7 @@ Major new features: > > * On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions > have been added. The pidfd functionality provides access to a process > - while avoiding the issue of PID reuse on tranditional Unix systems. > + while avoiding the issue of PID reuse on traditional Unix systems. > > * On Linux, the process_madvise function has been added. It has the > same functionality as madvise but alters the target process identified > @@ -288,7 +288,7 @@ The following bugs are resolved with this release: > inaccurate without /sys and /proc > [28868] dynamic-link: Dynamic loader DFS algorithm segfaults on > missing libraries > - [28880] libc: Program crashes if date beyone 2038 > + [28880] libc: Program crashes if date beyond 2038 > [28883] libc: sysdeps/unix/sysv/linux/select.c: __select64 > !__ASSUME_TIME64_SYSCALLS && !__ASSUME_PSELECT fails on Microblaze > [28896] string: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non- > @@ -529,7 +529,7 @@ Changes to build and runtime requirements: > * The audit module interface version LAV_CURRENT is increased to enable > proper bind-now support. The loader now advertises via the la_symbind > flags that PLT trace is not possible. New audit modules require the > - new dynamic loader supporing the latest LAV_CURRENT version. Old audit > + new dynamic loader supporting the latest LAV_CURRENT version. Old audit > modules are still loaded for all targets except aarch64. > > * The audit interface on aarch64 is extended to support both the indirect > @@ -765,7 +765,7 @@ Major new features: > to configure the size of the thread stack cache. > > * The function _Fork has been added as an async-signal-safe fork replacement > - since Austin Group issue 62 droped the async-signal-safe requirement for > + since Austin Group issue 62 dropped the async-signal-safe requirement for > fork (and it will be included in the future POSIX standard). The new _Fork > function does not run any atfork function neither resets any internal state > or lock (such as the malloc one), and only sets up a minimal state required > @@ -1122,7 +1122,7 @@ Changes to build and runtime requirements: > > * On Linux, the system administrator needs to configure /dev/pts with > the intended access modes for pseudo-terminals. glibc no longer > - attemps to adjust permissions of terminal devices. The previous glibc > + attempts to adjust permissions of terminal devices. The previous glibc > defaults ("tty" group, user read/write and group write) already > corresponded to what most systems used, so that grantpt did not > perform any adjustments. > @@ -1183,7 +1183,7 @@ The following bugs are resolved with this release: > [26100] libc: Race in syslog(3) with regards to tag printing. > [26124] libc: Export <cpu-features.h> > [26130] nscd: Inconsistent nscd cache during pruning > - [26203] libc: GLRO(dl_x86_cpu_features) may not be intialized > + [26203] libc: GLRO(dl_x86_cpu_features) may not be initialized > [26224] locale: iconv hangs when converting some invalid inputs from > several IBM character sets (CVE-2020-27618) > [26341] libc: realpath cyclically call __alloca(path_max) to consume > @@ -1472,7 +1472,7 @@ The following bugs are resolved with this release: > [20338] libc: Parsing of /etc/gshadow can return bad pointers causing > segfaults in applications > [20543] libc: Please move from .gnu.linkonce to comdat > - [22489] network: gcc warns about implicit convertion in > + [22489] network: gcc warns about implicit conversion in > ICMP6_FILTER_SETPASS with -Wsign-conversion > [22525] localedata: or_IN LC_COLLATE does not use copy "iso14651_t1" > [23294] math: Complex _FloatN functions are redirected to the wrong > @@ -3513,7 +3513,7 @@ The following bugs are resolved with this release: > frame-pointer on i386 > [21049] libc: segfault in longjmp_chk() due to clobbered processor > register > - [21075] libc: unused assigment to %g4 in sparc/sparc{64,32}/clone.S > + [21075] libc: unused assignment to %g4 in sparc/sparc{64,32}/clone.S > [21088] libc: Build fails with --enable-static-nss > [21094] math: cosf(1.57079697) has 3 ulp error on targets where the > generic c code is used > @@ -3920,7 +3920,7 @@ The following bugs are resolved with this release: > [17730] malloc: thread-local storage is sometimes improperly free()'d > after being __libc_memalign()'d > [18241] stdio: failed fseek on memstream does not set errno and can fail > - when it shouldnt > + when it shouldn't > [18243] nptl: sem_wait, sem_timedwait are cancellation points shm_open is > not > [18463] nptl: pthread_cond_broadcast issue when surrounded by > @@ -4384,7 +4384,7 @@ Version 2.23 > glibc 2.10 via --enable-experimental-malloc (2009), could result in the > unnecessary serialization of memory allocation requests across threads. > The defect is now corrected. Users should see a substantial increase in > - the concurent throughput of allocation requests for applications which > + the concurrent throughput of allocation requests for applications which > trigger this bug. Affected applications typically create and > destroy threads frequently. (Bug 19048 was reported and analyzed by > Ericsson.) > @@ -4462,7 +4462,7 @@ The following bugs are resolved with this release: > [2898] libc: [improve] warning: the use of `mktemp' is dangerous, better > use `mkstemp' > [4404] localedata: German translation of "Alarm clock" is misleading > - [6799] math: nextafter() and nexttoward() doen't set errno on > + [6799] math: nextafter() and nexttoward() doesn't set errno on > overflow/underflow errors > [6803] math: scalb(), scalbln(), scalbn() do not set errno on > overflow/underflow > @@ -4641,7 +4641,7 @@ The following bugs are resolved with this release: > [19094] math: lrint, llrint missing exceptions close to overflow threshold > [19095] math: dbl-64 lrint incorrect for 64-bit long > [19122] dynamic-link: Unnecessary PLT relocations in librtld.os > - [19124] dynamic-link: ld.so failed to build with older assmebler > + [19124] dynamic-link: ld.so failed to build with older assembler > [19125] math: [powerpc32] llroundf, llround incorrect exceptions > [19129] dynamic-link: [arm] Concurrent lazy TLSDESC resolution can crash > [19134] math: [powerpc32] lround, lroundf spurious exceptions > @@ -5809,7 +5809,7 @@ Version 2.8 > * ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX). > Implemented by Ulrich Drepper. > > -* Faster sqrt and sqrtf implemention for some PPC variants. > +* Faster sqrt and sqrtf implementation for some PPC variants. > Implemented by Steven Munroe. > > Version 2.7 > @@ -6090,7 +6090,7 @@ Version 2.3.2 > * The `btowc' function should work at least twice as fast due to > specialized callbacks in the iconv modules. Implemented by Bruno Haible. > > -* With approriate thread add-ons cancelable functions are now implemented > +* With appropriate thread add-ons cancelable functions are now implemented > in libc.so as well. No need to call the function in libpthread. This > change allowed to finally disable the incorrect and expensive handling > of weak definition in ld.so. > @@ -6421,7 +6421,7 @@ Version 2.1 > * Eric Youngdale and Ulrich Drepper implemented versioning of objects on > symbol level. > > -* Miles Bader provided the `argp' function family to support hierachical > +* Miles Bader provided the `argp' function family to support hierarchical > command line argument parsing, layered on top of getopt. > > * strtod accepts new hexadecimal floating-point format from ISO C 9X. > @@ -6965,7 +6965,7 @@ Version 2.0 > * Ulrich Drepper has contributed a new suite of functions for operation on > wide-character and multibyte-character strings, in <wchar.h>; > and classification and case conversion of wide characters, in <wctype.h>. > - These new functions are conforming to the ISO C, Amendement 1 specification. > + These new functions are conforming to the ISO C, Amendment 1 specification. > > * There is now a second implementation of the standard I/O library available. > It comes from GNU libg++ as was written by Per Bothner, heavily modified > diff --git a/argp/argp-help.c b/argp/argp-help.c > index aef380a573..d019ed58d2 100644 > --- a/argp/argp-help.c > +++ b/argp/argp-help.c > @@ -1560,7 +1560,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state, > } > > /* Print the documentation for ARGP to STREAM; if POST is false, then > - everything preceeding a `\v' character in the documentation strings (or > + everything preceding a `\v' character in the documentation strings (or > the whole string, for those with none) is printed, otherwise, everything > following the `\v' character (nothing for strings without). Each separate > bit of documentation is separated a blank line, and if PRE_BLANK is true, > diff --git a/argp/argp-parse.c b/argp/argp-parse.c > index 1711684294..a44b50f8e4 100644 > --- a/argp/argp-parse.c > +++ b/argp/argp-parse.c > @@ -228,7 +228,7 @@ struct group > particular short options is from. */ > char *short_end; > > - /* The number of non-option args sucessfully handled by this parser. */ > + /* The number of non-option args successfully handled by this parser. */ > unsigned args_processed; > > /* This group's parser's parent's group. */ > diff --git a/argp/tst-argp1.c b/argp/tst-argp1.c > index 4d1c54dc74..766c776b17 100644 > --- a/argp/tst-argp1.c > +++ b/argp/tst-argp1.c > @@ -30,7 +30,7 @@ > static const struct argp_option test_options[] = > { > { NULL, 0, NULL, 0, "\ > -This is a test for threads so we allow ther user to selection the number of \ > +This is a test for threads so we allow the user to select the number of \ > threads which are used at any one time. Independently the total number of \ > rounds can be selected. This is the total number of threads which will have \ > run when the process terminates:" }, > diff --git a/benchtests/bench-pthread-locks.c b/benchtests/bench-pthread-locks.c > index c20bb4f6dd..8d5d6d62c6 100644 > --- a/benchtests/bench-pthread-locks.c > +++ b/benchtests/bench-pthread-locks.c > @@ -351,7 +351,7 @@ test_producer_thread (void *v) > > for (j = iters; j >= 0; --j) > { > - /* Aquire lock on the queue. */ > + /* Acquire lock on the queue. */ > pthread_mutex_lock (&m); > /* if something's already there, wait. */ > while (queued > 0) > @@ -388,7 +388,7 @@ test_consumer_producer (long iters, int filler) > > for (long j = iters; j >= 0; --j) > { > - /* Aquire lock on the queue. */ > + /* Acquire lock on the queue. */ > pthread_mutex_lock (&m); > /* Wait for something to be on the queue. */ > while (queued == 0) > diff --git a/benchtests/bench-util.c b/benchtests/bench-util.c > index d684b78054..4996f8c4ac 100644 > --- a/benchtests/bench-util.c > +++ b/benchtests/bench-util.c > @@ -22,12 +22,12 @@ static volatile unsigned int dontoptimize = 0; > void > bench_start (void) > { > - /* This loop should cause CPU to switch to maximal freqency. > + /* This loop should cause CPU to switch to maximal frequency. > This makes subsequent measurement more accurate. We need a side effect > to prevent the loop being deleted by compiler. > This should be enough to cause CPU to speed up and it is simpler than > running loop for constant time. This is used when user does not have root > - access to set a constant freqency. */ > + access to set a constant frequency. */ > > for (int k = 0; k < START_ITER; k++) > dontoptimize += 23 * dontoptimize + 2; > diff --git a/benchtests/scripts/plot_strings.py b/benchtests/scripts/plot_strings.py > index 1fb934d112..56b98da8a8 100755 > --- a/benchtests/scripts/plot_strings.py > +++ b/benchtests/scripts/plot_strings.py > @@ -276,7 +276,7 @@ def plotRecursive(json_iter, routine, ifuncs, bench_variant, title, outpath, > domain = np.unique(np.array(domain)) > averages = [] > > - # Compute geometric mean if there are multple timings for each > + # Compute geometric mean if there are multiple timings for each > # parameter value. > for parameter in domain: > averages.append(gmean(timings[parameter])) > diff --git a/bits/siginfo-consts.h b/bits/siginfo-consts.h > index 8743fd5cf6..98cf3c1416 100644 > --- a/bits/siginfo-consts.h > +++ b/bits/siginfo-consts.h > @@ -93,7 +93,7 @@ enum > { > BUS_ADRALN = 1, /* Invalid address alignment. */ > # define BUS_ADRALN BUS_ADRALN > - BUS_ADRERR, /* Non-existant physical address. */ > + BUS_ADRERR, /* Non-existent physical address. */ > # define BUS_ADRERR BUS_ADRERR > BUS_OBJERR /* Object specific hardware error. */ > # define BUS_OBJERR BUS_OBJERR > diff --git a/bits/socket.h b/bits/socket.h > index 1b5938e9ad..a22ff3b07b 100644 > --- a/bits/socket.h > +++ b/bits/socket.h > @@ -143,7 +143,7 @@ enum __socket_type > #define AF_MAX PF_MAX > > /* Maximum queue length specifiable by listen. */ > -#define SOMAXCONN 128 /* 5 on the origional 4.4 BSD. */ > +#define SOMAXCONN 128 /* 5 on the original 4.4 BSD. */ > > /* Get the definition of the macro to define the common sockaddr members. */ > #include <bits/sockaddr.h> > diff --git a/configure.ac b/configure.ac > index 88df3e5eed..21879c933c 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1372,7 +1372,7 @@ AC_SUBST(libc_cv_mtls_dialect_gnu2) > LIBC_CONFIG_VAR([have-mtls-dialect-gnu2], [$libc_cv_mtls_dialect_gnu2]) > > dnl clang emits an warning for a double alias redirection, to warn the > -dnl original symbol is sed even when weak definition overriddes it. > +dnl original symbol is sed even when weak definition overrides it. > dnl It is a usual pattern for weak_alias, where multiple alias point to > dnl same symbol. > AC_CACHE_CHECK([if -Wno-ignored-attributes is required for aliases], > diff --git a/crypt/badsalttest.c b/crypt/badsalttest.c > index b8239a695b..5e1c65d5c2 100644 > --- a/crypt/badsalttest.c > +++ b/crypt/badsalttest.c > @@ -29,7 +29,7 @@ static const char *tests[][2] = > { "first char bad", "!x" }, > { "second char bad", "Z%" }, > { "both chars bad", ":@" }, > - { "un$upported algorithm", "$2$" }, > + { "unsupported algorithm", "$2$" }, > { "unsupported_algorithm", "_1" }, > }; > > diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c > index d095ab04a4..daca4f72dc 100644 > --- a/crypt/crypt_util.c > +++ b/crypt/crypt_util.c > @@ -204,7 +204,7 @@ static const ufc_long longmask[32] = { > * do_pc1: permform pc1 permutation in the key schedule generation. > * > * The first index is the byte number in the 8 byte ASCII key > - * - second - - the two 28 bits halfs of the result > + * - second - - the two 28 bits halves of the result > * - third - selects the 7 bits actually used of each byte > * > * The result is kept with 28 bit per 32 bit with the 4 most significant > diff --git a/csu/check_fds.c b/csu/check_fds.c > index de6dd716f9..4402762bd1 100644 > --- a/csu/check_fds.c > +++ b/csu/check_fds.c > @@ -68,7 +68,7 @@ check_one_fd (int fd, int mode) > > Note that the following code assumes that STDIN_FILENO, > STDOUT_FILENO, STDERR_FILENO are the three lowest file > - decsriptor numbers, in this order. */ > + descriptor numbers, in this order. */ > struct __stat64_t64 st; > if (__glibc_unlikely (nullfd != fd) > || __glibc_likely (__fstat64_time64 (fd, &st) != 0) > diff --git a/csu/init-first.c b/csu/init-first.c > index 4544eb6d2c..228bed53cf 100644 > --- a/csu/init-first.c > +++ b/csu/init-first.c > @@ -28,7 +28,7 @@ > > #include <ldsodefs.h> > > -/* Remember the command line argument and enviroment contents for > +/* Remember the command line argument and environment contents for > later calls of initializers for dynamic libraries. */ > int __libc_argc attribute_hidden; > char **__libc_argv attribute_hidden; > diff --git a/debug/explicit_bzero_chk.c b/debug/explicit_bzero_chk.c > index 4045aef6cb..77a5255ef8 100644 > --- a/debug/explicit_bzero_chk.c > +++ b/debug/explicit_bzero_chk.c > @@ -18,7 +18,7 @@ > > /* This is the generic definition of __explicit_bzero_chk. The > __explicit_bzero_chk symbol is used as the implementation of > - explicit_bzero throughout glibc. If this file is overriden by an > + explicit_bzero throughout glibc. If this file is overridden by an > architecture, both __explicit_bzero_chk and > __explicit_bzero_chk_internal have to be defined (the latter not as > an IFUNC). */ > diff --git a/debug/pcprofiledump.c b/debug/pcprofiledump.c > index 9f98aa8218..0bf3e501f5 100644 > --- a/debug/pcprofiledump.c > +++ b/debug/pcprofiledump.c > @@ -108,7 +108,7 @@ main (int argc, char *argv[]) > } > > /* Read the first 4-byte word. It contains the information about > - the word size and the endianess. */ > + the word size and the endianness. */ > uint32_t word; > if (TEMP_FAILURE_RETRY (read (fd, &word, 4)) != 4) > error (EXIT_FAILURE, errno, _("cannot read header")); > diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c > index 7850a4e558..9f962f2a75 100644 > --- a/debug/tst-fortify.c > +++ b/debug/tst-fortify.c > @@ -1509,7 +1509,7 @@ do_test (void) > CHK_FAIL_END > #endif > > - /* Bug 29030 regresion check */ > + /* Bug 29030 regression check */ > cp = "HelloWorld"; > if (mbsrtowcs (NULL, &cp, (size_t)-1, &s) != 10) > FAIL (); > diff --git a/dlfcn/moddummy2.c b/dlfcn/moddummy2.c > index cb4edc8da7..babc8f3380 100644 > --- a/dlfcn/moddummy2.c > +++ b/dlfcn/moddummy2.c > @@ -6,7 +6,7 @@ int > dummy2 (void) > { > printf ("Called dummy2()\n"); > - /* If the outer dlopen is not dummy1 (becuase of some error) > + /* If the outer dlopen is not dummy1 (because of some error) > then tst-rec-dlopen will see a value of -1 as the returned > result and fail. */ > return -1; > diff --git a/elf/Makefile b/elf/Makefile > index e262f3e6b1..6f0e4414c9 100644 > --- a/elf/Makefile > +++ b/elf/Makefile > @@ -2719,7 +2719,7 @@ $(objpfx)tst-tls-manydynamic0mod-dep.so: $(objpfx)tst-tls-manydynamic1mod-dep.so > # Double dependencies. > $(objpfx)tst-tls-manydynamic2mod-dep.so: $(objpfx)tst-tls-manydynamic3mod-dep.so \ > $(objpfx)tst-tls-manydynamic4mod-dep.so > -# Double dependencies with each dependency depent of another module. > +# Double dependencies with each dependency dependent of another module. > $(objpfx)tst-tls-manydynamic5mod-dep.so: $(objpfx)tst-tls-manydynamic6mod-dep.so \ > $(objpfx)tst-tls-manydynamic7mod-dep.so > $(objpfx)tst-tls-manydynamic6mod-dep.so: $(objpfx)tst-tls-manydynamic8mod-dep.so > @@ -2729,7 +2729,7 @@ $(objpfx)tst-tls-manydynamic9mod-dep.so: $(objpfx)tst-tls-manydynamic10mod-dep.s > $(objpfx)tst-tls-manydynamic11mod-dep.so > $(objpfx)tst-tls-manydynamic10mod-dep.so: $(objpfx)tst-tls-manydynamic12mod-dep.so > $(objpfx)tst-tls-manydynamic12mod-dep.so: $(objpfx)tst-tls-manydynamic13mod-dep.so > -# Long chain with two double depedencies in the middle > +# Long chain with two double dependencies in the middle > $(objpfx)tst-tls-manydynamic14mod-dep.so: $(objpfx)tst-tls-manydynamic15mod-dep.so > $(objpfx)tst-tls-manydynamic15mod-dep.so: $(objpfx)tst-tls-manydynamic16mod-dep.so \ > $(objpfx)tst-tls-manydynamic17mod-dep.so > @@ -2743,7 +2743,7 @@ LDFLAGS-tst-tls-manydynamic0mod-dep-bad.so = -Wl,--no-as-needed > $(objpfx)tst-tls-manydynamic1mod-dep-bad.so: $(objpfx)tst-tls-manydynamic2mod-dep-bad.so \ > $(objpfx)tst-tls20mod-bad.so > LDFLAGS-tst-tls-manydynamic1mod-dep-bad.so = -Wl,--no-as-needed > -# Double dependencies with each dependency depent of another module. > +# Double dependencies with each dependency dependent of another module. > $(objpfx)tst-tls-manydynamic3mod-dep-bad.so: $(objpfx)tst-tls-manydynamic4mod-dep-bad.so \ > $(objpfx)tst-tls-manydynamic5mod-dep-bad.so > LDFLAGS-tst-tls-manydynamic3mod-dep-bad.so = -Wl,--no-as-needed > @@ -2759,7 +2759,7 @@ $(objpfx)tst-tls-manydynamic7mod-dep-bad.so: $(objpfx)tst-tls-manydynamic9mod-de > LDFLAGS-tst-tls-manydynamic7mod-dep-bad.so = -Wl,--no-as-needed > $(objpfx)tst-tls-manydynamic9mod-dep-bad.so: $(objpfx)tst-tls20mod-bad.so > LDFLAGS-tst-tls-manydynamic9mod-dep-bad.so = -Wl,--no-as-needed > -# Long chain with two double depedencies in the middle > +# Long chain with two double dependencies in the middle > $(objpfx)tst-tls-manydynamic10mod-dep-bad.so: $(objpfx)tst-tls-manydynamic11mod-dep-bad.so > LDFLAGS-tst-tls-manydynamic10mod-dep-bad.so = -Wl,--no-as-needed > $(objpfx)tst-tls-manydynamic11mod-dep-bad.so: $(objpfx)tst-tls-manydynamic12mod-dep-bad.so \ > diff --git a/elf/cache.c b/elf/cache.c > index 83e6b71349..8149f889ba 100644 > --- a/elf/cache.c > +++ b/elf/cache.c > @@ -66,7 +66,7 @@ glibc_hwcaps_subdirectory_name (const struct glibc_hwcaps_subdirectory *dir) > return dir->name->string; > } > > -/* Linked list of known hwcaps subdirecty names. */ > +/* Linked list of known hwcaps subdirectory names. */ > static struct glibc_hwcaps_subdirectory *hwcaps; > > struct glibc_hwcaps_subdirectory * > diff --git a/elf/dl-cache.c b/elf/dl-cache.c > index 631286832d..804bf23222 100644 > --- a/elf/dl-cache.c > +++ b/elf/dl-cache.c > @@ -457,7 +457,7 @@ _dl_load_cache_lookup (const char *name) > /* The old-format part of the cache is bogus as well > if the endianness does not match. (But it is > unclear how the new header can be located if the > - endianess does not match.) */ > + endianness does not match.) */ > cache = (void *) -1; > cache_new = (void *) -1; > __munmap (file, cachesize); > diff --git a/elf/dl-catch.c b/elf/dl-catch.c > index a47ed4892d..0aa04ce594 100644 > --- a/elf/dl-catch.c > +++ b/elf/dl-catch.c > @@ -109,7 +109,7 @@ _dl_signal_exception (int errcode, struct dl_exception *exception, > rtld_hidden_def (_dl_signal_exception) > > void > -_dl_signal_error (int errcode, const char *objname, const char *occation, > +_dl_signal_error (int errcode, const char *objname, const char *occasion, > const char *errstring) > { > struct rtld_catch *lcatch = get_catch (); > @@ -126,7 +126,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation, > __longjmp (lcatch->env[0].__jmpbuf, 1); > } > else > - fatal_error (errcode, objname, occation, errstring); > + fatal_error (errcode, objname, occasion, errstring); > } > rtld_hidden_def (_dl_signal_error) > > @@ -162,12 +162,12 @@ _dl_signal_cexception (int errcode, struct dl_exception *exception, > } > > void > -_dl_signal_cerror (int errcode, const char *objname, const char *occation, > +_dl_signal_cerror (int errcode, const char *objname, const char *occasion, > const char *errstring) > { > if (__builtin_expect (GLRO(dl_debug_mask) > & ~(DL_DEBUG_STATISTICS), 0)) > - _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occation, > + _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occasion, > errstring, receiver ? "continued" : "fatal"); > > if (receiver) > @@ -178,7 +178,7 @@ _dl_signal_cerror (int errcode, const char *objname, const char *occation, > (*receiver) (errcode, objname, errstring); > } > else > - _dl_signal_error (errcode, objname, occation, errstring); > + _dl_signal_error (errcode, objname, occasion, errstring); > } > > void > diff --git a/elf/dl-dst.h b/elf/dl-dst.h > index b40d5b0f55..6940f140ec 100644 > --- a/elf/dl-dst.h > +++ b/elf/dl-dst.h > @@ -1,4 +1,4 @@ > -/* Handling of dynamic sring tokens. > +/* Handling of dynamic string tokens. > Copyright (C) 1999-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/elf/dl-find_object.c b/elf/dl-find_object.c > index 2ced2f3510..928eb499cc 100644 > --- a/elf/dl-find_object.c > +++ b/elf/dl-find_object.c > @@ -312,7 +312,7 @@ _dlfo_mappings_active_segment (uint64_t start_version) > return _dlfo_loaded_mappings[start_version & 1]; > } > > -/* Searches PC amoung the address-sorted array [FIRST1, FIRST1 + > +/* Searches PC among the address-sorted array [FIRST1, FIRST1 + > SIZE). Assumes PC >= FIRST1->map_start. Returns a pointer to the > element that contains PC, or NULL if there is no such element. */ > static inline struct dl_find_object_internal * > diff --git a/elf/dl-fptr.c b/elf/dl-fptr.c > index 35b5b96cf9..536ad17089 100644 > --- a/elf/dl-fptr.c > +++ b/elf/dl-fptr.c > @@ -230,7 +230,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 > diff --git a/elf/dl-load.c b/elf/dl-load.c > index 39c63ff1b3..ff44f30efa 100644 > --- a/elf/dl-load.c > +++ b/elf/dl-load.c > @@ -44,7 +44,7 @@ > long respectively. I.e., even with a file which has 10 program > header entries we only have to read 372B/624B respectively. Add to > this a bit of margin for program notes and reading 512B and 832B > - for 32-bit and 64-bit files respecitvely is enough. If this > + for 32-bit and 64-bit files respectively is enough. If this > heuristic should really fail for some file the code in > `_dl_map_object_from_fd' knows how to recover. */ > struct filebuf > @@ -270,7 +270,7 @@ _dl_dst_count (const char *input) > least equal to the value returned by DL_DST_REQUIRED. Note that it > is possible for a DT_NEEDED, DT_AUXILIARY, and DT_FILTER entries to > have colons, but we treat those as literal colons here, not as path > - list delimeters. */ > + list delimiters. */ > char * > _dl_dst_substitute (struct link_map *l, const char *input, char *result) > { > diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c > index abda453c92..578bf84c20 100644 > --- a/elf/dl-minimal.c > +++ b/elf/dl-minimal.c > @@ -77,7 +77,7 @@ __rtld_malloc_init_real (struct link_map *main_map) > /* We cannot use relocations and initializers for this because the > changes made by __rtld_malloc_init_stubs break REL-style > (non-RELA) relocations that depend on the previous pointer > - contents. Also avoid direct relocation depedencies for the > + contents. Also avoid direct relocation dependencies for the > malloc symbols so this function can be called before the final > rtld relocation (which enables RELRO, after which the pointer > variables cannot be written to). */ > diff --git a/elf/dl-profile.c b/elf/dl-profile.c > index d8345da22e..8be0065fbd 100644 > --- a/elf/dl-profile.c > +++ b/elf/dl-profile.c > @@ -38,7 +38,7 @@ > > /* The LD_PROFILE feature has to be implemented different to the > normal profiling using the gmon/ functions. The problem is that an > - arbitrary amount of processes simulataneously can be run using > + arbitrary amount of processes simultaneously can be run using > profiling and all write the results in the same file. To provide > this mechanism one could implement a complicated mechanism to merge > the content of two profiling runs or one could extend the file > @@ -177,7 +177,7 @@ static unsigned int log_hashfraction; > > > > -/* Set up profiling data to profile object desribed by MAP. The output > +/* Set up profiling data to profile object described by MAP. The output > file is found (or created) in OUTPUT_DIR. */ > void > _dl_start_profile (void) > @@ -218,7 +218,7 @@ _dl_start_profile (void) > } > > /* Now we can compute the size of the profiling data. This is done > - with the same formulars as in `monstartup' (see gmon.c). */ > + with the same formulas as in `monstartup' (see gmon.c). */ > running = 0; > lowpc = ROUNDDOWN (mapstart + GL(dl_profile_map)->l_addr, > HISTFRACTION * sizeof (HISTCOUNTER)); > diff --git a/elf/dl-support.c b/elf/dl-support.c > index 322599916f..44a54dea07 100644 > --- a/elf/dl-support.c > +++ b/elf/dl-support.c > @@ -206,7 +206,7 @@ struct link_map *_dl_sysinfo_map; > #include <dl-vdso-setup.c> > > /* 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 > diff --git a/elf/dl-tls.c b/elf/dl-tls.c > index 4ef7bc3f1e..99b83ca696 100644 > --- a/elf/dl-tls.c > +++ b/elf/dl-tls.c > @@ -233,7 +233,7 @@ _dl_determine_tlsoffset (void) > and an alignment requirement. The GNU ld computes the alignment > requirements for the data at the positions *in the file*, though. > I.e, it is not simply possible to allocate a block with the size > - of the TLS program header entry. The data is layed out assuming > + of the TLS program header entry. The data is laid out assuming > that the first byte of the TLS block fulfills > > p_vaddr mod p_align == &TLS_BLOCK mod p_align > diff --git a/elf/dl-version.c b/elf/dl-version.c > index 3dbc6aa798..5b8693de04 100644 > --- a/elf/dl-version.c > +++ b/elf/dl-version.c > @@ -160,7 +160,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode) > /* Pointer to dynamic section with definitions. */ > ElfW(Dyn) *def; > /* We need to find out which is the highest version index used > - in a dependecy. */ > + in a dependency. */ > unsigned int ndx_high = 0; > struct dl_exception exception; > /* Initialize to make the compiler happy. */ > diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h > index ccb78525ed..e7f755fc75 100644 > --- a/elf/dynamic-link.h > +++ b/elf/dynamic-link.h > @@ -73,7 +73,7 @@ elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], > /* On some machines, notably SPARC, DT_REL* includes DT_JMPREL in its > range. Note that according to the ELF spec, this is completely legal! > > - We are guarenteed that we have one of three situations. Either DT_JMPREL > + We are guaranteed that we have one of three situations. Either DT_JMPREL > comes immediately after DT_REL*, or there is overlap and DT_JMPREL > consumes precisely the very end of the DT_REL*, or DT_JMPREL and DT_REL* > are completely separate and there is a gap between them. */ > diff --git a/elf/elf.h b/elf/elf.h > index 94ca23c1bb..60483af7a3 100644 > --- a/elf/elf.h > +++ b/elf/elf.h > @@ -210,7 +210,7 @@ typedef struct > #define EM_68HC12 53 /* Motorola M68HC12 */ > #define EM_MMA 54 /* Fujitsu MMA Multimedia Accelerator */ > #define EM_PCP 55 /* Siemens PCP */ > -#define EM_NCPU 56 /* Sony nCPU embeeded RISC */ > +#define EM_NCPU 56 /* Sony nCPU embedded RISC */ > #define EM_NDR1 57 /* Denso NDR1 microprocessor */ > #define EM_STARCORE 58 /* Motorola Start*Core processor */ > #define EM_ME16 59 /* Toyota ME16 processor */ > @@ -559,7 +559,7 @@ typedef struct > > /* Possible bitmasks for si_flags. */ > #define SYMINFO_FLG_DIRECT 0x0001 /* Direct bound symbol */ > -#define SYMINFO_FLG_PASSTHRU 0x0002 /* Pass-thru symbol for translator */ > +#define SYMINFO_FLG_PASSTHRU 0x0002 /* Pass-through symbol for translator */ > #define SYMINFO_FLG_COPY 0x0004 /* Symbol is a copy-reloc */ > #define SYMINFO_FLG_LAZYLOAD 0x0008 /* Symbol bound to object to be lazy > loaded */ > diff --git a/elf/ldconfig.c b/elf/ldconfig.c > index 2fc45ad825..349b735670 100644 > --- a/elf/ldconfig.c > +++ b/elf/ldconfig.c > @@ -631,7 +631,7 @@ out: > - search for libraries which will be added to the cache > - create symbolic links to the soname for each library > > - This has to be done separatly for each directory. > + This has to be done separately for each directory. > > To keep track of which libraries to add to the cache and which > links to create, we save a list of all libraries. > @@ -875,7 +875,7 @@ search_dir (const struct dir_entry *entry) > or downgrade. The problems will arise because ldconfig will, > depending on directory ordering, creat symlinks against libfoo.so > e.g. libfoo.so.1.2 -> libfoo.so, but when libfoo.so is removed > - (typically by the removal of a development pacakge not required > + (typically by the removal of a development package not required > for the runtime) it will break the libfoo.so.1.2 symlink and the > application will fail to start. */ > const char *real_base_name = basename (real_file_name); > diff --git a/elf/reldep.c b/elf/reldep.c > index adabc0d5d5..f4e2eedf19 100644 > --- a/elf/reldep.c > +++ b/elf/reldep.c > @@ -93,7 +93,7 @@ main (void) > exit (1); > } > > - /* The variable now must have its originial value. */ > + /* The variable now must have its original value. */ > if (*vp != 0) > { > puts ("variable \"some_var\" not reset"); > diff --git a/elf/reldep2.c b/elf/reldep2.c > index ba5ab222f9..f5416debb0 100644 > --- a/elf/reldep2.c > +++ b/elf/reldep2.c > @@ -78,7 +78,7 @@ main (void) > exit (1); > } > > - /* The variable now must have its originial value. */ > + /* The variable now must have its original value. */ > if (*vp != 42) > { > puts ("variable \"some_var\" reset"); > diff --git a/elf/reldep3.c b/elf/reldep3.c > index 05013d3509..ea6a10bd0d 100644 > --- a/elf/reldep3.c > +++ b/elf/reldep3.c > @@ -78,7 +78,7 @@ main (void) > exit (1); > } > > - /* The variable now must have its originial value. */ > + /* The variable now must have its original value. */ > if (*vp != 0) > { > puts ("variable \"some_var\" not reset"); > diff --git a/elf/reldep5.c b/elf/reldep5.c > index 881d519ff6..236f9f85e2 100644 > --- a/elf/reldep5.c > +++ b/elf/reldep5.c > @@ -57,7 +57,7 @@ main (void) > puts ("function \"call_me\" the second time returned wrong result"); > exit (1); > } > - puts ("second call suceeded as well"); > + puts ("second call succeeded as well"); > > /* Close the second object, we are done. */ > if (dlclose (h2) != 0) > diff --git a/elf/rtld.c b/elf/rtld.c > index c1e383b055..8e1f5966c6 100644 > --- a/elf/rtld.c > +++ b/elf/rtld.c > @@ -454,7 +454,7 @@ _dl_start_final (void *arg, struct dl_start_final_info *info) > ElfW(Addr) start_addr; > > /* Do not use an initializer for these members because it would > - intefere with __rtld_static_init. */ > + interfere with __rtld_static_init. */ > GLRO (dl_find_object) = &_dl_find_object; > > /* If it hasn't happen yet record the startup time. */ > @@ -1067,7 +1067,7 @@ load_audit_modules (struct link_map *main_map, struct audit_list *audit_list) > } > } > > -/* Check if the executable is not actualy dynamically linked, and > +/* Check if the executable is not actually dynamically linked, and > invoke it directly in that case. */ > static void > rtld_chain_load (struct link_map *main_map, char *argv0) > @@ -1167,7 +1167,7 @@ rtld_setup_main_map (struct link_map *main_map) > /* _dl_rtld_libname.next = NULL; Already zero. */ > GL(dl_rtld_map).l_libname = &_dl_rtld_libname; > > - /* Ordinarilly, we would get additional names for the loader from > + /* Ordinarily, we would get additional names for the loader from > our DT_SONAME. This can't happen if we were actually linked as > a static executable (detect this case when we have no DYNAMIC). > If so, assume the filename component of the interpreter path to > diff --git a/elf/sprof.c b/elf/sprof.c > index dfca16b7a6..3eaa4758d6 100644 > --- a/elf/sprof.c > +++ b/elf/sprof.c > @@ -119,7 +119,7 @@ static enum > /* Nozero for testing. */ > static int do_test; > > -/* Strcuture describing calls. */ > +/* Structure describing calls. */ > struct here_fromstruct > { > struct here_cg_arc_record volatile *here; > @@ -413,7 +413,7 @@ load_shobj (const char *name) > > /* Since we use dlopen() we must be prepared to work around the sometimes > strange lookup rules for the shared objects. If we have a file foo.so > - in the current directory and the user specfies foo.so on the command > + in the current directory and the user specifies foo.so on the command > line (without specifying a directory) we should load the file in the > current directory even if a normal dlopen() call would read the other > file. We do this by adding a directory portion to the name. */ > @@ -809,7 +809,7 @@ load_profdata (const char *name, struct shobj *shobj) > return NULL; > } > > - /* We don't need the file desriptor anymore. */ > + /* We don't need the file descriptor anymore. */ > if (close (fd) < 0) > { > error (0, errno, _("error while closing the profiling data file")); > diff --git a/elf/tst-leaks1.c b/elf/tst-leaks1.c > index 75bc92d25f..e9038fc932 100644 > --- a/elf/tst-leaks1.c > +++ b/elf/tst-leaks1.c > @@ -9,7 +9,7 @@ do_test (void) > void *h; > int ret = 0; > /* Carry out *one* failing call to dlopen before starting mtrace to > - force any one-time inintialization that may happen to the > + force any one-time initialization that may happen to the > executable link map e.g. expansion and caching of $ORIGIN. */ > h = dlopen ("$ORIGIN/tst-leaks1.o", RTLD_LAZY); > if (h != NULL) > diff --git a/elf/tst-nodelete-dlclose-dso.c b/elf/tst-nodelete-dlclose-dso.c > index 6869fc9995..e502c87526 100644 > --- a/elf/tst-nodelete-dlclose-dso.c > +++ b/elf/tst-nodelete-dlclose-dso.c > @@ -16,7 +16,7 @@ > License along with the GNU C Library; if not, see > <https://www.gnu.org/licenses/>. */ > > -/* This is the primary DSO that is loaded by the appliation. This DSO > +/* This is the primary DSO that is loaded by the application. This DSO > then loads a plugin with RTLD_NODELETE. This plugin depends on this > DSO. This dependency chain means that at application shutdown the > plugin will be destructed first. Thus by the time this DSO is > diff --git a/elf/tst-nodelete-dlclose-plugin.c b/elf/tst-nodelete-dlclose-plugin.c > index 096eb5e6dd..d693aaf5dd 100644 > --- a/elf/tst-nodelete-dlclose-plugin.c > +++ b/elf/tst-nodelete-dlclose-plugin.c > @@ -17,7 +17,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* This DSO simulates a plugin with a dependency on the > - primary DSO loaded by the appliation. */ > + primary DSO loaded by the application. */ > #include <stdio.h> > > extern void primary_reference (void); > diff --git a/elf/tst-pldd.c b/elf/tst-pldd.c > index 82b7e47ef1..a6ecaabf57 100644 > --- a/elf/tst-pldd.c > +++ b/elf/tst-pldd.c > @@ -71,7 +71,7 @@ pldd_process (void *arg) > } > > /* The test runs in a container because pldd does not support tracing > - a binary started by the loader iself (as with testrun.sh). */ > + a binary started by the loader itself (as with testrun.sh). */ > > static bool > in_str_list (const char *libname, const char *const strlist[]) > diff --git a/elf/tst-protected1a.c b/elf/tst-protected1a.c > index 715c842029..f10ab265f4 100644 > --- a/elf/tst-protected1a.c > +++ b/elf/tst-protected1a.c > @@ -25,7 +25,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* This file must be compiled as PIE to avoid copy relocation when > - accessing protected symbols defined in shared libaries since copy > + accessing protected symbols defined in shared libraries since copy > relocation doesn't work with protected symbols and linker in > binutils 2.26 enforces this rule. */ > > diff --git a/elf/tst-protected1b.c b/elf/tst-protected1b.c > index 2312a0f129..8550b9509c 100644 > --- a/elf/tst-protected1b.c > +++ b/elf/tst-protected1b.c > @@ -25,7 +25,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* This file must be compiled as PIE to avoid copy relocation when > - accessing protected symbols defined in shared libaries since copy > + accessing protected symbols defined in shared libraries since copy > relocation doesn't work with protected symbols and linker in > binutils 2.26 enforces this rule. */ > > diff --git a/elf/tst-tls-manydynamic.c b/elf/tst-tls-manydynamic.c > index 5f5afc85dd..80a5f93aee 100644 > --- a/elf/tst-tls-manydynamic.c > +++ b/elf/tst-tls-manydynamic.c > @@ -117,7 +117,7 @@ do_test (void) > init_functions (); > > struct value values[COUNT]; > - /* Initialze the TLS variables. */ > + /* Initialize the TLS variables. */ > for (int i = 0; i < COUNT; ++i) > { > for (int j = 0; j < PER_VALUE_COUNT; ++j) > diff --git a/elf/tst-tls20.c b/elf/tst-tls20.c > index 86e68c5eb1..907dfe2ca2 100644 > --- a/elf/tst-tls20.c > +++ b/elf/tst-tls20.c > @@ -153,11 +153,11 @@ do_test_no_depedency (void) > mod0 -> mod1 > 2. Double dependency: > mod2 -> [mod3,mod4] > - 3. Double dependency with each dependency depent of another module: > + 3. Double dependency with each dependency dependent of another module: > mod5 -> [mod6,mod7] -> mod8 > 4. Long chain with one double dependency in the middle: > mod9 -> [mod10, mod11] -> mod12 -> mod13 > - 5. Long chain with two double depedencies in the middle: > + 5. Long chain with two double dependencies in the middle: > mod14 -> mod15 -> [mod16, mod17] > mod15 -> [mod18, mod19] > > @@ -217,7 +217,7 @@ do_test_dependency (void) > }; > > /* The gap configuration is defined as a bitmap: the bit set represents a > - loaded module prior the tests execution, while a bit unsed is a module > + loaded module prior the tests execution, while a bit unset is a module > unloaded. Not all permtation will show gaps, but it is simpler than > define each one independently. */ > for (uint32_t g = 0; g < 64; g++) > @@ -277,11 +277,11 @@ do_test_dependency (void) > mod0 -> invalid > 2. Double dependency: > mod1 -> [mod2,invalid] > - 3. Double dependency with each dependency depent of another module: > + 3. Double dependency with each dependency dependent of another module: > mod3 -> [mod4,mod5] -> invalid > 4. Long chain with one double dependency in the middle: > mod6 -> [mod7, mod8] -> mod12 -> invalid > - 5. Long chain with two double depedencies in the middle: > + 5. Long chain with two double dependencies in the middle: > mod10 -> mod11 -> [mod12, mod13] > mod12 -> [mod14, invalid] > > @@ -295,7 +295,7 @@ do_test_invalid_dependency (bool bind_now) > static const int tlsmanydeps[] = { 0, 1, 3, 6, 10 }; > > /* The gap configuration is defined as a bitmap: the bit set represents a > - loaded module prior the tests execution, while a bit unsed is a module > + loaded module prior the tests execution, while a bit unset is a module > unloaded. Not all permtation will show gaps, but it is simpler than > define each one independently. */ > for (uint32_t g = 0; g < 64; g++) > diff --git a/elf/vismain.c b/elf/vismain.c > index 4ee0130dc7..870ab151d5 100644 > --- a/elf/vismain.c > +++ b/elf/vismain.c > @@ -16,7 +16,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* This file must be compiled as PIE to avoid copy relocation when > - accessing protected symbols defined in shared libaries since copy > + accessing protected symbols defined in shared libraries since copy > relocation doesn't work with protected symbols and linker in > binutils 2.26 enforces this rule. */ > > diff --git a/gmon/mcount.c b/gmon/mcount.c > index f7180fdb83..07bf060331 100644 > --- a/gmon/mcount.c > +++ b/gmon/mcount.c > @@ -91,7 +91,7 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ > But we can simplify this if we assume the profiling data > is always initialized by the functions in gmon.c. But > then it is possible to avoid a runtime check and use the > - smae `if' as in gmon.c. So keep these tests in sync. */ > + same `if' as in gmon.c. So keep these tests in sync. */ > if ((HASHFRACTION & (HASHFRACTION - 1)) == 0) { > /* avoid integer divide if possible: */ > i = frompc >> p->log_hashfraction; > diff --git a/grp/initgroups.c b/grp/initgroups.c > index d8a24628d5..2ebd623d7b 100644 > --- a/grp/initgroups.c > +++ b/grp/initgroups.c > @@ -191,7 +191,7 @@ initgroups (const char *user, gid_t group) > long int limit = __sysconf (_SC_NGROUPS_MAX); > > if (limit > 0) > - /* We limit the size of the intially allocated array. */ > + /* We limit the size of the initially allocated array. */ > size = MIN (limit, 64); > else > /* No fixed limit on groups. Pick a starting buffer size. */ > diff --git a/hesiod/README.hesiod b/hesiod/README.hesiod > index 259ce8d447..5c44fae13e 100644 > --- a/hesiod/README.hesiod > +++ b/hesiod/README.hesiod > @@ -139,7 +139,7 @@ information like encrypted passwords in the Hesiod database. There > are some ways to improve security by using features provided by > `named' (see the discussion about `secure zones' in the BIND > documentation), but one should keep in mind that Hesiod was never > -intended to distribute passwords. In the origional design > +intended to distribute passwords. In the original design > authenticating users was the job of the Kerberos service. > > > diff --git a/htl/Makefile b/htl/Makefile > index 67a2f7fe72..5de036acfd 100644 > --- a/htl/Makefile > +++ b/htl/Makefile > @@ -188,7 +188,7 @@ subdir_install: $(inst_libdir)/libpthread2.a $(inst_libdir)/libpthread_syms.a > # XXX: These rules are a hack. But it is better than messing with > # ../Makeconf at the moment. Note that the linker scripts > # $(srcdir)/libpthread.a and $(srcdir)/libpthread_pic.a get overwritten > -# when building in $(srcdir) and not a seperate build directory. > +# when building in $(srcdir) and not a separate build directory. > $(inst_libdir)/libpthread2.a: $(inst_libdir)/libpthread.a > mv $< $@ > $(INSTALL_DATA) $(srcdir)/libpthread.a $< > diff --git a/htl/pt-create.c b/htl/pt-create.c > index 203b808591..261358696f 100644 > --- a/htl/pt-create.c > +++ b/htl/pt-create.c > @@ -199,7 +199,7 @@ __pthread_create_internal (struct __pthread **thread, > /* Set the new thread's signal mask and set the pending signals to > empty. POSIX says: "The signal mask shall be inherited from the > creating thread. The set of signals pending for the new thread > - shall be empty." If the currnet thread is not a pthread then we > + shall be empty." If the current thread is not a pthread then we > just inherit the process' sigmask. */ > if (GL (dl_pthread_num_threads) == 1) > err = __sigprocmask (0, 0, &pthread->init_sigset); > diff --git a/htl/pt-internal.h b/htl/pt-internal.h > index 5179428ce7..6e43f78457 100644 > --- a/htl/pt-internal.h > +++ b/htl/pt-internal.h > @@ -303,7 +303,7 @@ extern void __pthread_destroy_specific (struct __pthread *thread); > structures. */ > extern error_t __pthread_sigstate_init (struct __pthread *thread); > > -/* Destroy the signal state data structures associcated with thread > +/* Destroy the signal state data structures associated with thread > *THREAD. */ > extern void __pthread_sigstate_destroy (struct __pthread *thread); > > diff --git a/hurd/fd-close.c b/hurd/fd-close.c > index 91cf95d93a..90be1e66c9 100644 > --- a/hurd/fd-close.c > +++ b/hurd/fd-close.c > @@ -33,7 +33,7 @@ _hurd_fd_close (struct hurd_fd *fd) > else > { > /* Clear the descriptor's port cells. > - This deallocates the ports if noone else is still using them. */ > + This deallocates the ports if no one else is still using them. */ > _hurd_port_set (&fd->ctty, MACH_PORT_NULL); > _hurd_port_locked_set (&fd->port, MACH_PORT_NULL); > err = 0; > diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h > index 89cf7ac87c..96b6fae007 100644 > --- a/hurd/hurd/signal.h > +++ b/hurd/hurd/signal.h > @@ -146,7 +146,7 @@ extern struct hurd_sigstate *_hurd_global_sigstate; > extern void _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss); > > /* A thread can either use its own action vector and pending signal set > - or use the global ones, depending on wether it has been marked as a > + or use the global ones, depending on whether it has been marked as a > global receiver. The accessors below take that into account. */ > > extern void _hurd_sigstate_lock (struct hurd_sigstate *ss); > diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c > index f8f174e4a2..e358d846c8 100644 > --- a/hurd/hurdexec.c > +++ b/hurd/hurdexec.c > @@ -234,7 +234,7 @@ retry: > __mutex_lock (&_hurd_id.lock); > err = _hurd_check_ids (); > > - /* Avoid leaking the rid_auth port reference to the new progam */ > + /* Avoid leaking the rid_auth port reference to the new program */ > if (_hurd_id.rid_auth != MACH_PORT_NULL) > { > __mach_port_deallocate (__mach_task_self (), _hurd_id.rid_auth); > diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c > index 313e95aeec..ce56d28520 100644 > --- a/hurd/hurdsig.c > +++ b/hurd/hurdsig.c > @@ -917,7 +917,7 @@ post_signal (struct hurd_sigstate *ss, > | __sigmask (SIGTSTP)))) > { > /* If we would ordinarily stop for a job control signal, but we are > - orphaned so noone would ever notice and continue us again, we just > + orphaned so no one would ever notice and continue us again, we just > quietly die, alone and in the dark. */ > detail->code = signo; > signo = SIGKILL; > diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c > index 62f94bbc92..9a9b2718c0 100644 > --- a/hurd/lookup-retry.c > +++ b/hurd/lookup-retry.c > @@ -144,7 +144,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port) > refusing symlinks while accepting mount points. > Note that we actually permit something Linux doesn't: > we follow root-owned symlinks; if that is deemed > - undesireable, we can add a final check for that > + undesirable, we can add a final check for that > one exception to our general translator-based rule. */ > struct stat64 st; > err = __io_stat (*result, &st); > diff --git a/iconv/gconv_charset.c b/iconv/gconv_charset.c > index 5696058298..0cf3226be6 100644 > --- a/iconv/gconv_charset.c > +++ b/iconv/gconv_charset.c > @@ -181,10 +181,10 @@ __gconv_create_spec (struct gconv_spec *conv_spec, const char *fromcode, > implementation has always handled them. Only suffixes in the tocode are > processed and handled. The reality is that invalid input in the input > character set should only be ignored if the fromcode specifies IGNORE. > - The current implementation ignores invalid intput in the input character > + The current implementation ignores invalid input in the input character > set if the tocode contains IGNORE. We preserve this behavior for > backwards compatibility. In the future we may split the handling of > - IGNORE to allow a finer grained specification of ignorning invalid input > + IGNORE to allow a finer grained specification of ignoring invalid input > and/or ignoring invalid output. */ > conv_spec->translit = ptc.translit; > conv_spec->ignore = ptc.ignore; > diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h > index 00744aad56..07815b0eee 100644 > --- a/iconv/gconv_charset.h > +++ b/iconv/gconv_charset.h > @@ -48,7 +48,7 @@ > > > /* This function copies in-order, characters from the source 's' that are > - either alpha-numeric or one in one of these: "_-.,:/" - into the destination > + either alphanumeric or one in one of these: "_-.,:/" - into the destination > 'wp' while dropping all other characters. In the process, it converts all > alphabetical characters to upper case. It then appends up to two '/' > characters so that the total number of '/'es in the destination is 2. */ > diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c > index c76011d6bc..ee9e97e1bd 100644 > --- a/iconv/gconv_conf.c > +++ b/iconv/gconv_conf.c > @@ -153,7 +153,7 @@ static void > add_alias (char *rp) > { > /* We now expect two more string. The strings are normalized > - (converted to UPPER case) and strored in the alias database. */ > + (converted to UPPER case) and stored in the alias database. */ > char *from, *to, *wp; > > while (__isspace_l (*rp, _nl_C_locobj_ptr)) > diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h > index 4b247a815f..19d042faff 100644 > --- a/iconv/gconv_int.h > +++ b/iconv/gconv_int.h > @@ -172,7 +172,7 @@ __libc_lock_define (extern, __gconv_lock attribute_hidden) > }) > > > -/* Return in *HANDLE, a decriptor for the transformation. The function expects > +/* Return in *HANDLE, a descriptor for the transformation. The function expects > the specification of the transformation in the structure pointed to by > CONV_SPEC. It only reads *CONV_SPEC and does not take ownership of it. */ > extern int __gconv_open (struct gconv_spec *conv_spec, > diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c > index c60cffad4c..e936e171d7 100644 > --- a/iconv/gconv_simple.c > +++ b/iconv/gconv_simple.c > @@ -56,7 +56,7 @@ __gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c) > > /* Transform from the internal, UCS4-like format, to UCS4. The > difference between the internal ucs4 format and the real UCS4 > - format is, if any, the endianess. The Unicode/ISO 10646 says that > + format is, if any, the endianness. The Unicode/ISO 10646 says that > unless some higher protocol specifies it differently, the byte > order is big endian.*/ > #define DEFINE_INIT 0 > @@ -100,7 +100,7 @@ internal_ucs4_loop (struct __gconv_step *step, > *inptrp = inptr + n_convert * 4; > *outptrp = __mempcpy (outptr, inptr, n_convert * 4); > #else > -# error "This endianess is not supported." > +# error "This endianness is not supported." > #endif > > /* Determine the status. */ > @@ -153,7 +153,7 @@ internal_ucs4_loop_single (struct __gconv_step *step, > (*outptrp)[2] = state->__value.__wchb[2]; > (*outptrp)[3] = state->__value.__wchb[3]; > #else > -# error "This endianess is not supported." > +# error "This endianness is not supported." > #endif > *outptrp += 4; > > @@ -347,7 +347,7 @@ internal_ucs4le_loop (struct __gconv_step *step, > *inptrp = inptr + n_convert * 4; > *outptrp = __mempcpy (outptr, inptr, n_convert * 4); > #else > -# error "This endianess is not supported." > +# error "This endianness is not supported." > #endif > > /* Determine the status. */ > diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c > index 1d90938d71..bee898c63c 100644 > --- a/iconv/iconv_prog.c > +++ b/iconv/iconv_prog.c > @@ -537,7 +537,7 @@ incomplete character or shift sequence at end of buffer")); > static int > process_fd (iconv_t cd, int fd, FILE **output, const char *output_file) > { > - /* we have a problem with reading from a desriptor since we must not > + /* we have a problem with reading from a descriptor since we must not > provide the iconv() function an incomplete character or shift > sequence at the end of the buffer. Since we have to deal with > arbitrary encodings we must read the whole text in a buffer and > diff --git a/iconv/iconvconfig.c b/iconv/iconvconfig.c > index a319e2f762..f3f4baa4e7 100644 > --- a/iconv/iconvconfig.c > +++ b/iconv/iconvconfig.c > @@ -445,7 +445,7 @@ static void > add_alias (char *rp) > { > /* We now expect two more string. The strings are normalized > - (converted to UPPER case) and strored in the alias database. */ > + (converted to UPPER case) and stored in the alias database. */ > char *from; > char *to; > char *wp; > diff --git a/iconvdata/bug-iconv8.c b/iconvdata/bug-iconv8.c > index e32d891b5c..1ebb674c91 100644 > --- a/iconvdata/bug-iconv8.c > +++ b/iconvdata/bug-iconv8.c > @@ -29,7 +29,7 @@ do_test (void) > /* > * result: -1 84 0 0 (84=EILSEQ) > * > - * Error is returnd but inbuf is consumed. > + * Error is returned but inbuf is consumed. > * > * \x83\xd9 is valid shift-jis sequence but no character is assigned > * to it. > diff --git a/iconvdata/ibm1364.c b/iconvdata/ibm1364.c > index 4d6ec71139..5203f30e79 100644 > --- a/iconvdata/ibm1364.c > +++ b/iconvdata/ibm1364.c > @@ -91,7 +91,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c > index 2939d4d29e..fe2fe1f15b 100644 > --- a/iconvdata/ibm930.c > +++ b/iconvdata/ibm930.c > @@ -80,7 +80,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/ibm933.c b/iconvdata/ibm933.c > index 95935b8b36..4db0699a68 100644 > --- a/iconvdata/ibm933.c > +++ b/iconvdata/ibm933.c > @@ -79,7 +79,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/ibm935.c b/iconvdata/ibm935.c > index 1d8240a758..3c3d697a24 100644 > --- a/iconvdata/ibm935.c > +++ b/iconvdata/ibm935.c > @@ -80,7 +80,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c > index 9e02aba122..1586036c1e 100644 > --- a/iconvdata/ibm937.c > +++ b/iconvdata/ibm937.c > @@ -80,7 +80,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/ibm939.c b/iconvdata/ibm939.c > index ce719cb29f..9b053c696e 100644 > --- a/iconvdata/ibm939.c > +++ b/iconvdata/ibm939.c > @@ -80,7 +80,7 @@ > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_curcs = *curcsp; \ > diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c > index d0c3ca4f03..36727f0865 100644 > --- a/iconvdata/iso-2022-cn-ext.c > +++ b/iconvdata/iso-2022-cn-ext.c > @@ -154,7 +154,7 @@ enum > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_set = *setp; \ > diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c > index 73eb5e77c6..5660ead668 100644 > --- a/iconvdata/iso-2022-cn.c > +++ b/iconvdata/iso-2022-cn.c > @@ -102,7 +102,7 @@ enum > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_set = *setp; \ > diff --git a/iconvdata/iso-2022-jp-3.c b/iconvdata/iso-2022-jp-3.c > index d341a14f51..c722bdbfc3 100644 > --- a/iconvdata/iso-2022-jp-3.c > +++ b/iconvdata/iso-2022-jp-3.c > @@ -156,7 +156,7 @@ enum > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > saved_state = *statep; \ > diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c > index f31dfb92e6..b023d3cf8e 100644 > --- a/iconvdata/iso-2022-jp.c > +++ b/iconvdata/iso-2022-jp.c > @@ -249,7 +249,7 @@ gconv_end (struct __gconv_step *data) > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_set = *setp; \ > @@ -679,7 +679,7 @@ static const cvlist_t conversion_lists[4] = > the character is unknown. \ > The CJK character sets partially overlap when seen as subsets \ > of ISO 10646; therefore there is no single correct result. \ > - We use a preferrence order which depends on the language tag. */ \ > + We use a preference order which depends on the language tag. */ \ > \ > if (ch <= 0x7f) \ > { \ > diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c > index e71198aee9..fd785fd8f9 100644 > --- a/iconvdata/iso-2022-kr.c > +++ b/iconvdata/iso-2022-kr.c > @@ -100,7 +100,7 @@ enum > > > /* Since we might have to reset input pointer we must be able to save > - and retore the state. */ > + and restore the state. */ > #define SAVE_RESET_STATE(Save) \ > if (Save) \ > save_set = *setp; \ > diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c > index f7111a3759..1800dc8fdb 100644 > --- a/iconvdata/iso646.c > +++ b/iconvdata/iso646.c > @@ -21,7 +21,7 @@ > zillions of ISO 646 derivates and supporting them all in a separate > module is overkill since these coded character sets are hardly ever > used anymore (except ANSI_X3.4-1968 == ASCII, which is compatible > - with ISO 8859-1). The European variants are superceded by the > + with ISO 8859-1). The European variants are superseded by the > various ISO 8859-? standards and the Asian variants are embedded in > larger character sets. Therefore this implementation is simply > here to make it possible to do the conversion if it is necessary. > diff --git a/iconvdata/sjis.c b/iconvdata/sjis.c > index 93c28db13e..5ab821bbff 100644 > --- a/iconvdata/sjis.c > +++ b/iconvdata/sjis.c > @@ -2001,7 +2001,7 @@ static const char from_ucs4_greek[193][2] = > > > /* The mapping of the Kanji is horrible. The glyphs covered by Shift JIS > - are spreaded all around the Unicode CJK area. We use one big table > + are spread all around the Unicode CJK area. We use one big table > since using the gaps will not buy us much. > > The following table can be generated using > diff --git a/iconvdata/tst-table.sh b/iconvdata/tst-table.sh > index d5b1f3c87d..bc6f542b24 100755 > --- a/iconvdata/tst-table.sh > +++ b/iconvdata/tst-table.sh > @@ -44,7 +44,7 @@ if test ${charset} = GB18030; then > mv ${objpfx}tst-${charset}.truncated.table ${objpfx}tst-${charset}.charmap.table > fi > > -# Precomputed expexted differences between the charmap and iconv forward. > +# Precomputed expected differences between the charmap and iconv forward. > precomposed=${charset}.precomposed > > # Precompute expected differences between the charmap and iconv backward. > diff --git a/include/alloc_buffer.h b/include/alloc_buffer.h > index 748a5f0dbf..5dcd009405 100644 > --- a/include/alloc_buffer.h > +++ b/include/alloc_buffer.h > @@ -304,7 +304,7 @@ __alloc_buffer_next (struct alloc_buffer *buf, size_t align) > } > > /* Like alloc_buffer_alloc, but do not advance the pointer beyond the > - object (so a subseqent call to alloc_buffer_next or > + object (so a subsequent call to alloc_buffer_next or > alloc_buffer_alloc returns the same pointer). Note that the buffer > is still aligned according to the requirements of TYPE, potentially > consuming buffer space. The effect of this function is similar to > diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h > index 0ef5ab409f..70c634a69d 100644 > --- a/include/arpa/nameser.h > +++ b/include/arpa/nameser.h > @@ -126,7 +126,7 @@ ns_rr_cursor_qtype (const struct ns_rr_cursor *c) > return c->first_rr[-4] * 256 + c->first_rr[-3]; > } > > -/* Returns the clss of the first and only question (usally C_IN). */ > +/* Returns the clss of the first and only question (usually C_IN). */ > static inline const int > ns_rr_cursor_qclass (const struct ns_rr_cursor *c) > { > diff --git a/include/file_change_detection.h b/include/file_change_detection.h > index 241b45d123..c9b86b727e 100644 > --- a/include/file_change_detection.h > +++ b/include/file_change_detection.h > @@ -55,7 +55,7 @@ bool __file_change_detection_for_path (struct file_change_detection *file, > const char *path); > > /* Writes file change information for the stream FP to *FILE. Returns > - ture on success, false on failure. If FP is NULL, treat the file > + true on success, false on failure. If FP is NULL, treat the file > as non-existing. */ > bool __file_change_detection_for_fp (struct file_change_detection *file, > FILE *fp); > diff --git a/include/libc-pointer-arith.h b/include/libc-pointer-arith.h > index 1faf0209c4..aa57e598d5 100644 > --- a/include/libc-pointer-arith.h > +++ b/include/libc-pointer-arith.h > @@ -64,7 +64,7 @@ > #define PTR_IS_ALIGNED(base, size) \ > ((((uintptr_t) (base)) & (size - 1)) == 0) > > -/* Returns the ptrdiff_t diference between P1 and P2. */ > +/* Returns the ptrdiff_t difference between P1 and P2. */ > #define PTR_DIFF(p1, p2) \ > ((ptrdiff_t)((uintptr_t)(p1) - (uintptr_t)(p2))) > > diff --git a/include/libc-symbols.h b/include/libc-symbols.h > index 37c91bb3a4..5794614488 100644 > --- a/include/libc-symbols.h > +++ b/include/libc-symbols.h > @@ -338,7 +338,7 @@ for linking") > _set_symbol_version (real, #name "@@" #version) > # endif > > -/* Evalutes to a string literal for VERSION in LIB. */ > +/* Evaluates to a string literal for VERSION in LIB. */ > # define symbol_version_string(lib, version) \ > _symbol_version_stringify_1 (VERSION_##lib##_##version) > # define _symbol_version_stringify_1(arg) _symbol_version_stringify_2 (arg) > @@ -712,7 +712,7 @@ for linking") > > If you have an implementation for foo which e.g. uses a special hardware > feature which isn't available on all machines where this libc.so will be > - used but decideable if available at runtime e.g. via hwcaps, you can provide > + used but decidable if available at runtime e.g. via hwcaps, you can provide > two or multiple implementations of foo: > > int __foo_default (int __bar) > @@ -765,7 +765,7 @@ for linking") > : __foo_default); > > This will define the ifunc'ed symbol foo like above. The redirection of foo > - in header file is needed to omit an additional defintion of __GI_foo which > + in header file is needed to omit an additional definition of __GI_foo which > would end in a linker error while linking libc.so. You have to specify > __redirect_foo as first parameter which is used within libc_ifunc_redirected > macro in conjunction with typeof to define the ifunc'ed symbol foo. > diff --git a/include/printf_buffer.h b/include/printf_buffer.h > index 4d787e4b2c..21f3882b88 100644 > --- a/include/printf_buffer.h > +++ b/include/printf_buffer.h > @@ -156,7 +156,7 @@ void __printf_buffer_pad_1 (struct __printf_buffer *buf, > char ch, size_t count) attribute_hidden; > > /* __printf_buffer_pad with fast path for no padding. COUNT is > - ssize_t to accomodate signed uses in printf and elsewhere. */ > + ssize_t to accommodate signed uses in printf and elsewhere. */ > static inline void > __printf_buffer_pad (struct __printf_buffer *buf, char ch, ssize_t count) > { > diff --git a/include/sys/socket.h b/include/sys/socket.h > index 6e4cf5077f..b9fbc4925c 100644 > --- a/include/sys/socket.h > +++ b/include/sys/socket.h > @@ -44,7 +44,7 @@ extern ssize_t __libc_sendto (int __fd, const void *__buf, size_t __n, > socklen_t __addr_len); > > /* 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. */ > extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n, > @@ -78,7 +78,7 @@ extern ssize_t __sendto (int __fd, const void *__buf, size_t __n, > socklen_t __addr_len) attribute_hidden; > > /* 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. */ > extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n, > diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h > index 004f0a0565..dffb711137 100644 > --- a/inet/arpa/inet.h > +++ b/inet/arpa/inet.h > @@ -78,7 +78,7 @@ extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW > __attribute_deprecated_msg__ ("Use inet_ntop instead"); > > /* Convert network number for interface type AF in buffer starting at > - CP to presentation format. The result will specifiy BITS bits of > + CP to presentation format. The result will specify BITS bits of > the number. */ > extern char *inet_net_ntop (int __af, const void *__cp, int __bits, > char *__buf, size_t __len) __THROW; > diff --git a/inet/idna_name_classify.c b/inet/idna_name_classify.c > index 8b34d89104..a48c72b2fc 100644 > --- a/inet/idna_name_classify.c > +++ b/inet/idna_name_classify.c > @@ -40,7 +40,7 @@ __idna_name_classify (const char *name) > break; > else if (result == (size_t) -2) > /* Incomplete trailing multi-byte character. This is an > - encoding error becaue we received the full name. */ > + encoding error because we received the full name. */ > return idna_name_encoding_error; > else if (result == (size_t) -1) > { > diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h > index e4d9928e3b..50141712fc 100644 > --- a/inet/netinet/igmp.h > +++ b/inet/netinet/igmp.h > @@ -110,7 +110,7 @@ struct igmp { > #define IGMP_v2_ROUTER 2 > > /* > - * The following four defininitions are for backwards compatibility. > + * The following four definitions are for backwards compatibility. > * They should be removed as soon as all applications are updated to > * use the new constant names. > */ > diff --git a/inet/rexec.c b/inet/rexec.c > index 1985fa4418..d479753fc2 100644 > --- a/inet/rexec.c > +++ b/inet/rexec.c > @@ -154,7 +154,7 @@ retry: > struct iovec iov[3] = > { > [0] = { .iov_base = (void *) name, .iov_len = strlen (name) + 1 }, > - /* should public key encypt the password here */ > + /* should public key encrypt the password here */ > [1] = { .iov_base = (void *) pass, .iov_len = strlen (pass) + 1 }, > [2] = { .iov_base = (void *) cmd, .iov_len = strlen (cmd) + 1 } > }; > diff --git a/io/file_change_detection.c b/io/file_change_detection.c > index d7b861694a..4f53aa76ac 100644 > --- a/io/file_change_detection.c > +++ b/io/file_change_detection.c > @@ -86,7 +86,7 @@ __file_change_detection_for_path (struct file_change_detection *file, > /* Other errors are fatal. */ > return false; > } > - else /* stat64 was successfull. */ > + else /* stat64 was successful. */ > { > __file_change_detection_for_stat (file, &st); > return true; > diff --git a/io/tst-fts.c b/io/tst-fts.c > index 41121db4cf..b65b285aeb 100644 > --- a/io/tst-fts.c > +++ b/io/tst-fts.c > @@ -201,7 +201,7 @@ do_test (void) > } > } > /* fts_read returns NULL when done (and clears errno) > - or when an error occured (with errno set). */ > + or when an error occurred (with errno set). */ > if (errno != 0) > { > printf ("FAIL: fts_read: %m\n"); > diff --git a/libio/oldfmemopen.c b/libio/oldfmemopen.c > index e320a860fc..61d02fc662 100644 > --- a/libio/oldfmemopen.c > +++ b/libio/oldfmemopen.c > @@ -32,7 +32,7 @@ > * - I never used the "original" fmemopen(). I am sure that "my" > * fmemopen() behaves differently than the original version. > * > - * - The documentation doesn't say wether a string stream allows > + * - The documentation doesn't say whether a string stream allows > * seeks. I checked the old fmemopen implementation in glibc's stdio > * directory, wasn't quite able to see what is going on in that > * source, but as far as I understand there was no seek there. For > diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c > index 67c49d74cc..089c61bf41 100644 > --- a/libio/tst-fopenloc.c > +++ b/libio/tst-fopenloc.c > @@ -47,7 +47,7 @@ do_bz17916 (void) > FILE *fp = fopen (inputfile, ccs); > if (fp != NULL) > { > - printf ("unxpected success\n"); > + printf ("unexpected success\n"); > return 1; > } > free (ccs); > diff --git a/libio/tst-memstream.h b/libio/tst-memstream.h > index de9bb549f7..2a9743fa62 100644 > --- a/libio/tst-memstream.h > +++ b/libio/tst-memstream.h > @@ -28,7 +28,7 @@ > #ifdef TEST_WCHAR > # include <wchar.h> > > -/* Straighforward implementation so tst-memstream3 could use check > +/* Straightforward implementation so tst-memstream3 could use check > fwrite on open_memstream. */ > static size_t __attribute__ ((used)) > fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) > diff --git a/libio/tst-setvbuf1.c b/libio/tst-setvbuf1.c > index 9222d4050d..44ae15815a 100644 > --- a/libio/tst-setvbuf1.c > +++ b/libio/tst-setvbuf1.c > @@ -1,4 +1,4 @@ > -/* Dereived from the test case in BZ #2337. */ > +/* Derived from the test case in BZ #2337. */ > #include <errno.h> > #include <error.h> > #include <fcntl.h> > diff --git a/libio/tst-vtables-interposed.c b/libio/tst-vtables-interposed.c > index e656f2b203..6f7d99a0ea 100644 > --- a/libio/tst-vtables-interposed.c > +++ b/libio/tst-vtables-interposed.c > @@ -20,7 +20,7 @@ > > /* Provide an interposed definition of the standard file handles with > our own vtable. stdout/stdin/stderr will not work as a result, but > - a succesful test does not print anything, so this is fine. */ > + a successful test does not print anything, so this is fine. */ > #include "libioP.h" > #undef _IO_file_jumps > #define _IO_file_jumps jumps > diff --git a/libio/tst-wmemstream3.c b/libio/tst-wmemstream3.c > index e22326820d..5edc01144c 100644 > --- a/libio/tst-wmemstream3.c > +++ b/libio/tst-wmemstream3.c > @@ -18,7 +18,7 @@ > > #include <wchar.h> > > -/* Straighforward implementation so tst-memstream3 could use check > +/* Straightforward implementation so tst-memstream3 could use check > fwrite on open_memstream. */ > static size_t > fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) > diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c > index 950e927200..f85654b9d1 100644 > --- a/login/programs/utmpdump.c > +++ b/login/programs/utmpdump.c > @@ -28,7 +28,7 @@ print_entry (struct utmp *up) > /* Mixed 32-/64-bit systems may have timeval structs of different sixe > but need struct utmp to be the same size. So in 64-bit up->ut_tv may > not be a timeval but a struct of __int32_t's. This would cause a compile > - time warning and a formating error when 32-bit int is passed where > + time warning and a formatting error when 32-bit int is passed where > a 64-bit long is expected. So copy up->up_tv to a temporary timeval. > This is 32-/64-bit agnostic and expands the timeval fields to the > expected size as needed. */ > diff --git a/login/utmp_file.c b/login/utmp_file.c > index 1ef0782139..7055041d5f 100644 > --- a/login/utmp_file.c > +++ b/login/utmp_file.c > @@ -153,7 +153,7 @@ __libc_setutent (void) > return 1; > } > > -/* Preform initialization if necessary. */ > +/* Perform initialization if necessary. */ > static bool > maybe_setutent (void) > { > diff --git a/mach/Machrules b/mach/Machrules > index d52f672d32..bbba63b2e0 100644 > --- a/mach/Machrules > +++ b/mach/Machrules > @@ -54,7 +54,7 @@ $(objpfx)dummy.mk: > > MIGFLAGS = -DSTANDALONE -DTypeCheck=0 \ > $(+includes) $(migdefines) -subrprefix __ > -# Putting CC in the enivronment makes the mig wrapper script > +# Putting CC in the environment makes the mig wrapper script > # use the same compiler setup we are using to run cpp. > MIG := CC='${CC}' CPP='${CPP} -x c' $(MIG) > > diff --git a/mach/errorlib.h b/mach/errorlib.h > index ff0c55eb36..5c145b8af8 100644 > --- a/mach/errorlib.h > +++ b/mach/errorlib.h > @@ -42,7 +42,7 @@ > * Author: Douglas Orr, Carnegie Mellon University > * Date: Mar. 1988 > * > - * Error bases for subsytems errors. > + * Error bases for subsystems errors. > */ > > #include <mach/error.h> > diff --git a/malloc/arena.c b/malloc/arena.c > index e98b779dbb..6f03955ff2 100644 > --- a/malloc/arena.c > +++ b/malloc/arena.c > @@ -39,7 +39,7 @@ > mmap threshold, so that requests with a size just below that > threshold can be fulfilled without creating too many heaps. */ > > -/* When huge pages are used to create new arenas, the maximum and minumum > +/* When huge pages are used to create new arenas, the maximum and minimum > size are based on the runtime defined huge page size. */ > > static inline size_t > diff --git a/malloc/malloc-debug.c b/malloc/malloc-debug.c > index da9d2340d3..f9d131d22f 100644 > --- a/malloc/malloc-debug.c > +++ b/malloc/malloc-debug.c > @@ -588,7 +588,7 @@ malloc_set_state (void *msptr) > __malloc_debug_disable (MALLOC_CHECK_HOOK); > > /* We do not need to perform locking here because malloc_set_state > - must be called before the first call into the malloc subsytem (usually via > + must be called before the first call into the malloc subsystem (usually via > __malloc_initialize_hook). pthread_create always calls calloc and thus > must be called only afterwards, so there cannot be more than one thread > when we reach this point. Also handle initialization if either we ended > diff --git a/malloc/malloc.c b/malloc/malloc.c > index 5d8b61d66c..b8c0f4f580 100644 > --- a/malloc/malloc.c > +++ b/malloc/malloc.c > @@ -271,7 +271,7 @@ > is fairly extensive, and will slow down execution > noticeably. Calling malloc_stats or mallinfo with MALLOC_DEBUG set > will attempt to check every non-mmapped allocated and free chunk in > - the course of computing the summmaries. (By nature, mmapped regions > + the course of computing the summaries. (By nature, mmapped regions > cannot be checked very much automatically.) > > Setting MALLOC_DEBUG may also be helpful if you are trying to modify > @@ -672,7 +672,7 @@ void* __libc_valloc(size_t); > arena: current total non-mmapped bytes allocated from system > ordblks: the number of free chunks > smblks: the number of fastbin blocks (i.e., small chunks that > - have been freed but not use resused or consolidated) > + have been freed but not reused or consolidated) > hblks: current number of mmapped regions > hblkhd: total bytes held in mmapped regions > usmblks: always 0 > @@ -1017,7 +1017,7 @@ libc_hidden_proto (__libc_mallopt) > > In 2001, the kernel had a maximum size for brk() which was about 800 > megabytes on 32 bit x86, at that point brk() would hit the first > - mmaped shared libaries and couldn't expand anymore. With current 2.6 > + mmaped shared libraries and couldn't expand anymore. With current 2.6 > kernels, the VA space layout is different and brk() and mmap > both can span the entire heap at will. > > @@ -1486,7 +1486,7 @@ tag_new_usable (void *ptr) > and consolidated sets of chunks, which is what these bins hold, so > they can be found quickly. All procedures maintain the invariant > that no consolidated chunk physically borders another one, so each > - chunk in a list is known to be preceeded and followed by either > + chunk in a list is known to be preceded and followed by either > inuse chunks or the ends of memory. > > Chunks in bins are kept in size order, with ties going to the > @@ -2475,7 +2475,7 @@ sysmalloc_mmap (INTERNAL_SIZE_T nb, size_t pagesize, int extra_flags, mstate av) > /* > Allocate memory using mmap() based on S and NB requested size, aligning to > PAGESIZE if required. The EXTRA_FLAGS is used on mmap() call. If the call > - succeedes S is updated with the allocated size. This is used as a fallback > + succeeds S is updated with the allocated size. This is used as a fallback > if MORECORE fails. > */ > static void * > @@ -2557,7 +2557,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av) > char *mm; > if (mp_.hp_pagesize > 0 && nb >= mp_.hp_pagesize) > { > - /* There is no need to isse the THP madvise call if Huge Pages are > + /* There is no need to issue the THP madvise call if Huge Pages are > used directly. */ > mm = sysmalloc_mmap (nb, mp_.hp_pagesize, mp_.hp_flags, av); > if (mm != MAP_FAILED) > @@ -3439,7 +3439,7 @@ __libc_realloc (void *oldmem, size_t bytes) > } > > /* Little security check which won't hurt performance: the allocator > - never wrapps around at the end of the address space. Therefore > + never wraps around at the end of the address space. Therefore > we can exclude some size values which might appear here by > accident or by "design" from some intruder. */ > if ((__builtin_expect ((uintptr_t) oldp > (uintptr_t) -oldsize, 0) > @@ -4486,7 +4486,7 @@ _int_free (mstate av, mchunkptr p, int have_lock) > size = chunksize (p); > > /* Little security check which won't hurt performance: the > - allocator never wrapps around at the end of the address space. > + allocator never wraps around at the end of the address space. > Therefore we can exclude some size values which might appear > here by accident or by "design" from some intruder. */ > if (__builtin_expect ((uintptr_t) p > (uintptr_t) -size, 0) > diff --git a/malloc/tst-mallocfork2.c b/malloc/tst-mallocfork2.c > index 6ef0f180e9..8a2979ad07 100644 > --- a/malloc/tst-mallocfork2.c > +++ b/malloc/tst-mallocfork2.c > @@ -147,7 +147,7 @@ do_test (void) > { > atexit (kill_children); > > - /* shared->barrier is intialized along with sigusr1_sender_pids > + /* shared->barrier is initialized along with sigusr1_sender_pids > below. */ > shared = support_shared_allocate (sizeof (*shared)); > > @@ -175,7 +175,7 @@ do_test (void) > signal_sender (SIGUSR2, true); > > /* Send SIGUSR1 signals from several processes. Hopefully, one > - signal will hit one of the ciritical functions. Use a barrier to > + signal will hit one of the critical functions. Use a barrier to > avoid sending signals while not running fork/free/malloc. */ > { > pthread_barrierattr_t attr; > diff --git a/malloc/tst-mallocfork3.c b/malloc/tst-mallocfork3.c > index 254f71d2a1..80fc2dd06c 100644 > --- a/malloc/tst-mallocfork3.c > +++ b/malloc/tst-mallocfork3.c > @@ -142,7 +142,7 @@ do_test (void) > sigusr2_sender = xpthread_create (NULL, signal_sender, &sigusr2_args); > > /* Send SIGUSR1 signals from several threads. Hopefully, one > - signal will hit one of the ciritical functions. Use a barrier to > + signal will hit one of the critical functions. Use a barrier to > avoid sending signals while not running fork/free/malloc. */ > struct signal_send_args sigusr1_args = { self, SIGUSR1, false }; > xpthread_barrier_init (&barrier, NULL, > diff --git a/malloc/tst-mallocstate.c b/malloc/tst-mallocstate.c > index 704ec88a6e..340a394d1a 100644 > --- a/malloc/tst-mallocstate.c > +++ b/malloc/tst-mallocstate.c > @@ -45,7 +45,7 @@ enum allocation_action > action_free, /* Dumped and freed. */ > action_realloc, /* Dumped and realloc'ed. */ > action_realloc_same, /* Dumped and realloc'ed, same size. */ > - action_realloc_smaller, /* Dumped and realloc'ed, shrinked. */ > + action_realloc_smaller, /* Dumped and realloc'ed, shrunk. */ > action_count > }; > > diff --git a/manual/README.pretty-printers b/manual/README.pretty-printers > index a2ba89843c..a696406ce5 100644 > --- a/manual/README.pretty-printers > +++ b/manual/README.pretty-printers > @@ -140,7 +140,7 @@ its name to the 'tests-printers-libs' variable in your submodule's Makefile. > Known issues > ------------ > > -* Pretty printers are inherently coupled to the code they're targetting, thus > +* Pretty printers are inherently coupled to the code they're targeting, thus > any changes to the target code must also update the corresponding printers. > On the plus side, the printer code itself may serve as a kind of documentation > for the target code. > diff --git a/manual/arith.texi b/manual/arith.texi > index 002621f11e..fa7110e992 100644 > --- a/manual/arith.texi > +++ b/manual/arith.texi > @@ -111,7 +111,7 @@ minimum possible values for each integer data type. The macro names > follow these examples: @code{INT32_MAX}, @code{UINT8_MAX}, > @code{INT_FAST32_MIN}, @code{INT_LEAST64_MIN}, @code{UINTMAX_MAX}, > @code{INTMAX_MAX}, @code{INTMAX_MIN}. Note that there are no macros for > -unsigned integer minima. These are always zero. Similiarly, there > +unsigned integer minima. These are always zero. Similarly, there > are macros such as @code{INTMAX_WIDTH} for the width of these types. > Those macros for integer type widths come from TS 18661-1:2014. > @cindex maximum possible integer > diff --git a/manual/install.texi b/manual/install.texi > index a1f01a1ec0..a44a552d1f 100644 > --- a/manual/install.texi > +++ b/manual/install.texi > @@ -509,7 +509,7 @@ build @theglibc{}: > @item > GNU @code{make} 4.0 or newer > > -As of relase time, GNU @code{make} 4.4 is the newest verified to work > +As of release time, GNU @code{make} 4.4 is the newest verified to work > to build @theglibc{}. > > @item > diff --git a/manual/intro.texi b/manual/intro.texi > index 9bdfd09c83..ff43c5a7fb 100644 > --- a/manual/intro.texi > +++ b/manual/intro.texi > @@ -1294,14 +1294,14 @@ this manual. > @c Pattern Matching (10) > @c Input/Output Overview (11) > @c Input/Output on Streams (12) > -@c Low-level Input/Ooutput (13) > +@c Low-level Input/Output (13) > @c File System Interface (14) > @c Pipes and FIFOs (15) > @c Sockets (16) > @c Low-Level Terminal Interface (17) > @c Syslog (18) > @c Mathematics (19) > -@c Aritmetic Functions (20) > +@c Arithmetic Functions (20) > @c Date and Time (21) > @c Non-Local Exist (23) > @c Signal Handling (24) > diff --git a/manual/ipc.texi b/manual/ipc.texi > index be74664af9..6a6e5ad410 100644 > --- a/manual/ipc.texi > +++ b/manual/ipc.texi > @@ -62,7 +62,7 @@ by @theglibc{}. > @safety{@prelim{}@mtsafe{}@asunsafe{@asuinit{}}@acunsafe{@acuinit{}}} > @c pthread_once asuinit > @c > -@c We are AC-Unsafe becuase we use pthread_once to initialize > +@c We are AC-Unsafe because we use pthread_once to initialize > @c a global variable that holds the location of the mounted > @c shmfs on Linux. > @end deftypefun > diff --git a/manual/llio.texi b/manual/llio.texi > index 1b801ee817..0b61d491f5 100644 > --- a/manual/llio.texi > +++ b/manual/llio.texi > @@ -320,7 +320,7 @@ is used. > > @item ENOMEM > Either there is not enough memory for the operation, or the process is > -out of address space. It can only happnes when @code{CLOSE_RANGE_UNSHARED} > +out of address space. It can only happen when @code{CLOSE_RANGE_UNSHARED} > flag is used. > > @item EMFILE > diff --git a/manual/memory.texi b/manual/memory.texi > index 8952ff2bfa..5781a64f35 100644 > --- a/manual/memory.texi > +++ b/manual/memory.texi > @@ -1746,7 +1746,7 @@ are no problems with the code, all allocated memory was freed > afterwards. > > If we call @code{mtrace} on the example trace given above we would get a > -different outout: > +different output: > > @example > drepper$ mtrace errlog > diff --git a/manual/pattern.texi b/manual/pattern.texi > index 4fa4c25525..250fa1e265 100644 > --- a/manual/pattern.texi > +++ b/manual/pattern.texi > @@ -258,7 +258,7 @@ containing a given name. > The @code{glob} function reads the @code{struct dirent} members listed > above and makes a copy of the file name in the @code{d_name} member > immediately after the @code{gl_readdir} callback function returns. > -Future invocations of any of the callback functions may dealloacte or > +Future invocations of any of the callback functions may deallocate or > reuse the buffer. It is the responsibility of the caller of the > @code{glob} function to allocate and deallocate the buffer, around the > call to @code{glob} or using the callback functions. For example, an > diff --git a/manual/process.texi b/manual/process.texi > index 9307379194..c8413a5a58 100644 > --- a/manual/process.texi > +++ b/manual/process.texi > @@ -254,7 +254,7 @@ It is declared in the header file @file{unistd.h}. > @c handlers, and unlocks the internal lock. The child bumps the fork > @c generation, sets the thread-local pid, resets cpu clocks, initializes > @c the robust mutex list, the stream locks, the IO_list lock, the dynamic > -@c loader lock, runs the child handlers, reseting ref counters to 1, and > +@c loader lock, runs the child handlers, resetting ref counters to 1, and > @c initializes the fork lock. These are all safe, unless atfork > @c handlers themselves are unsafe. > The @code{fork} function creates a new process. > diff --git a/manual/socket.texi b/manual/socket.texi > index 68c930b552..f0e35d9e13 100644 > --- a/manual/socket.texi > +++ b/manual/socket.texi > @@ -821,7 +821,7 @@ here. The address is stored in network byte order. > This combines the IPv6 traffic class and flow label values, as found > in the IPv6 header. This field is stored in network byte order. Only > the 28 lower bits (of the number in network byte order) are used; the > -remainig bits must be zero. The lower 20 bits are the flow label, and > +remaining bits must be zero. The lower 20 bits are the flow label, and > bits 20 to 27 are the the traffic class. Typically, this field is > zero. > > diff --git a/manual/threads.texi b/manual/threads.texi > index a721c7f464..e5544ff3da 100644 > --- a/manual/threads.texi > +++ b/manual/threads.texi > @@ -945,7 +945,7 @@ undefined behavior.) In any case, an application must not write to > @code{__libc_single_threaded} even if it has joined the last > application-created thread because future versions of @theglibc{} may > create background threads after the first thread has been created, and > -the application has no way of knowning that these threads are present. > +the application has no way of knowing that these threads are present. > > @node Restartable Sequences > @subsubsection Restartable Sequences > diff --git a/manual/time.texi b/manual/time.texi > index 0c7a942b4c..3aabdc4953 100644 > --- a/manual/time.texi > +++ b/manual/time.texi > @@ -503,7 +503,7 @@ Systems may support more than just these two clocks. > > @deftypefun int clock_gettime (clockid_t @var{clock}, struct timespec *@var{ts}) > @standards{POSIX.1, time.h} > -Get the current time accoding to the clock identified by @var{clock}, > +Get the current time according to the clock identified by @var{clock}, > storing it as seconds and nanoseconds in @code{*@var{ts}}. > @xref{Time Types}, for a description of @code{struct timespec}. > > diff --git a/manual/tunables.texi b/manual/tunables.texi > index 130f94b2bc..4ca0e42a11 100644 > --- a/manual/tunables.texi > +++ b/manual/tunables.texi > @@ -446,7 +446,7 @@ stack cache exceeds this size, unused thread stacks are returned to > the kernel, to bring the cache size below this limit. > > The value is measured in bytes. The default is @samp{41943040} > -(fourty mibibytes). > +(forty mibibytes). > @end deftp > > @deftp Tunable glibc.pthread.rseq > @@ -625,7 +625,7 @@ and the process manage memory. > @deftp Tunable glibc.mem.tagging > If the hardware supports memory tagging, this tunable can be used to > control the way @theglibc{} uses this feature. At present this is only > -supported on AArch64 systems with the MTE extention; it is ignored for > +supported on AArch64 systems with the MTE extension; it is ignored for > all other systems. > > This tunable takes a value between 0 and 255 and acts as a bitmask > diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h > index f27ffddee1..a0388c907e 100644 > --- a/math/bits/mathcalls.h > +++ b/math/bits/mathcalls.h > @@ -271,7 +271,7 @@ __MATHCALL (nextdown,, (_Mdouble_ __x)); > __MATHCALL (nextup,, (_Mdouble_ __x)); > # endif > > -/* Return the remainder of integer divison X / Y with infinite precision. */ > +/* Return the remainder of integer division X / Y with infinite precision. */ > __MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y)); > > # ifdef __USE_ISOC99 > diff --git a/math/fenv.h b/math/fenv.h > index 6bb6e2d2ac..2279244372 100644 > --- a/math/fenv.h > +++ b/math/fenv.h > @@ -25,7 +25,7 @@ > #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION > #include <bits/libc-header-start.h> > > -/* Get the architecture dependend definitions. The following definitions > +/* Get the architecture dependent definitions. The following definitions > are expected to be done: > > fenv_t type for object representing an entire floating-point > diff --git a/math/libm-test-support.c b/math/libm-test-support.c > index a827e95361..8fe3082929 100644 > --- a/math/libm-test-support.c > +++ b/math/libm-test-support.c > @@ -83,7 +83,7 @@ > functions. > > Inline functions: Inlining functions should give an improvement in > - speed - but not in precission. The inlined functions return > + speed - but not in precision. The inlined functions return > reasonable values for a reasonable range of input values. The > result is not necessarily correct for all values and exceptions are > not correctly raised in all cases. Problematic input and return > diff --git a/math/math.h b/math/math.h > index 6dc0604132..6427c72276 100644 > --- a/math/math.h > +++ b/math/math.h > @@ -1301,7 +1301,7 @@ iszero (__T __val) > these operations. Generic support in GCC for these as builtins went > in 2.97, but not all cpus added their patterns until 3.1. Therefore > we enable the builtins from 3.1 onwards and use a generic implementation > - othwerwise. */ > + otherwise. */ > # define isgreater(x, y) __builtin_isgreater(x, y) > # define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) > # define isless(x, y) __builtin_isless(x, y) > diff --git a/math/test-fenv.c b/math/test-fenv.c > index 5b5f461dcd..0af7141ba7 100644 > --- a/math/test-fenv.c > +++ b/math/test-fenv.c > @@ -761,7 +761,7 @@ initial_tests (void) > test_exceptions ("Initially all exceptions should be cleared", > NO_EXC, 0); > #ifdef FE_TONEAREST > - test_rounding ("Rounding direction should be initalized to nearest", > + test_rounding ("Rounding direction should be initialized to nearest", > FE_TONEAREST); > #endif > } > diff --git a/math/tgmath.h b/math/tgmath.h > index 0bcfb7ca85..ca90c5b4da 100644 > --- a/math/tgmath.h > +++ b/math/tgmath.h > @@ -961,7 +961,7 @@ > #define nexttoward(Val1, Val2) \ > __TGMATH_BINARY_FIRST_REAL_STD_ONLY (Val1, Val2, nexttoward) > > -/* Return the remainder of integer divison X / Y with infinite precision. */ > +/* Return the remainder of integer division X / Y with infinite precision. */ > #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder) > > /* Return X times (2 to the Nth power). */ > diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c > index 05085d3eb5..35b4328ae7 100644 > --- a/misc/hsearch_r.c > +++ b/misc/hsearch_r.c > @@ -160,7 +160,7 @@ __hsearch_r (ENTRY item, ACTION action, ENTRY **retval, > if (hval == 0) > ++hval; > > - /* First hash function: simply take the modul but prevent zero. */ > + /* First hash function: simply take the modulo but prevent zero. */ > idx = hval % htab->size + 1; > > if (htab->table[idx].used) > diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c > index 3d838d97cc..4570b13524 100644 > --- a/misc/preadv64v2.c > +++ b/misc/preadv64v2.c > @@ -19,7 +19,7 @@ > #include <errno.h> > #include <sys/uio.h> > > -/* Same as preadv64 but with an addional flag argument. */ > +/* Same as preadv64 but with an additional flag argument. */ > ssize_t > preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset, > int flags) > diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c > index 7f7c70816e..0be19d7b4d 100644 > --- a/misc/pwritev64v2.c > +++ b/misc/pwritev64v2.c > @@ -19,7 +19,7 @@ > #include <errno.h> > #include <sys/uio.h> > > -/* Same as preadv64 but with an addional flag argument. */ > +/* Same as preadv64 but with an additional flag argument. */ > ssize_t > pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset, > int flags) > diff --git a/misc/search.h b/misc/search.h > index 0ca868e12a..30191d40cc 100644 > --- a/misc/search.h > +++ b/misc/search.h > @@ -78,7 +78,7 @@ struct _ENTRY; > > /* Family of hash table handling functions. The functions also > have reentrant counterparts ending with _r. The non-reentrant > - functions all work on a signle internal hashing table. */ > + functions all work on a single internal hashing table. */ > > /* Search for entry matching ITEM.key in internal hash table. If > ACTION is `FIND' return found entry or signal error by returning > diff --git a/misc/tst-efgcvt-template.c b/misc/tst-efgcvt-template.c > index b924659a3d..dc37f5598f 100644 > --- a/misc/tst-efgcvt-template.c > +++ b/misc/tst-efgcvt-template.c > @@ -208,13 +208,13 @@ special (void) > res = ECVT_R (123.456, 10, &decpt, &sign, buf, 1); > if (res == 0) > { > - printf (NAME (ECVT_R) " with a too small buffer was succesful.\n"); > + printf (NAME (ECVT_R) " with a too small buffer was successful.\n"); > support_record_failure (); > } > res = FCVT_R (123.456, 10, &decpt, &sign, buf, 1); > if (res == 0) > { > - printf (NAME (FCVT_R) " with a too small buffer was succesful.\n"); > + printf (NAME (FCVT_R) " with a too small buffer was successful.\n"); > support_record_failure (); > } > } > diff --git a/misc/tst-mntent-blank-corrupt.c b/misc/tst-mntent-blank-corrupt.c > index 5cde4ced47..ef7fe03a6d 100644 > --- a/misc/tst-mntent-blank-corrupt.c > +++ b/misc/tst-mntent-blank-corrupt.c > @@ -34,7 +34,7 @@ do_test (void) > > /* The corruption happens here ... */ > getmntent (fp); > - /* ... but trigers here. */ > + /* ... but triggers here. */ > endmntent (fp); > > /* If the test failed, we would crash, and not hit this point. */ > diff --git a/nptl/TODO b/nptl/TODO > index 70b8fe4f76..357ee790b0 100644 > --- a/nptl/TODO > +++ b/nptl/TODO > @@ -26,6 +26,6 @@ syscall needed. > post if they get canceled. > > - possibly add counter field. This requires reviving the > - differences between old and new semaphose funtions. The old ones > - stay as they are now. The new once can use an additional field > - wich is the counter for the number of waiters > + differences between old and new semaphore functions. The old ones > + stay as they are now. The new ones can use an additional field > + which is the counter for the number of waiters > diff --git a/nptl/descr.h b/nptl/descr.h > index f8b5ac7c22..746a4b9e4a 100644 > --- a/nptl/descr.h > +++ b/nptl/descr.h > @@ -119,7 +119,7 @@ struct robust_list_head > }; > > > -/* Data strcture used to handle thread priority protection. */ > +/* Data structure used to handle thread priority protection. */ > struct priority_protection_data > { > int priomax; > diff --git a/nptl/futex-internal.c b/nptl/futex-internal.c > index 9815060646..5a64d14338 100644 > --- a/nptl/futex-internal.c > +++ b/nptl/futex-internal.c > @@ -59,7 +59,7 @@ __futex_abstimed_wait_common64 (unsigned int* futex_word, > FUTEX_BITSET_MATCH_ANY); > else > return INTERNAL_SYSCALL_CALL (futex_time64, futex_word, op, expected, > - abstime, NULL /* Ununsed. */, > + abstime, NULL /* Unused. */, > FUTEX_BITSET_MATCH_ANY); > } > > diff --git a/nptl/perf.c b/nptl/perf.c > index 1f50c1035d..1f29a678b7 100644 > --- a/nptl/perf.c > +++ b/nptl/perf.c > @@ -50,7 +50,7 @@ > static const struct argp_option options[] = > { > { NULL, 0, NULL, 0, "\ > -This is a test for threads so we allow ther user to selection the number of \ > +This is a test for threads so we allow the user to select the number of \ > threads which are used at any one time. Independently the total number of \ > rounds can be selected. This is the total number of threads which will have \ > run when the process terminates:" }, > @@ -387,7 +387,7 @@ main (int argc, char *argv[]) > tmain = pthread_self (); > > /* We use signal SIGUSR1 for communication between the threads and > - the main thread. We only want sychronous notification. */ > + the main thread. We only want synchronous notification. */ > if (sync_method == sync_signal) > { > sigemptyset (&ss); > diff --git a/nptl/pthread_cond_common.c b/nptl/pthread_cond_common.c > index 3ca9ab92b9..7440bb18e6 100644 > --- a/nptl/pthread_cond_common.c > +++ b/nptl/pthread_cond_common.c > @@ -230,7 +230,7 @@ __condvar_quiesce_and_switch_g1 (pthread_cond_t *cond, uint64_t wseq, > > /* First, set the closed flag on __g_signals. This tells waiters that are > about to wait that they shouldn't do that anymore. This basically > - serves as an advance notificaton of the upcoming change to __g1_start; > + serves as an advance notification of the upcoming change to __g1_start; > waiters interpret it as if __g1_start was larger than their waiter > sequence position. This allows us to change __g1_start after waiting > for all existing waiters with group references to leave, which in turn > diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c > index 15bbd8b7e8..806c432d13 100644 > --- a/nptl/pthread_cond_wait.c > +++ b/nptl/pthread_cond_wait.c > @@ -583,7 +583,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex, > the futex. We also need to do that if we skipped adding > a signal because the group is being closed because > while __condvar_quiesce_and_switch_g1 could have closed > - the group, it might stil be waiting for futex waiters to > + the group, it might still be waiting for futex waiters to > leave (and one of those waiters might be the one we stole > the signal from, which cause it to block using the > futex). */ > @@ -603,7 +603,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex, > __condvar_confirm_wakeup (cond, private); > > /* Woken up; now re-acquire the mutex. If this doesn't fail, return RESULT, > - which is set to ETIMEDOUT if a timeout occured, or zero otherwise. */ > + which is set to ETIMEDOUT if a timeout occurred, or zero otherwise. */ > err = __pthread_mutex_cond_lock (mutex); > /* XXX Abort on errors that are disallowed by POSIX? */ > return (err != 0) ? err : result; > diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c > index a3619da1e2..1ac8862ed2 100644 > --- a/nptl/pthread_create.c > +++ b/nptl/pthread_create.c > @@ -218,7 +218,7 @@ late_init (void) > __pthread_current_priority reuse the same lock, PD->lock, for a > similar purpose e.g. synchronizing the setting of similar thread > attributes. These functions are never called before the thread is > - created, so don't participate in startup syncronization, but given > + created, so don't participate in startup synchronization, but given > that the lock is present already and in the unlocked state, reusing > it saves space. > > diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c > index de7edfa092..65647bda57 100644 > --- a/nptl/pthread_getattr_np.c > +++ b/nptl/pthread_getattr_np.c > @@ -43,7 +43,7 @@ __pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr) > lll_lock (thread->lock, LLL_PRIVATE); > > /* The thread library is responsible for keeping the values in the > - thread desriptor up-to-date in case the user changes them. */ > + thread descriptor up-to-date in case the user changes them. */ > memcpy (&iattr->schedparam, &thread->schedparam, > sizeof (struct sched_param)); > iattr->schedpolicy = thread->schedpolicy; > diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c > index d4f96c70ef..643841472f 100644 > --- a/nptl/pthread_mutex_lock.c > +++ b/nptl/pthread_mutex_lock.c > @@ -234,7 +234,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex) > /* The previous owner died. Try locking the mutex. */ > int newval = id; > #ifdef NO_INCR > - /* We are not taking assume_other_futex_waiters into accoount > + /* We are not taking assume_other_futex_waiters into account > here simply because we'll set FUTEX_WAITERS anyway. */ > newval |= FUTEX_WAITERS; > #else > @@ -438,7 +438,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex) > int private = (robust > ? PTHREAD_ROBUST_MUTEX_PSHARED (mutex) > : PTHREAD_MUTEX_PSHARED (mutex)); > - int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* ununsed */, > + int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* unused */, > NULL, private); > if (e == ESRCH || e == EDEADLK) > { > diff --git a/nptl/sem_waitcommon.c b/nptl/sem_waitcommon.c > index 647132c1ea..30200c941f 100644 > --- a/nptl/sem_waitcommon.c > +++ b/nptl/sem_waitcommon.c > @@ -325,7 +325,7 @@ __sem_wait_32_finish (struct new_sem *sem) > unsigned int wguess = atomic_load_relaxed (&sem->nwaiters); > if (wguess == 1) > /* We might be the last waiter, so unset. This needs acquire MO so that > - it syncronizes with the release MO when setting the bit above; if we > + it synchronizes with the release MO when setting the bit above; if we > overwrite someone else that set the bit, we'll read in the following > decrement of nwaiters at least from that release sequence, so we'll > see if the other waiter is still active or if another writer entered > diff --git a/nptl/tst-dlsym1.c b/nptl/tst-dlsym1.c > index 19ba8f5640..bdf252b353 100644 > --- a/nptl/tst-dlsym1.c > +++ b/nptl/tst-dlsym1.c > @@ -53,7 +53,7 @@ do_test (void) > } > if (pthread_join (tid3, NULL) != 0) > { > - puts ("2rd join failed"); > + puts ("2nd join failed"); > exit (1); > } > > diff --git a/nptl/tst-rwlock20.c b/nptl/tst-rwlock20.c > index 0904d4b658..0ea18fc428 100644 > --- a/nptl/tst-rwlock20.c > +++ b/nptl/tst-rwlock20.c > @@ -26,7 +26,7 @@ > #include <atomic.h> > #include <support/xthread.h> > > -/* We realy want to set threads to 2 to reproduce this issue. The goal > +/* We really want to set threads to 2 to reproduce this issue. The goal > is to have one primary writer and a single reader, and to hit the > bug that happens in the interleaving of those two phase transitions. > However, on most hardware, adding a second writer seems to help the > diff --git a/nptl/tst-stack4.c b/nptl/tst-stack4.c > index 565eea4ebd..a27cfacb9c 100644 > --- a/nptl/tst-stack4.c > +++ b/nptl/tst-stack4.c > @@ -1,4 +1,4 @@ > -/* Test DTV size oveflow when pthread_create reuses old DTV and TLS is > +/* Test DTV size overflow when pthread_create reuses old DTV and TLS is > used by dlopened shared object. > Copyright (C) 2014-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > @@ -23,7 +23,7 @@ > #include <assert.h> > #include <pthread.h> > > -/* The choices of thread count, and file counts are arbitary. > +/* The choices of thread count, and file counts are arbitrary. > The point is simply to run enough threads that an exiting > thread has it's stack reused by another thread at the same > time as new libraries have been loaded. */ > diff --git a/nptl/tst-tls3.c b/nptl/tst-tls3.c > index b1a40c624a..fdb376eed0 100644 > --- a/nptl/tst-tls3.c > +++ b/nptl/tst-tls3.c > @@ -28,7 +28,7 @@ > > #define THE_SIG SIGUSR1 > > -/* The stack size can be overriden. With a sufficiently large stack > +/* The stack size can be overridden. With a sufficiently large stack > size, thread stacks for terminated threads are freed, but this does > not happen with the default size of 1 MiB. */ > enum { default_stack_size_in_mb = 1 }; > diff --git a/nptl/tst-tsd3.c b/nptl/tst-tsd3.c > index c755c0ceb4..0b3b01fe47 100644 > --- a/nptl/tst-tsd3.c > +++ b/nptl/tst-tsd3.c > @@ -36,7 +36,7 @@ destr1 (void *arg) > { > puts ("set key2"); > > - /* Use an arbirary but valid pointer to avoid GCC warnings. */ > + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ > if (pthread_setspecific (key2, (void *) &left) != 0) > { > puts ("destr1: setspecific failed"); > @@ -53,7 +53,7 @@ destr2 (void *arg) > { > puts ("set key1"); > > - /* Use an arbirary but valid pointer to avoid GCC warnings. */ > + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ > if (pthread_setspecific (key1, (void *) &left) != 0) > { > puts ("destr2: setspecific failed"); > @@ -69,7 +69,7 @@ tf (void *arg) > /* Let the destructors work. */ > left = 7; > > - /* Use an arbirary but valid pointer to avoid GCC warnings. */ > + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ > if (pthread_setspecific (key1, (void *) &left) != 0 > || pthread_setspecific (key2, (void *) &left) != 0) > { > diff --git a/nptl/tst-tsd4.c b/nptl/tst-tsd4.c > index f832f4bc17..2ae577a642 100644 > --- a/nptl/tst-tsd4.c > +++ b/nptl/tst-tsd4.c > @@ -33,7 +33,7 @@ destr (void *arg) > { > ++rounds; > > - /* Use an arbirary but valid pointer to avoid GCC warnings. */ > + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ > if (pthread_setspecific (key, (void *) &rounds) != 0) > { > puts ("destr: setspecific failed"); > @@ -45,7 +45,7 @@ destr (void *arg) > static void * > tf (void *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, (void *) &rounds) != 0) > { > puts ("tf: setspecific failed"); > diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c > index 1021039b4f..786abe3115 100644 > --- a/nptl_db/td_thr_get_info.c > +++ b/nptl_db/td_thr_get_info.c > @@ -85,7 +85,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop) > if (err != TD_OK) > return err; > > - /* Fill in information. Clear first to provide reproducable > + /* Fill in information. Clear first to provide reproducible > results for the fields we do not fill in. */ > memset (infop, '\0', sizeof (td_thrinfo_t)); > > diff --git a/nptl_db/thread_dbP.h b/nptl_db/thread_dbP.h > index 8845722109..2cc2cb7dd3 100644 > --- a/nptl_db/thread_dbP.h > +++ b/nptl_db/thread_dbP.h > @@ -32,7 +32,7 @@ > #include <gnu/lib-names.h> > #include <libc-diag.h> > > -/* Indeces for the symbol names. */ > +/* Indices for the symbol names. */ > enum > { > # define DB_STRUCT(type) SYM_SIZEOF_##type, > diff --git a/nscd/connections.c b/nscd/connections.c > index b1231a96db..a405a44a9b 100644 > --- a/nscd/connections.c > +++ b/nscd/connections.c > @@ -1454,7 +1454,7 @@ cannot change to old working directory: %s; disabling paranoia mode"), > paranoia = 0; > free (cmdline); > > - /* Reenable the databases. */ > + /* Re-enable the databases. */ > time_t now = time (NULL); > for (int cnt = 0; cnt < lastdb; ++cnt) > if (dbs[cnt].enabled) > @@ -1532,11 +1532,11 @@ nscd_run_prune (void *p) > if (e == ETIMEDOUT || now >= dbs[my_number].wakeup_time > || dbs[my_number].clear_cache) > { > - /* We will determine the new timout values based on the > + /* We will determine the new timeout values based on the > cache content. Should there be concurrent additions to > the cache which are not accounted for in the cache > pruning we want to know about it. Therefore set the > - timeout to the maximum. It will be descreased when adding > + timeout to the maximum. It will be decreased when adding > new entries to the cache, if necessary. */ > dbs[my_number].wakeup_time = MAX_TIMEOUT_VALUE; > > diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c > index b8060da64f..be44951bd6 100644 > --- a/nscd/initgrcache.c > +++ b/nscd/initgrcache.c > @@ -93,7 +93,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req, > > long int size; > if (limit > 0) > - /* We limit the size of the intially allocated array. */ > + /* We limit the size of the initially allocated array. */ > size = MIN (limit, 64); > else > /* No fixed limit on groups. Pick a starting buffer size. */ > diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h > index 7275ccb665..5588ade982 100644 > --- a/nscd/nscd-client.h > +++ b/nscd/nscd-client.h > @@ -389,7 +389,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen, > request_type type, void *response, > size_t responselen) attribute_hidden; > > -/* Try to get a file descriptor for the shared meory segment > +/* Try to get a file descriptor for the shared memory segment > containing the database. */ > extern struct mapped_database *__nscd_get_mapping (request_type type, > const char *key, > diff --git a/nscd/nscd.c b/nscd/nscd.c > index 424106421f..eb79136b0f 100644 > --- a/nscd/nscd.c > +++ b/nscd/nscd.c > @@ -600,7 +600,7 @@ check_pid (const char *file) > > /* If we cannot parse the file default to assuming nscd runs. > If the PID is alive, assume it is running. That all unless > - the PID is the same as the current process' since tha latter > + the PID is the same as the current process' since the latter > can mean we re-exec. */ > if ((n != 1 || kill (pid, 0) == 0) && pid != getpid ()) > return 1; > diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c > index 6a498b363c..aa41dc158d 100644 > --- a/nscd/nscd_helper.c > +++ b/nscd/nscd_helper.c > @@ -251,7 +251,7 @@ __nscd_unmap (struct mapped_database *mapped) > } > > > -/* Try to get a file descriptor for the shared meory segment > +/* Try to get a file descriptor for the shared memory segment > containing the database. */ > struct mapped_database * > __nscd_get_mapping (request_type type, const char *key, > @@ -443,7 +443,7 @@ __nscd_get_map_ref (request_type type, const char *name, > #define MINIMUM_HASHENTRY_SIZE \ > (offsetof (struct hashentry, dellist) + sizeof (int32_t)) > > -/* Don't return const struct datahead *, as eventhough the record > +/* Don't return const struct datahead *, as even though the record > is normally constant, it can change arbitrarily during nscd > garbage collection. */ > struct datahead * > diff --git a/nscd/nscd_setup_thread.c b/nscd/nscd_setup_thread.c > index ca363e66fe..5d6eff7a59 100644 > --- a/nscd/nscd_setup_thread.c > +++ b/nscd/nscd_setup_thread.c > @@ -1,4 +1,4 @@ > -/* Setup of nscd worker threads. Stub verison. > +/* Setup of nscd worker threads. Stub version. > Copyright (C) 2004-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c > index 1db4bee2ff..a1c2053234 100644 > --- a/nscd/nscd_stat.c > +++ b/nscd/nscd_stat.c > @@ -275,7 +275,7 @@ receive_print_stats (void) > if (enabled[0] == '\0') > /* The locale does not provide this information so we have to > translate it ourself. Since we should avoid short translation > - terms we artifically increase the length. */ > + terms we artificially increase the length. */ > enabled = data.dbs[i].enabled ? yesstr : nostr; > if (check_file[0] == '\0') > check_file = data.dbs[i].check_file ? yesstr : nostr; > diff --git a/nss/nss_compat/compat-grp.c b/nss/nss_compat/compat-grp.c > index 5d8a768a6e..92d099eb23 100644 > --- a/nss/nss_compat/compat-grp.c > +++ b/nss/nss_compat/compat-grp.c > @@ -213,7 +213,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer, > return NSS_STATUS_SUCCESS; > } > > -/* This function handle the +group entrys in /etc/group */ > +/* This function handle the +group entries in /etc/group */ > static enum nss_status > getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent, > char *buffer, size_t buflen, int *errnop) > diff --git a/nss/nss_compat/compat-pwd.c b/nss/nss_compat/compat-pwd.c > index 5e07274db5..f9ad94006d 100644 > --- a/nss/nss_compat/compat-pwd.c > +++ b/nss/nss_compat/compat-pwd.c > @@ -437,7 +437,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer, > return NSS_STATUS_SUCCESS; > } > > -/* This function handle the +user entrys in /etc/passwd */ > +/* This function handle the +user entries in /etc/passwd */ > static enum nss_status > getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent, > char *buffer, size_t buflen, int *errnop) > diff --git a/nss/nss_compat/compat-spwd.c b/nss/nss_compat/compat-spwd.c > index 44220ad577..c3ce41b186 100644 > --- a/nss/nss_compat/compat-spwd.c > +++ b/nss/nss_compat/compat-spwd.c > @@ -387,7 +387,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent, > } > > > -/* This function handle the +user entrys in /etc/shadow */ > +/* This function handle the +user entries in /etc/shadow */ > static enum nss_status > getspnam_plususer (const char *name, struct spwd *result, ent_t *ent, > char *buffer, size_t buflen, int *errnop) > diff --git a/nss/nss_database.c b/nss/nss_database.c > index 2edcab4b9d..128b73afeb 100644 > --- a/nss/nss_database.c > +++ b/nss/nss_database.c > @@ -331,7 +331,7 @@ nss_database_reload (struct nss_database_data *staging, > if (fp != NULL) > ok = nss_database_reload_1 (staging, fp); > > - /* Now we have non-NULL entries where the user explictly listed the > + /* Now we have non-NULL entries where the user explicitly listed the > service in nsswitch.conf. */ > > /* Apply defaults. */ > diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c > index 136706001d..a5279dc08d 100644 > --- a/nss/nss_db/db-open.c > +++ b/nss/nss_db/db-open.c > @@ -27,7 +27,7 @@ > > #include "nss_db.h" > > -/* Open the database stored in FILE. If succesful, store either a > +/* Open the database stored in FILE. If successful, store either a > pointer to the mapped file or a file handle for the file in H and > return NSS_STATUS_SUCCESS. On failure, return the appropriate > lookup status. */ > diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h > index 6e77b4c419..a408b89ef1 100644 > --- a/nss/nss_db/nss_db.h > +++ b/nss/nss_db/nss_db.h > @@ -57,7 +57,7 @@ struct nss_db_map > }; > > > -/* Open the database stored in FILE. If succesful, store the database > +/* Open the database stored in FILE. If successful, store the database > handle in *MAPPINGP or a file descriptor for the file in *FDP and > return NSS_STATUS_SUCCESS. On failure, return the appropriate > lookup status. */ > diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c > index 4b1ab0537f..c010d21fde 100644 > --- a/nss/nss_files/files-network.c > +++ b/nss/nss_files/files-network.c > @@ -42,7 +42,7 @@ LINE_PARSER > > STRING_FIELD (addr, isspace, 1); > /* 'inet_network' does not add zeroes at the end if the network number > - does not four byte values. We add them outselves if necessary. */ > + does not four byte values. We add them ourselves if necessary. */ > cp = strchr (addr, '.'); > if (cp != NULL) > { > diff --git a/nss/nss_parse_line_result.c b/nss/nss_parse_line_result.c > index 1d257af4fb..8f9917168d 100644 > --- a/nss/nss_parse_line_result.c > +++ b/nss/nss_parse_line_result.c > @@ -29,7 +29,7 @@ __nss_parse_line_result (FILE *fp, off64_t offset, int parse_line_result) > switch (__builtin_expect (parse_line_result, 1)) > { > case 1: > - /* Sucess. */ > + /* Success. */ > return 0; > case 0: > /* Parse error. */ > diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf > index 40030d1dd7..07c3476e9c 100644 > --- a/nss/nsswitch.conf > +++ b/nss/nsswitch.conf > @@ -50,7 +50,7 @@ > # shadow: db files > # group: db files > > -# In alphabetical order. Re-order as required to optimize peformance. > +# In alphabetical order. Re-order as required to optimize performance. > aliases: files > ethers: files > group: files > diff --git a/nss/test-netdb.c b/nss/test-netdb.c > index e835ba6a53..d76eea4b48 100644 > --- a/nss/test-netdb.c > +++ b/nss/test-netdb.c > @@ -157,7 +157,7 @@ test_hosts (void) > } > else if (strcmp (hptr1->h_name, hptr2->h_name) != 0) > { > - printf ("localhost and LocalHost have different canoncial name\n"); > + printf ("localhost and LocalHost have different canonical name\n"); > printf ("gethostbyname (\"localhost\")->%s\n", hptr1->h_name); > printf ("gethostbyname (\"LocalHost\")->%s\n", hptr2->h_name); > ++error_count; > diff --git a/posix/BOOST.tests b/posix/BOOST.tests > index 98fd3b6abf..756fa00486 100644 > --- a/posix/BOOST.tests > +++ b/posix/BOOST.tests > @@ -93,7 +93,7 @@ aa\) ! > . \0 0 1 > > ; > -; now move on to the repetion ops, > +; now move on to the repetition ops, > ; starting with operator * > - match_default normal REG_EXTENDED > a* b 0 0 > @@ -275,7 +275,7 @@ a(b*)c\1d abbcbbbd -1 -1 > ^(.)\1 abc -1 -1 > a([bc])\1d abcdabbd 4 8 5 6 > ; strictly speaking this is at best ambiguous, at worst wrong, this is what most > -; re implimentations will match though. > +; re implementations will match though. > a(([bc])\2)*d abbccd 0 6 3 5 3 4 > > a(([bc])\2)*d abbcbd -1 -1 > diff --git a/posix/PTESTS b/posix/PTESTS > index 65e5084915..601cef8d72 100644 > --- a/posix/PTESTS > +++ b/posix/PTESTS > @@ -3,7 +3,7 @@ > # other plain ASCII character had been used by a test. Characters > # outside the plain ASCII range have a risk of being mangled by modern > # editors. So, avoid using | in a test, or if needed, select a new > -# delimeter. > +# delimiter. > # 2.8.2 Regular Expression General Requirement > 2|4|bb*|abbbc| > 2|2|bb*|ababbbc| > diff --git a/posix/globtest.c b/posix/globtest.c > index 2bba5228f5..d1712656dd 100644 > --- a/posix/globtest.c > +++ b/posix/globtest.c > @@ -106,7 +106,7 @@ main (int argc, char *argv[]) > if ((glob_flags & GLOB_DOOFFS) && g.gl_pathv[0] == NULL) > g.gl_pathv[0] = (char *) "abc"; > > - /* Print out the names. Unless otherwise specified, qoute them. */ > + /* Print out the names. Unless otherwise specified, quote them. */ > if (g.gl_pathv) > { > for (i = 0; i < g.gl_offs + g.gl_pathc; ++i) > diff --git a/posix/regexbug1.c b/posix/regexbug1.c > index 17643e7e4d..165bc07b2f 100644 > --- a/posix/regexbug1.c > +++ b/posix/regexbug1.c > @@ -26,7 +26,7 @@ main (void) > error (0, 0, "\"0*[0-9][0-9]\" does not match \"002\""); > res = 1; > } > - puts ("Succesful match with \"0*[0-9][0-9]\""); > + puts ("Successful match with \"0*[0-9][0-9]\""); > > regfree (&re); > > @@ -43,7 +43,7 @@ main (void) > error (0, 0, "\"[0a]*[0-9][0-9]\" does not match \"002\""); > res = 1; > } > - puts ("Succesful match with \"[0a]*[0-9][0-9]\""); > + puts ("Successful match with \"[0a]*[0-9][0-9]\""); > > regfree (&re); > > diff --git a/posix/runptests.c b/posix/runptests.c > index 02fe0061ff..acb800b57a 100644 > --- a/posix/runptests.c > +++ b/posix/runptests.c > @@ -77,7 +77,7 @@ main (int argc, char *argv[]) > } > else if (tests[cnt].start == -2) > { > - puts ("compiling suceeds, FAIL"); > + puts ("compiling succeeds, FAIL"); > errors++; > continue; > } > diff --git a/posix/runtests.c b/posix/runtests.c > index d44bf36266..b40b785572 100644 > --- a/posix/runtests.c > +++ b/posix/runtests.c > @@ -81,7 +81,7 @@ run_a_test (int id, const struct a_test * t) > else if (t->expected == 2) > { > printf ("test %d\n", id); > - printf ("pattern \"%s\" successfull compilation not expected\n", > + printf ("pattern \"%s\" successful compilation not expected\n", > t->pattern); > return 1; > } > diff --git a/posix/rxspencer/tests b/posix/rxspencer/tests > index 3ad46e2a61..810e4be79c 100644 > --- a/posix/rxspencer/tests > +++ b/posix/rxspencer/tests > @@ -183,7 +183,7 @@ a\(***\)b bC BADRPT > # The following two tests are not correct: > #{ & { { > #{abc & {abc {abc > -# '{' is always a special char outside bracket expressions. So test ony BRE: > +# '{' is always a special char outside bracket expressions. So test only BRE: > { b { { > {abc b {abc {abc > {1 C BADRPT > diff --git a/posix/spawn.h b/posix/spawn.h > index 0a6a070523..04cc525fa5 100644 > --- a/posix/spawn.h > +++ b/posix/spawn.h > @@ -220,7 +220,7 @@ posix_spawn_file_actions_addclosefrom_np (posix_spawn_file_actions_t *, > int __from) > __THROW __nonnull ((1)); > > -/* Add an action to set the process group of the forground process group > +/* Add an action to set the process group of the foreground process group > associated with the terminal TCFD. */ > extern int > posix_spawn_file_actions_addtcsetpgrp_np (posix_spawn_file_actions_t *, > diff --git a/posix/tst-exec.c b/posix/tst-exec.c > index a8c0ba2e05..2ba4dcdaa3 100644 > --- a/posix/tst-exec.c > +++ b/posix/tst-exec.c > @@ -131,7 +131,7 @@ do_test (int argc, char *argv[]) > - three parameters left if called through re-execution > + file descriptor number which is supposed to be closed > + the open file descriptor > - + the name of the closed desriptor > + + the name of the closed descriptor > */ > > if (restart) > diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c > index 59157ff217..c1aba3886b 100644 > --- a/posix/tst-execveat.c > +++ b/posix/tst-execveat.c > @@ -111,14 +111,14 @@ do_test (void) > call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__); > fd = xopen ("/usr", O_PATH | O_DIRECTORY, 0); > /* Same check for absolute pathname, but with input file descriptor > - openend with different flags. The dirfd should be ignored. */ > + opened with different flags. The dirfd should be ignored. */ > call_execveat (fd, "/bin/sh", 0, 0, __LINE__); > xclose (fd); > #endif > > fd = xopen ("/usr", O_RDONLY, 0); > /* Same check for absolute pathname, but with input file descriptor > - openend with different flags. The dirfd should be ignored. */ > + opened with different flags. The dirfd should be ignored. */ > call_execveat (fd, "/bin/sh", 0, 0, __LINE__); > xclose (fd); > > diff --git a/posix/tst-glob_lstat_compat.c b/posix/tst-glob_lstat_compat.c > index 79d83e0ec0..937ad77da3 100644 > --- a/posix/tst-glob_lstat_compat.c > +++ b/posix/tst-glob_lstat_compat.c > @@ -43,7 +43,7 @@ compat_symbol_reference (libc, glob, glob, GLIBC_2_0); > #endif > > /* Compat glob should not call gl_lstat since for some old binaries it > - might be unitialized (for instance GNUmake). Check if it is indeed > + might be uninitialized (for instance GNUmake). Check if it is indeed > not called. */ > static bool stat_called; > static bool lstat_called; > diff --git a/posix/tst-pcre.c b/posix/tst-pcre.c > index 220baa3bab..e7a33a36a8 100644 > --- a/posix/tst-pcre.c > +++ b/posix/tst-pcre.c > @@ -177,7 +177,7 @@ main (int argc, char **argv) > > if (!rm_valid) > { > - printf ("%zd: No preceeding pattern or search string\n", linenum); > + printf ("%zd: No preceding pattern or search string\n", linenum); > ret = 1; > continue; > } > diff --git a/posix/tst-posix_fadvise-common.c b/posix/tst-posix_fadvise-common.c > index fb461d30d2..2a4e4d6a7f 100644 > --- a/posix/tst-posix_fadvise-common.c > +++ b/posix/tst-posix_fadvise-common.c > @@ -53,7 +53,7 @@ do_prepare (int argc, char **argv) > FAIL_EXIT1 ("cannot open fifo: %m"); > } > > -/* Effectivelly testing posix_fadvise is hard because side effects are not > +/* Effectively testing posix_fadvise is hard because side effects are not > observed without checking either performance or any kernel specific > supplied information. Also, the syscall is meant to be an advisory, > so the kernel is free to use this information in any way it deems fit, > diff --git a/posix/tst-regcomp-truncated.c b/posix/tst-regcomp-truncated.c > index cd8f1c5bca..c601ae62d8 100644 > --- a/posix/tst-regcomp-truncated.c > +++ b/posix/tst-regcomp-truncated.c > @@ -82,7 +82,7 @@ do_test (void) > > /* Arbitrary Unicode codepoint at which we stop generating > characters. We do not probe the whole range because that would > - take too long due to combinatorical exploision as the result of > + take too long due to combinatorial explosion as the result of > combination with other flags. */ > static const wchar_t last_character = 0xfff; > > diff --git a/posix/tst-regex.c b/posix/tst-regex.c > index a10785464c..745e10ffc5 100644 > --- a/posix/tst-regex.c > +++ b/posix/tst-regex.c > @@ -511,7 +511,7 @@ run_test_backwards (const char *expr, const char *mem, size_t memlen, > return cnt != expected; > } > > -/* If --timing is used we will need a larger timout. */ > +/* If --timing is used we will need a larger timeout. */ > #define TIMEOUT 50 > #define CMDLINE_OPTIONS \ > {"timing", no_argument, &timing, 1 }, > diff --git a/posix/tst-regex.input b/posix/tst-regex.input > index c48660d23a..1de30b3d52 100644 > --- a/posix/tst-regex.input > +++ b/posix/tst-regex.input > @@ -251,9 +251,9 @@ > > 1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> > > - * libio/iofopen64.c: Fix typo. Avoid unnessary casts. > + * libio/iofopen64.c: Fix typo. Avoid unnecessary casts. > * libio/iopopen.c: Unlink file before freeing it if command > - creation failed. Avoid unnessary casts. > + creation failed. Avoid unnecessary casts. > * libio/iofdopen.c: Avoid unnecessary cast. > * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to > _IO_funlockfile. > @@ -276,7 +276,7 @@ > > 1998-08-07 Cristian Gafton <gafton@redhat.com> > > - * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. > + * pwd/putpwent.c (putpwent): Avoid writing (none) in the passwd file. > * shadow/putspent.c (putspent): Likewise. > * grp/putgrent.c: New file. > * grp/Makefile (routines): Add putgrent. > @@ -300,7 +300,7 @@ > 1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> > > * misc/mktemp.c: Add include <stlib.h> for prototype, remove > - unneccessary includes. > + unnecessary includes. > * misc/mkstemp.c: Likewise. > > 1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com> > @@ -402,7 +402,7 @@ > as real name for system call and make setresuid a weak alias. Set > caller to seteuid. > * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using > - `setresuid' syscall if availble. Fixes problems with sendmail > + `setresuid' syscall if available. Fixes problems with sendmail > which expects `seteuid' to not set the saved user ID. > > 1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> > @@ -2330,7 +2330,7 @@ > * sysdeps/mach/hurd/ftruncate.c: Really define function as > __ftruncate. > * sysdeps/mach/hurd/truncate.c: Include <unistd.h>. > - (truncate): Fix function defenition to match prototype. > + (truncate): Fix function definition to match prototype. > > 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> > > @@ -3619,7 +3619,7 @@ > > 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> > > - * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the > + * sysdeps/unix/bsd/vax/vfork.S: Missed double occurrences of "the > the" in one line - fixed it. > * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. > * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. > @@ -3771,7 +3771,7 @@ > > 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com> > > - * manual/memory.texi: Add back accidently removed line. > + * manual/memory.texi: Add back accidentally removed line. > > 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl> > > @@ -3833,7 +3833,7 @@ > > 1998-05-15 Ulrich Drepper <drepper@cygnus.com> > > - * iconv/loop.c: Let user add code to use and set paramaters. > + * iconv/loop.c: Let user add code to use and set parameters. > > * iconvdata/iso-2022-kr.c: Correct to-loop. > > @@ -4313,7 +4313,7 @@ > $(objpfx)sysd-dirs): Move them... > * Makeconfig: ... here. > * Makerules (subdirs-stamps, subdirs-stamp-o): Always define. > - (stubs): Fix circular depedency. > + (stubs): Fix circular dependency. > (do-makelib): Clean up. > (lib): Don't depend on lib-noranlib. > ($(objpfx)stamp.oS): Remove special case for empty > @@ -4533,7 +4533,7 @@ > * intl/localealias.c (read_alias_file): Use unsigned char for > local variables. Remove unused variable tp. > * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * > - for type of codeset. For loosing Solaris systems. > + for type of codeset. For losing Solaris systems. > * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. > * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable > len if not needed. > @@ -4951,7 +4951,7 @@ > > 1998-04-22 Gordon Matzigkeit <gord@profitpress.com> > > - * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'. > + * Makerules: Change occurrences of `cd dir; cmd' to `cd dir && cmd'. > * Makefile: Likewise. > * posix/Makefile: Likewise. > * sysdeps/mach/hurd/Makefile: Likewise. > @@ -5381,7 +5381,7 @@ > * iconv/gconv_builtin.h: Add UCS4 support. Change references to > UCS4 into references to INTERNAL. > * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters. > - Add endianess support to UCS functions. Change references to > + Add endianness support to UCS functions. Change references to > UCS4 into references to INTERNAL. > * iconv/gconv_int.h: Change references to UCS4 into references to > INTERNAL. > @@ -5633,7 +5633,7 @@ > > 1998-04-12 Ulrich Drepper <drepper@cygnus.com> > > - * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. > + * iconvdata/sjis.c (gconv): Remove superfluous variable declarations. > > * iconvdata/Makefile: Add rules for big5 conversion. > * iconvdata/gconv-modules: Likewise. > @@ -5969,7 +5969,7 @@ > 1998-04-07 Ulrich Drepper <drepper@cygnus.com> > > * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case > - template is wrong. Remove unused varaible `ignored'. > + template is wrong. Remove unused variable `ignored'. > > 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> > > @@ -6667,7 +6667,7 @@ > * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. > * elf/ldd.sh.in: Likewise. > * elf/ldsodefs.h: Declare _dl_correct_cache_id. > - * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. > + * elf/rtld.c (dl_main): In --verify mode allow platform specific action. > Use strsep correctly. > (process_envvars): Allow platform specific variables. > * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. > @@ -7324,7 +7324,7 @@ > > * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. > Optimize memory handling. > - * sysdeps/unix/closedir.c: Optmize memory handling. > + * sysdeps/unix/closedir.c: Optimize memory handling. > > 1998-03-17 Ulrich Drepper <drepper@cygnus.com> > > @@ -8495,7 +8495,7 @@ > (_mcleanup): Don't call write_gmon if in error state. Don't try > to free array if not successfully allocated. > > - * elf/dl-load.c (STRING): Define to __STRING to enble expansion. > + * elf/dl-load.c (STRING): Define to __STRING to enable expansion. > Include elf.h to get macro definitions. > Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE. > > @@ -9351,7 +9351,7 @@ > * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target > directory first and ignore install error. > > - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract > + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Subtract > 128 from ptyno and fix a typo for the BSD style pty. > > 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> > @@ -9534,7 +9534,7 @@ > [PR libc/441] > > * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first > - occurence in cache. Reported by Rudolf Leitgeb > + occurrence in cache. Reported by Rudolf Leitgeb > <leitgeb@leland.stanford.edu>. > [PR libc/440] > > @@ -10309,7 +10309,7 @@ > * string/strsignal.c: Add support for real-time signals. > > * sysdeps/generic/_strerror.c: Fix Handling of unknown error in > - presense of small buffer. > + presence of small buffer. > > * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. > > @@ -11253,7 +11253,7 @@ > 1997-12-06 17:00 H.J. Lu <hjl@gnu.org> > > * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask > - beyound its size. > + beyond its size. > * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto. > * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto. > > @@ -11371,7 +11371,7 @@ > declaration to __syscall_rt_sigaction. > > * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of > - non-existant <sigcontext.h>. > + non-existent <sigcontext.h>. > > 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> > > @@ -11407,7 +11407,7 @@ > > * Makeconfig: Add shared-thread-library variable. > > - * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. > + * math/Makefile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. > * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES > here. > * sysdeps/m68k/fpu/e_acos.c: Likewise. > @@ -12313,7 +12313,7 @@ > (CFLAGS-locfile.c): Likewise. > Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. > > - * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for > + * misc/hsearch_r.c (hsearch_r): Avoid indefinitely search for > non-existing entry if the table is full. > > * posix/regex.h: Pretty print. > diff --git a/posix/tst-spawn5.c b/posix/tst-spawn5.c > index 1bd1afabcc..6b3d11cf82 100644 > --- a/posix/tst-spawn5.c > +++ b/posix/tst-spawn5.c > @@ -269,7 +269,7 @@ do_test (int argc, char *argv[]) > + argv[1]: the application name > + argv[2]: the lowest file descriptor expected > + argv[3]: first expected open file descriptor optional > - + argv[n]: last expected open file descritptor optional > + + argv[n]: last expected open file descriptor optional > > * When built with --enable-hardcoded-path-in-tests or issued without > using the loader directly. */ > diff --git a/posix/wordexp.c b/posix/wordexp.c > index b34c4a939b..994d79161f 100644 > --- a/posix/wordexp.c > +++ b/posix/wordexp.c > @@ -817,8 +817,8 @@ exec_comm_child (char *comm, int *fildes, bool showerr, bool noexec) > __posix_spawn_file_actions_init (&fa); > > /* Redirect output. For check syntax only (noexec being true), exec_comm > - explicits sets fildes[1] to -1, so check its value to avoid a failure in > - __posix_spawn_file_actions_adddup2. */ > + explicitly sets fildes[1] to -1, so check its value to avoid a failure > + in __posix_spawn_file_actions_adddup2. */ > if (fildes[1] != -1) > { > if (__glibc_likely (fildes[1] != STDOUT_FILENO)) > diff --git a/resolv/arpa/nameser_compat.h b/resolv/arpa/nameser_compat.h > index f1c390f3b9..f929661250 100644 > --- a/resolv/arpa/nameser_compat.h > +++ b/resolv/arpa/nameser_compat.h > @@ -44,7 +44,7 @@ typedef struct { > /* fields in third byte */ > unsigned qr: 1; /*%< response flag */ > unsigned opcode: 4; /*%< purpose of message */ > - unsigned aa: 1; /*%< authoritive answer */ > + unsigned aa: 1; /*%< authoritative answer */ > unsigned tc: 1; /*%< truncated message */ > unsigned rd: 1; /*%< recursion desired */ > /* fields in fourth byte */ > @@ -58,7 +58,7 @@ typedef struct { > /* fields in third byte */ > unsigned rd :1; /*%< recursion desired */ > unsigned tc :1; /*%< truncated message */ > - unsigned aa :1; /*%< authoritive answer */ > + unsigned aa :1; /*%< authoritative answer */ > unsigned opcode :4; /*%< purpose of message */ > unsigned qr :1; /*%< response flag */ > /* fields in fourth byte */ > diff --git a/resolv/bits/types/res_state.h b/resolv/bits/types/res_state.h > index 2544a627f6..79e079c5c9 100644 > --- a/resolv/bits/types/res_state.h > +++ b/resolv/bits/types/res_state.h > @@ -11,7 +11,7 @@ > #define MAXRESOLVSORT 10 /* number of net to sort on */ > > struct __res_state { > - int retrans; /* retransmition time interval */ > + int retrans; /* retransmission time interval */ > int retry; /* number of times to retransmit */ > unsigned long options; /* option flags - see below. */ > int nscount; /* number of name servers */ > diff --git a/resolv/gai_misc.c b/resolv/gai_misc.c > index 9e3b1d29b7..d02bd7ed23 100644 > --- a/resolv/gai_misc.c > +++ b/resolv/gai_misc.c > @@ -85,11 +85,11 @@ static int idle_thread_count; > > > /* These are the values used for optimization. We will probably > - create a funcion to set these values. */ > + create a function to set these values. */ > static struct gaiinit optim = > { > 20, /* int gai_threads; Maximal number of threads. */ > - 64, /* int gai_num; Number of expected simultanious requests. */ > + 64, /* int gai_num; Number of expected simultaneous requests. */ > 0, > 0, > 0, > diff --git a/resolv/gai_misc.h b/resolv/gai_misc.h > index 439bed361d..1e245a509c 100644 > --- a/resolv/gai_misc.h > +++ b/resolv/gai_misc.h > @@ -58,7 +58,7 @@ struct requestlist > struct gaiinit > { > int gai_threads; /* Maximal number of threads. */ > - int gai_num; /* Number of expected simultanious requests. */ > + int gai_num; /* Number of expected simultaneous requests. */ > int gai_locks; /* Not used. */ > int gai_usedba; /* Not used. */ > int gai_debug; /* Not used. */ > diff --git a/resolv/inet_net_pton.c b/resolv/inet_net_pton.c > index aab9b7b582..63a47b7394 100644 > --- a/resolv/inet_net_pton.c > +++ b/resolv/inet_net_pton.c > @@ -157,7 +157,7 @@ inet_net_pton_ipv4 (const char *src, u_char *dst, size_t size) > goto emsgsize; > } > > - /* Firey death and destruction unless we prefetched EOS. */ > + /* Fiery death and destruction unless we prefetched EOS. */ > if (ch != '\0') > goto enoent; > > diff --git a/resolv/inet_pton.c b/resolv/inet_pton.c > index fae52145cc..e84a83499c 100644 > --- a/resolv/inet_pton.c > +++ b/resolv/inet_pton.c > @@ -121,7 +121,7 @@ inet_pton4 (const char *src, const char *end, unsigned char *dst) > return 1; > } > > -/* Return the value of CH as a hexademical digit, or -1 if it is a > +/* Return the value of CH as a hexadecimal digit, or -1 if it is a > different type of character. */ > static int > hex_digit_value (char ch) > diff --git a/resolv/ns_print.c b/resolv/ns_print.c > index 43f39edf61..cef2212fd2 100644 > --- a/resolv/ns_print.c > +++ b/resolv/ns_print.c > @@ -491,7 +491,7 @@ ns_sprintrrf(const u_char *msg, size_t msglen, > len = SPRINTF((tmp, "%lu ", t)); > T(addstr(tmp, len, &buf, &buflen)); > > - /* Experation. */ > + /* Expiration. */ > t = ns_get32(rdata); rdata += NS_INT32SZ; > len = SPRINTF((tmp, "%lu ", t)); > T(addstr(tmp, len, &buf, &buflen)); > diff --git a/resolv/ns_rr_cursor_next.c b/resolv/ns_rr_cursor_next.c > index 5a188a3604..09f74d4c8a 100644 > --- a/resolv/ns_rr_cursor_next.c > +++ b/resolv/ns_rr_cursor_next.c > @@ -54,7 +54,7 @@ __ns_rr_cursor_next (struct ns_rr_cursor *c, struct ns_rr_wire *rr) > } > memcpy (&metadata, c->current, sizeof (metadata)); > c->current += sizeof (metadata); > - /* Endianess conversion. */ > + /* Endianness conversion. */ > rr->rtype = ntohs (metadata.rtype); > rr->rclass = ntohs (metadata.rclass); > rr->ttl = ntohl (metadata.ttl); > diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c > index ae1f8669d5..1d60c51f5e 100644 > --- a/resolv/nss_dns/dns-host.c > +++ b/resolv/nss_dns/dns-host.c > @@ -715,7 +715,7 @@ getanswer_r (unsigned char *packet, size_t packetlen, uint16_t qtype, > if (!__ns_rr_cursor_init (&c, packet, packetlen)) > { > /* This should not happen because __res_context_query already > - perfroms response validation. */ > + performs response validation. */ > *h_errnop = NO_RECOVERY; > return NSS_STATUS_UNAVAIL; > } > @@ -811,7 +811,7 @@ getanswer_ptr (unsigned char *packet, size_t packetlen, > if (!__ns_rr_cursor_init (&c, packet, packetlen)) > { > /* This should not happen because __res_context_query already > - perfroms response validation. */ > + performs response validation. */ > *h_errnop = NO_RECOVERY; > return NSS_STATUS_UNAVAIL; > } > @@ -906,7 +906,7 @@ gaih_getanswer_slice (unsigned char *packet, size_t packetlen, > if (!__ns_rr_cursor_init (&c, packet, packetlen)) > { > /* This should not happen because __res_context_query already > - perfroms response validation. */ > + performs response validation. */ > *h_errnop = NO_RECOVERY; > return NSS_STATUS_UNAVAIL; > } > diff --git a/resolv/res-noaaaa.c b/resolv/res-noaaaa.c > index b079ad77ca..26ffcc63a1 100644 > --- a/resolv/res-noaaaa.c > +++ b/resolv/res-noaaaa.c > @@ -33,7 +33,7 @@ qtype_matches (const unsigned char *p, int expected) > } > > /* Handle RES_NOAAAA translation of AAAA queries. To produce a Name > - Error (NXDOMAIN) repsonse for domain names that do not exist, it is > + Error (NXDOMAIN) response for domain names that do not exist, it is > still necessary to send a query. Using question type A is a > conservative choice. In the returned answer, it is necessary to > switch back the question type to AAAA. */ > diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h > index c55f3c0366..2b98ac4920 100644 > --- a/resolv/resolv-internal.h > +++ b/resolv/resolv-internal.h > @@ -58,7 +58,7 @@ res_use_inet6 (void) > > enum > { > - /* The advertized EDNS buffer size. The value 1200 is derived > + /* The advertised EDNS buffer size. The value 1200 is derived > from the IPv6 minimum MTU (1280 bytes) minus some arbitrary > space for tunneling overhead. If the DNS server does not react > to ICMP Fragmentation Needed But DF Set messages, this should > diff --git a/resolv/resolv.h b/resolv/resolv.h > index 3a79ffea57..f40d6c58ce 100644 > --- a/resolv/resolv.h > +++ b/resolv/resolv.h > @@ -87,7 +87,7 @@ > /* > * Resolver configuration file. > * Normally not present, but may contain the address of the > - * inital name server(s) to query and the domain search list. > + * initial name server(s) to query and the domain search list. > */ > > #ifndef _PATH_RESCONF > diff --git a/resolv/resolv_conf.c b/resolv/resolv_conf.c > index 0ef66d49d3..bd5890773b 100644 > --- a/resolv/resolv_conf.c > +++ b/resolv/resolv_conf.c > @@ -81,7 +81,7 @@ static struct resolv_conf_global *global; > __libc_lock_define_initialized (static, lock); > > /* Ensure that GLOBAL is allocated and lock it. Return NULL if > - memory allocation failes. */ > + memory allocation fails. */ > static struct resolv_conf_global * > get_locked_global (void) > { > @@ -174,7 +174,7 @@ __resolv_conf_get_current (void) > static struct resolv_conf * > resolv_conf_get_1 (const struct __res_state *resp) > { > - /* Not initialized, and therefore no assoicated context. */ > + /* Not initialized, and therefore no associated context. */ > if (!(resp->options & RES_INIT)) > return NULL; > > @@ -243,7 +243,7 @@ resolv_conf_matches (const struct __res_state *resp, > const struct resolv_conf *conf) > { > /* NB: Do not compare the options, retrans, retry, ndots. These can > - be changed by applicaiton. */ > + be changed by application. */ > > /* Check that the name servers in *RESP have not been modified by > the application. */ > diff --git a/resolv/resolv_context.c b/resolv/resolv_context.c > index aeb415b6d4..7bf7ce9df4 100644 > --- a/resolv/resolv_context.c > +++ b/resolv/resolv_context.c > @@ -52,7 +52,7 @@ > static __thread struct resolv_context *current attribute_tls_model_ie; > > /* The resolv_conf handling will gives us a ctx->conf pointer even if > - these fields do not match because a mis-match does not cause a loss > + these fields do not match because a mismatch does not cause a loss > of state (_res objects can store the full information). This > function checks to ensure that there is a full patch, to prevent > overwriting a patched configuration. */ > diff --git a/resolv/resolv_context.h b/resolv/resolv_context.h > index c5d51a12a4..020b9bd775 100644 > --- a/resolv/resolv_context.h > +++ b/resolv/resolv_context.h > @@ -78,7 +78,7 @@ void __resolv_context_put (struct resolv_context *ctx); > libc_hidden_proto (__resolv_context_put) > > /* Like __resolv_context_get, but the _res structure can be partially > - initialzed and those changes will not be overwritten. */ > + initialized and those changes will not be overwritten. */ > struct resolv_context *__resolv_context_get_preinit (void) > __attribute__ ((warn_unused_result)); > libc_hidden_proto (__resolv_context_get_preinit) > diff --git a/resolv/tst-resolv-canonname.c b/resolv/tst-resolv-canonname.c > index 2a28193c37..33bab6638d 100644 > --- a/resolv/tst-resolv-canonname.c > +++ b/resolv/tst-resolv-canonname.c > @@ -153,7 +153,7 @@ response (const struct resolv_response_context *ctx, > } > break; > case 103: > - /* NODATA repsonse. */ > + /* NODATA response. */ > resolv_response_init (b, (struct resolv_response_flags) {}); > resolv_response_add_question (b, qname, qclass, qtype); > break; > diff --git a/resolv/tst-resolv-edns.c b/resolv/tst-resolv-edns.c > index a2245de948..6e0072b541 100644 > --- a/resolv/tst-resolv-edns.c > +++ b/resolv/tst-resolv-edns.c > @@ -40,7 +40,7 @@ struct response_data > response data. The test DNS server returns the index of the array > element which contains the actual response data. This enables the > test case to return arbitrary amounts of data with the limited > - number of bits which fit into an IP addres. > + number of bits which fit into an IP address. > > The volatile specifier is needed because the test case accesses > these variables from a callback function called from a function > diff --git a/resolv/tst-resolv-qtypes.c b/resolv/tst-resolv-qtypes.c > index dee273c5cc..6c1ef3f7ec 100644 > --- a/resolv/tst-resolv-qtypes.c > +++ b/resolv/tst-resolv-qtypes.c > @@ -25,7 +25,7 @@ > #include <support/test-driver.h> > #include <support/xmemstream.h> > > -/* If ture, the response function will send the actual response packet > +/* If true, the response function will send the actual response packet > over TCP instead of UDP. */ > static volatile bool force_tcp; > > diff --git a/resolv/tst-resolv-res_init-skeleton.c b/resolv/tst-resolv-res_init-skeleton.c > index 24d980071e..cbdf377b84 100644 > --- a/resolv/tst-resolv-res_init-skeleton.c > +++ b/resolv/tst-resolv-res_init-skeleton.c > @@ -1,4 +1,4 @@ > -/* Test parsing of /etc/resolv.conf. Genric version. > +/* Test parsing of /etc/resolv.conf. Generic version. > Copyright (C) 2017-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > @@ -669,7 +669,7 @@ struct test_case test_cases[] = > "; nameserver[0]: [192.0.2.1]:53\n" > "; nameserver[1]: [192.0.2.3]:53\n" > }, > - {.name = "RES_OPTIONS is cummulative", > + {.name = "RES_OPTIONS is cumulative", > .conf = "options timeout:7 ndots:2 use-vc\n" > "nameserver 192.0.2.1\n", > .expected = "options ndots:3 timeout:7 attempts:5 use-vc edns0\n" > diff --git a/resolv/tst-resolv-res_ninit.c b/resolv/tst-resolv-res_ninit.c > index e539828319..a274b5bf3a 100644 > --- a/resolv/tst-resolv-res_ninit.c > +++ b/resolv/tst-resolv-res_ninit.c > @@ -55,8 +55,8 @@ do_test (void) > TEST_VERIFY (conf != NULL); > } > else > - /* The underyling configuration should be identical across all > - res_state opjects because resolv.conf did not change. */ > + /* The underlying configuration should be identical across all > + res_state objects because resolv.conf did not change. */ > TEST_VERIFY (ctx->conf == conf); > } > qsort (array, count, sizeof (*array), sort_res_state); > diff --git a/rt/aio.h b/rt/aio.h > index a9e6d7db29..8d014015a3 100644 > --- a/rt/aio.h > +++ b/rt/aio.h > @@ -168,7 +168,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent, > const struct timespec *__restrict __timeout) > __nonnull ((1)); > > -/* Force all operations associated with file desriptor described by > +/* Force all operations associated with file descriptor described by > `aio_fildes' member of AIOCBP. */ > extern int aio_fsync (int __operation, struct aiocb *__aiocbp) > __THROW __nonnull ((2)); > diff --git a/rt/aio_cancel.c b/rt/aio_cancel.c > index 446b028213..6f275c6303 100644 > --- a/rt/aio_cancel.c > +++ b/rt/aio_cancel.c > @@ -106,7 +106,7 @@ __aio_cancel (int fildes, struct aiocb *aiocbp) > else > { > /* Find the beginning of the list of all requests for this > - desriptor. */ > + descriptor. */ > req = __aio_find_req_fd (fildes); > > /* If any request is worked on by a thread it must be the first. > diff --git a/rt/aio_misc.c b/rt/aio_misc.c > index 4b850b1ab6..5d21943ff2 100644 > --- a/rt/aio_misc.c > +++ b/rt/aio_misc.c > @@ -371,7 +371,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation) > /* The current file descriptor is worked on. It makes no sense > to start another thread since this new thread would fight > with the running thread for the resources. But we also cannot > - say that the thread processing this desriptor shall immediately > + say that the thread processing this descriptor shall immediately > after finishing the current job process this request if there > are other threads in the running queue which have a higher > priority. */ > diff --git a/rt/timer_create.c b/rt/timer_create.c > index a94bff693c..672bd14ef0 100644 > --- a/rt/timer_create.c > +++ b/rt/timer_create.c > @@ -108,7 +108,7 @@ timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid) > else > pthread_attr_init (&newtimer->attr); > > - /* Ensure thread attributes call for deatched thread. */ > + /* Ensure thread attributes call for detached thread. */ > pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED); > > /* Try to find existing thread having the right attributes. */ > diff --git a/rt/timer_gettime.c b/rt/timer_gettime.c > index 474ae5e463..efc2a74ef7 100644 > --- a/rt/timer_gettime.c > +++ b/rt/timer_gettime.c > @@ -22,7 +22,7 @@ > #include "posix-timer.h" > > > -/* Get current value of timer TIMERID and store it in VLAUE. */ > +/* Get current value of timer TIMERID and store it in VALUE. */ > int > timer_gettime (timer_t timerid, struct itimerspec *value) > { > diff --git a/rt/tst-mqueue2.c b/rt/tst-mqueue2.c > index fc04470629..c029f3c156 100644 > --- a/rt/tst-mqueue2.c > +++ b/rt/tst-mqueue2.c > @@ -463,12 +463,12 @@ do_test (void) > > if (mq_unlink ("/tst-mqueue2-which-should-never-exist") != -1) > { > - puts ("mq_unlink of non-existant message queue unexpectedly succeeded"); > + puts ("mq_unlink of non-existent message queue unexpectedly succeeded"); > result = 1; > } > else if (errno != ENOENT) > { > - printf ("mq_unlink of non-existant message queue did not fail with " > + printf ("mq_unlink of non-existent message queue did not fail with " > "ENOENT: %m\n"); > result = 1; > } > diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c > index 126bfa45a2..d8b1422b1c 100644 > --- a/rt/tst-mqueue3.c > +++ b/rt/tst-mqueue3.c > @@ -61,13 +61,13 @@ fct (union sigval s) > /* Check the values. */ > if (attr.mq_maxmsg != MAXMSG) > { > - printf ("%s: mq_maxmsg wrong: is %jd, expecte %d\n", > + printf ("%s: mq_maxmsg wrong: is %jd, expected %d\n", > __FUNCTION__, (intmax_t) attr.mq_maxmsg, MAXMSG); > exit (1); > } > if (attr.mq_msgsize != MAXMSG) > { > - printf ("%s: mq_msgsize wrong: is %jd, expecte %d\n", > + printf ("%s: mq_msgsize wrong: is %jd, expected %d\n", > __FUNCTION__, (intmax_t) attr.mq_msgsize, MSGSIZE); > exit (1); > } > diff --git a/rt/tst-mqueue4.c b/rt/tst-mqueue4.c > index 841ce14ac6..fe456287a3 100644 > --- a/rt/tst-mqueue4.c > +++ b/rt/tst-mqueue4.c > @@ -62,7 +62,7 @@ do_test (void) > mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); > if (q2 == (mqd_t) -1) > { > - printf ("mq_open with NAME_MAX long name compoment failed with: %m\n"); > + printf ("mq_open with NAME_MAX long name component failed with: %m\n"); > result = 1; > } > > diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c > index ea5ff65ae4..9416af28bd 100644 > --- a/rt/tst-mqueue5.c > +++ b/rt/tst-mqueue5.c > @@ -522,7 +522,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3, > result = 1; > } > > - /* Reenable test signals before cleaning up the thread. */ > + /* Re-enable test signals before cleaning up the thread. */ > if (pthread_sigmask (SIG_UNBLOCK, &set, NULL)) > { > printf ("Failed to unblock SIGRTMIN in child: %m\n"); > diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py > index b069b5ad76..e4da3d64fd 100644 > --- a/scripts/dso-ordering-test.py > +++ b/scripts/dso-ordering-test.py > @@ -1069,7 +1069,7 @@ def process_testcase(t): > t.test_name)) > t.sh.close() > > -# Decription file parsing > +# Description file parsing > def parse_description_file(filename): > global default_tunable_options > global current_input_lineno > diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py > index 6f48eee129..b52e83d613 100644 > --- a/scripts/glibcelf.py > +++ b/scripts/glibcelf.py > @@ -275,7 +275,7 @@ class ElfClass(_TypedConstant): > _register_elf_h(ElfClass, prefix='ELFCLASS') > > class ElfData(_TypedConstant): > - """ELF endianess. Type of EI_DATA values.""" > + """ELF endianness. Type of EI_DATA values.""" > _register_elf_h(ElfData, prefix='ELFDATA') > > class Machine(_TypedConstant): > diff --git a/scripts/glibcpp.py b/scripts/glibcpp.py > index 5dc99f0120..4e1326c10b 100644 > --- a/scripts/glibcpp.py > +++ b/scripts/glibcpp.py > @@ -222,7 +222,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition', > args is None for a macro that is not function-like. Otherwise, it > is a tuple that contains the macro argument name tokens. > > - body is a tuple that contains the tokens that constitue the body > + body is a tuple that contains the tokens that constitute the body > of the macro definition (excluding whitespace). > > error is None if no error was detected, or otherwise a problem > @@ -242,7 +242,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition', > > @property > def line(self): > - """Return the line number of the macro defintion.""" > + """Return the line number of the macro definition.""" > return self.name_token.line > > @property > @@ -387,7 +387,7 @@ def macro_eval(macro_defs, reporter): > evaluated = OrderedDict() > > # String to macro definitions during evaluation. Nice error > - # reporting relies on determinstic iteration order. > + # reporting relies on deterministic iteration order. > stack = OrderedDict() > > def eval_token(current, token): > diff --git a/scripts/pylintrc b/scripts/pylintrc > index c92f100b4b..d772cb0a7d 100644 > --- a/scripts/pylintrc > +++ b/scripts/pylintrc > @@ -33,7 +33,7 @@ load-plugins= > # can either give multiple identifiers separated by comma (,) or put this > # option multiple times (only on the command line, not in the configuration > # file where it should appear only once).You can also use "--disable=all" to > -# disable everything first and then reenable specific checks. For example, if > +# disable everything first and then re-enable specific checks. For example, if > # you want to run only the similarities checker, you can use "--disable=all > # --enable=similarities". If you want to run only the classes checker, but have > # no Warning level messages displayed, use"--disable=all --enable=classes > diff --git a/socket/sys/socket.h b/socket/sys/socket.h > index 870ba5e414..b67e71c43d 100644 > --- a/socket/sys/socket.h > +++ b/socket/sys/socket.h > @@ -154,7 +154,7 @@ extern ssize_t sendto (int __fd, const void *__buf, size_t __n, > socklen_t __addr_len); > > /* 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. > > diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c > index d657834ae4..0c3dfb1a12 100644 > --- a/stdio-common/printf_fphex.c > +++ b/stdio-common/printf_fphex.c > @@ -380,7 +380,7 @@ __printf_fphex_l_buffer (struct __printf_buffer *buf, locale_t loc, > > > /* The wide buffer version is implemented by translating the output of > - the multibyte verison. */ > + the multibyte version. */ > > struct __printf_buffer_fphex_to_wide > { > diff --git a/stdio-common/tst-fmemopen2.c b/stdio-common/tst-fmemopen2.c > index fc493aa4d7..6ff7a81c7a 100644 > --- a/stdio-common/tst-fmemopen2.c > +++ b/stdio-common/tst-fmemopen2.c > @@ -157,7 +157,7 @@ do_test_without_buffer (void) > return result; > } > > -/* Check fmemopen with a buffer lenght of zero. */ > +/* Check fmemopen with a buffer length of zero. */ > static int > do_test_length_zero (void) > { > diff --git a/stdio-common/tst-fmemopen3.c b/stdio-common/tst-fmemopen3.c > index 3cc2832edc..bef87b712a 100644 > --- a/stdio-common/tst-fmemopen3.c > +++ b/stdio-common/tst-fmemopen3.c > @@ -34,7 +34,7 @@ print_buffer (const char *s, size_t n) > } > } > > -/* This test check append mode initial position (a/a+) based on POSIX defition > +/* This test check append mode initial position (a/a+) based on POSIX definition > (BZ#6544 and BZ#13151). */ > static int > do_test_write_append (const char *mode) > @@ -59,7 +59,7 @@ do_test_write_append (const char *mode) > return 0; > } > > -/* This test check append mode initial position (a/a+) based on POSIX defition > +/* This test check append mode initial position (a/a+) based on POSIX definition > (BZ#6544 and BZ#13151) for buffer without null byte end. */ > static int > do_test_write_append_without_null (const char *mode) > @@ -94,7 +94,7 @@ do_test_write_append_without_null (const char *mode) > return 0; > } > > -/* This test check for initial position and feek value for fmemopen objects > +/* This test check for initial position and seek value for fmemopen objects > opened with append mode. */ > static int > do_test_read_append (void) > diff --git a/stdio-common/tst-printf-bz25691.c b/stdio-common/tst-printf-bz25691.c > index e6fa2433fa..db81fdf590 100644 > --- a/stdio-common/tst-printf-bz25691.c > +++ b/stdio-common/tst-printf-bz25691.c > @@ -58,7 +58,7 @@ do_test (void) > free (winput); > } > > - /* For 's' converstion specifier the array is interpreted as a multibyte > + /* For 's' conversion specifier the array is interpreted as a multibyte > character sequence and converted to wide characters up to the precision > specific value. */ > { > diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c > index 2e1a5c07e5..0a90a7228f 100644 > --- a/stdio-common/tst-sscanf.c > +++ b/stdio-common/tst-sscanf.c > @@ -237,7 +237,7 @@ do_test (void) > The test will segfault during SSCANF if the buffer overflow > is not fixed. The size of `s` is such that it forces the use > of malloc internally and this triggers the incorrect computation. > - Thus the value for SIZE is arbitrariy high enough that malloc > + Thus the value for SIZE is arbitrarily high enough that malloc > is used. */ > { > #define SIZE 131072 > diff --git a/stdio-common/vfscanf-internal.c b/stdio-common/vfscanf-internal.c > index d9675bd4b1..a3ebf63554 100644 > --- a/stdio-common/vfscanf-internal.c > +++ b/stdio-common/vfscanf-internal.c > @@ -668,7 +668,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, > /* We have a severe problem here. The ISO C standard > contradicts itself in explaining the effect of the %n > format in `scanf'. While in ISO C:1990 and the ISO C > - Amendement 1:1995 the result is described as > + Amendment 1:1995 the result is described as > > Execution of a %n directive does not effect the > assignment count returned at the completion of > @@ -2749,7 +2749,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, > #endif > > if (__glibc_unlikely (now == read_in)) > - /* We haven't succesfully read any character. */ > + /* We haven't successfully read any character. */ > conv_error (); > > if (!(flags & SUPPRESS)) > @@ -2947,7 +2947,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, > #endif > > if (__glibc_unlikely (now == read_in)) > - /* We haven't succesfully read any character. */ > + /* We haven't successfully read any character. */ > conv_error (); > > if (!(flags & SUPPRESS)) > diff --git a/stdlib/inttypes.h b/stdlib/inttypes.h > index 0ace21f54d..8f0fa8ab9f 100644 > --- a/stdlib/inttypes.h > +++ b/stdlib/inttypes.h > @@ -294,7 +294,7 @@ typedef wchar_t __gwchar_t; > # define SCNuMAX __PRI64_PREFIX "u" > # define SCNxMAX __PRI64_PREFIX "x" > > -/* Macros for scaning `intptr_t' and `uintptr_t'. */ > +/* Macros for scanning `intptr_t' and `uintptr_t'. */ > # define SCNdPTR __PRIPTR_PREFIX "d" > # define SCNiPTR __PRIPTR_PREFIX "i" > # define SCNoPTR __PRIPTR_PREFIX "o" > diff --git a/stdlib/lldiv.c b/stdlib/lldiv.c > index f00d1599db..bd7c6b2a94 100644 > --- a/stdlib/lldiv.c > +++ b/stdlib/lldiv.c > @@ -1,4 +1,4 @@ > -/* `long long int' divison with remainder. > +/* `long long int' division with remainder. > Copyright (C) 1992-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/stdlib/longlong.h b/stdlib/longlong.h > index fa1687f5f3..ae067d934d 100644 > --- a/stdlib/longlong.h > +++ b/stdlib/longlong.h > @@ -1074,7 +1074,7 @@ extern UDItype __umulsidi3 (USItype, USItype); > #elif __riscv_xlen == 64 > #define MULUW3 "call __muldi3" > #else > -#error unsupport xlen > +#error unsupported xlen > #endif /* __riscv_xlen */ > /* We rely on the fact that MULUW3 doesn't clobber the t-registers. > It can get better register allocation result. */ > diff --git a/stdlib/tst-arc4random-stats.c b/stdlib/tst-arc4random-stats.c > index f0edffb16d..1808cf6524 100644 > --- a/stdlib/tst-arc4random-stats.c > +++ b/stdlib/tst-arc4random-stats.c > @@ -117,7 +117,7 @@ generate_arc4random_uniform (unsigned char *key) > > /* Test adapter for arc4random_uniform with argument 257. This means > that byte 0 happens more often, but we do not perform such a > - statistcal check, so the test will still pass */ > + statistical check, so the test will still pass */ > static bool > generate_arc4random_uniform_257 (unsigned char *key) > { > diff --git a/stdlib/tst-arc4random-thread.c b/stdlib/tst-arc4random-thread.c > index 010828920e..d8863cf6d0 100644 > --- a/stdlib/tst-arc4random-thread.c > +++ b/stdlib/tst-arc4random-thread.c > @@ -295,7 +295,7 @@ do_test_func (const char *fname, void (*func)(unsigned char *, size_t)) > run_outer_threads (func); > > /* The forking thread delivers a non-deterministic number of > - results, which is why expected_blobs is only a minimun number of > + results, which is why expected_blobs is only a minimum number of > results. */ > printf ("info: %s: %zu blob results observed\n", fname, > dynarray_blob_size (&global_result)); > diff --git a/stdlib/tst-canon-bz26341.c b/stdlib/tst-canon-bz26341.c > index 2d950d345b..bd0f575ccf 100644 > --- a/stdlib/tst-canon-bz26341.c > +++ b/stdlib/tst-canon-bz26341.c > @@ -1,5 +1,5 @@ > /* Check if realpath does not consume extra stack space based on symlink > - existance in the path (BZ #26341) > + existence in the path (BZ #26341) > Copyright (C) 2021-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c > index 794d12a385..516beecef5 100644 > --- a/stdlib/tst-random.c > +++ b/stdlib/tst-random.c > @@ -7,14 +7,14 @@ > is regenerated twice and checked against the stored values. > > First they are regenerated one sequence at a time, using srandom() > - to set the initial state. A discrepency here would suggest that > + to set the initial state. A discrepancy here would suggest that > srandom() was failing to completely initialize the random number > generator. > > Second the sequences are regenerated in an interleaved order. > A state vector is created for each sequence using initstate(). > setstate() is used to switch from sequence to sequence during > - the interleaved generation. A discrepency here would suggest > + the interleaved generation. A discrepancy here would suggest > a problem with either initstate() failing to initialize the > random number generator properly, or the failure of setstate() > to correctly save and restore state information. Also, each > @@ -54,7 +54,7 @@ do_test (void) > int s; /* sequence index */ > int i; /* element index */ > > - printf ("Begining random package test using %d sequences of length %d.\n", > + printf ("Beginning random package test using %d sequences of length %d.\n", > nseq, nrnd); > > /* 1. Generate and store the sequences. */ > diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c > index 9294472471..d65f3b9d6b 100644 > --- a/stdlib/tst-setcontext.c > +++ b/stdlib/tst-setcontext.c > @@ -111,7 +111,7 @@ test_stack (volatile int a, volatile int b, > > if (e != 5) > { > - printf ("%s: getcontext clobbers varible e\n", __FUNCTION__); > + printf ("%s: getcontext clobbers variable e\n", __FUNCTION__); > exit (1); > } > > diff --git a/string/memcmpeq.c b/string/memcmpeq.c > index c38e7b0567..5397c05d53 100644 > --- a/string/memcmpeq.c > +++ b/string/memcmpeq.c > @@ -16,7 +16,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* This file is intentionally left empty. It exists so that both > - architectures which implement __memcmpeq seperately from memcmp and > + architectures which implement __memcmpeq separately from memcmp and > architectures which implement __memcmpeq by having it alias memcmp will > build. > > diff --git a/string/strcoll_l.c b/string/strcoll_l.c > index d60e1ba4a7..5f7b8606f6 100644 > --- a/string/strcoll_l.c > +++ b/string/strcoll_l.c > @@ -103,7 +103,7 @@ get_next_seq (coll_seq *seq, int nrules, const unsigned char *rulesets, > else > { > /* XXX Traverse BACKW sequences from the beginning of > - BACKW_STOP to get the next sequence. Is ther a quicker way > + BACKW_STOP to get the next sequence. Is there a quicker way > to do this? */ > size_t i = backw_stop; > us = seq->back_us; > diff --git a/string/test-memcmp.c b/string/test-memcmp.c > index bc46a66bfd..7093a9a685 100644 > --- a/string/test-memcmp.c > +++ b/string/test-memcmp.c > @@ -45,7 +45,7 @@ SIMPLE_MEMCMP (const wchar_t *s1, const wchar_t *s2, size_t n) > int ret = 0; > /* 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. > */ > while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;} > return ret; > diff --git a/string/test-strcasecmp.c b/string/test-strcasecmp.c > index 805e8519fb..4ff680f264 100644 > --- a/string/test-strcasecmp.c > +++ b/string/test-strcasecmp.c > @@ -99,7 +99,7 @@ do_test (size_t align1, size_t align2, size_t len, int max_char, > else > s2[len - 1] -= exp_result; > > - /* For some locals this is not guranteed yet. */ > + /* For some locals this is not guaranteed yet. */ > if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result) > { > if (exp_result == -1) > diff --git a/string/test-strcmp.c b/string/test-strcmp.c > index fa3161688c..fb52559400 100644 > --- a/string/test-strcmp.c > +++ b/string/test-strcmp.c > @@ -48,7 +48,7 @@ > # define CHAR__MIN WCHAR_MIN > > /* Wcscmp uses signed semantics for comparison, not unsigned */ > -/* Avoid using substraction since possible overflow */ > +/* Avoid using subtraction since possible overflow */ > > int > simple_wcscmp (const wchar_t *s1, const wchar_t *s2) > diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c > index 6246fe5c1b..5f0654efc5 100644 > --- a/string/test-strncasecmp.c > +++ b/string/test-strncasecmp.c > @@ -119,7 +119,7 @@ do_test (size_t align1, size_t align2, size_t n, size_t len, int max_char, > else > s2[len - 1] -= exp_result; > > - /* For some locals this is not guranteed yet. */ > + /* For some locals this is not guaranteed yet. */ > if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result) > { > if (exp_result == -1) > diff --git a/string/test-strncmp.c b/string/test-strncmp.c > index 35dc496eae..75e745a5ba 100644 > --- a/string/test-strncmp.c > +++ b/string/test-strncmp.c > @@ -44,7 +44,7 @@ > # define CHAR__MIN WCHAR_MIN > > /* Wcsncmp uses signed semantics for comparison, not unsigned. > - Avoid using substraction since possible overflow */ > + Avoid using subtraction since possible overflow */ > int > simple_wcsncmp (const CHAR *s1, const CHAR *s2, size_t n) > { > diff --git a/string/test-strnlen.c b/string/test-strnlen.c > index ef73dd34f4..10e7540a1e 100644 > --- a/string/test-strnlen.c > +++ b/string/test-strnlen.c > @@ -260,7 +260,7 @@ do_page_tests (void) > } > > /* Tests meant to unveil fail on implementations that access bytes > - beyond the maxium length. */ > + beyond the maximum length. */ > > static void > do_page_2_tests (void) > diff --git a/string/tst-memmove-overflow.c b/string/tst-memmove-overflow.c > index 97e19af757..d17a3aa795 100644 > --- a/string/tst-memmove-overflow.c > +++ b/string/tst-memmove-overflow.c > @@ -1,4 +1,4 @@ > -/* Test for signed comparision bug in memmove (bug 25620). > +/* Test for signed comparison bug in memmove (bug 25620). > Copyright (C) 2020-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c > index 8ea4303d7d..b0b29e09a7 100644 > --- a/sunrpc/key_call.c > +++ b/sunrpc/key_call.c > @@ -30,7 +30,7 @@ > */ > /* > * The original source is from the RPCSRC 4.0 package from Sun Microsystems. > - * The Interface to keyserver protocoll 2, RPC over AF_UNIX and Linux/doors > + * The Interface to keyserver protocol 2, RPC over AF_UNIX and Linux/doors > * was added by Thorsten Kukuk <kukuk@suse.de> > * Since the Linux/doors project was stopped, I doubt that this code will > * ever be useful <kukuk@suse.de>. > diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h > index f4d4a941c7..388efaf887 100644 > --- a/sunrpc/rpc/clnt.h > +++ b/sunrpc/rpc/clnt.h > @@ -106,8 +106,8 @@ struct rpc_err { > int RE_errno; /* related system error */ > enum auth_stat RE_why; /* why the auth error occurred */ > struct { > - u_long low; /* lowest verion supported */ > - u_long high; /* highest verion supported */ > + u_long low; /* lowest version supported */ > + u_long high; /* highest version supported */ > } RE_vers; > struct { /* maybe meaningful if RPC_FAILED */ > long s1; > diff --git a/sunrpc/tst-svc_register.c b/sunrpc/tst-svc_register.c > index 434a5bedef..af61f11263 100644 > --- a/sunrpc/tst-svc_register.c > +++ b/sunrpc/tst-svc_register.c > @@ -241,7 +241,7 @@ do_test (void) > (NULL, test_server_thread, &args)); > else > test_server_thread (&args); > - /* We cannnot use _exit here because we want to test the > + /* We cannot use _exit here because we want to test the > process cleanup. */ > exit (0); > } > diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c > index c9a1eaad63..dce0383039 100644 > --- a/sunrpc/xdr_rec.c > +++ b/sunrpc/xdr_rec.c > @@ -102,7 +102,7 @@ typedef struct rec_strm > caddr_t out_base; /* output buffer (points to frag header) */ > caddr_t out_finger; /* next output position */ > caddr_t out_boundry; /* data cannot up to this address */ > - uint32_t *frag_header; /* beginning of curren fragment */ > + uint32_t *frag_header; /* beginning of current fragment */ > bool_t frag_sent; /* true if buffer sent in middle of record */ > /* > * in-coming bits > diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c > index eab3b74227..3f5904d4a2 100644 > --- a/sunrpc/xdr_ref.c > +++ b/sunrpc/xdr_ref.c > @@ -51,7 +51,7 @@ > * referenced by a pointer inside the structure that is currently being > * translated. pp references a pointer to storage. If *pp is null > * the necessary storage is allocated. > - * size is the size of the referneced structure. > + * size is the size of the referenced structure. > * proc is the routine to handle the referenced structure. > */ > bool_t > diff --git a/support/Makefile b/support/Makefile > index 71d5148513..acc0bd5fec 100644 > --- a/support/Makefile > +++ b/support/Makefile > @@ -236,7 +236,7 @@ CFLAGS-support_paths.c = \ > > # In support_timespec_check_in_range we may be passed a very tight > # range for which we should produce a correct result for expected > -# being withing the observed range. The code uses double internally > +# being within the observed range. The code uses double internally > # in support_timespec_check_in_range and for that computation we use > # -fexcess-precision=standard. > CFLAGS-timespec.c += -fexcess-precision=standard > diff --git a/support/README b/support/README > index ae2c41caa8..e9e74ad5cc 100644 > --- a/support/README > +++ b/support/README > @@ -14,7 +14,7 @@ error. They are declared in these header files: > > In general, new wrappers should be added to support.h if possible. > However, support.h must remain fully compatible with C90 and therefore > -cannot include headers which use identifers not reserved in C90. If > +cannot include headers which use identifiers not reserved in C90. If > the wrappers need additional types, additional headers such as > signal.h need to be introduced. > > diff --git a/support/delayed_exit.c b/support/delayed_exit.c > index e5028bf13f..53aa40c275 100644 > --- a/support/delayed_exit.c > +++ b/support/delayed_exit.c > @@ -33,7 +33,7 @@ delayed_exit_thread (void *seconds_as_ptr) > struct timespec remaining = { 0 }; > if (nanosleep (&delay, &remaining) != 0) > FAIL_EXIT1 ("nanosleep: %m"); > - /* Exit the process sucessfully. */ > + /* Exit the process successfully. */ > exit (0); > return NULL; > } > diff --git a/support/resolv_test.c b/support/resolv_test.c > index fd1f5e78bb..c5694631f2 100644 > --- a/support/resolv_test.c > +++ b/support/resolv_test.c > @@ -91,7 +91,7 @@ ascii_tolower (unsigned char ch) > } > > /* Compare both names, for use with tsearch. The order is arbitrary, > - but the comparison is case-insenstive. */ > + but the comparison is case-insensitive. */ > static int > compare_compressed_name (const void *left, const void *right) > { > @@ -119,7 +119,7 @@ compare_compressed_name (const void *left, const void *right) > if (lenleft == 0) > /* End of name reached without spotting a difference. */ > return 0; > - /* Compare the label in a case-insenstive manner. */ > + /* Compare the label in a case-insensitive manner. */ > const unsigned char *endnameleft = nameleft + lenleft; > while (nameleft < endnameleft) > { > @@ -525,7 +525,7 @@ parse_query (struct query_info *info, > _Static_assert (sizeof (rr) == 11, "EDNS record size"); > > if (remaining < 4 + sizeof (rr)) > - FAIL_EXIT1 ("mailformed DNS query: no room for EDNS record"); > + FAIL_EXIT1 ("malformed DNS query: no room for EDNS record"); > memcpy (&rr, buffer + 12 + ret + 4, sizeof (rr)); > if (rr.root != 0) > FAIL_EXIT1 ("malformed DNS query: invalid OPT RNAME: %d\n", rr.root); > @@ -843,7 +843,7 @@ writev_fully (int fd, struct iovec *buffers, size_t count) > --count; > continue; > } > - /* Try to rewrite the remaing buffers. */ > + /* Try to rewrite the remaining buffers. */ > ssize_t ret = writev (fd, buffers, count); > if (ret < 0) > FAIL_EXIT1 ("writev: %m"); > @@ -969,7 +969,7 @@ server_thread_tcp (struct resolv_test *obj, int server_index) > { > while (true) > { > - /* Get the client conenction. */ > + /* Get the client connection. */ > int client_socket = xaccept > (obj->servers[server_index].socket_tcp, NULL, NULL); > > diff --git a/support/resolv_test.h b/support/resolv_test.h > index 8d05fc4e06..32673f0213 100644 > --- a/support/resolv_test.h > +++ b/support/resolv_test.h > @@ -116,7 +116,7 @@ struct resolv_redirect_config > const struct sockaddr *const *server_address_overrides; > }; > > -/* Configure NSS to use, nss_dns only for aplicable databases, and try > +/* Configure NSS to use, nss_dns only for applicable databases, and try > to put the process into a network namespace for better isolation. > This may have to be called before resolv_test_start, before the > process creates any threads. Otherwise, initialization is > @@ -125,7 +125,7 @@ void resolv_test_init (void); > > /* Initiate resolver testing. This updates the _res variable as > needed. As a side effect, NSS is reconfigured to use nss_dns only > - for aplicable databases, and the process may enter a network > + for applicable databases, and the process may enter a network > namespace for better isolation. */ > struct resolv_test *resolv_test_start (struct resolv_redirect_config); > > diff --git a/support/support_record_failure.c b/support/support_record_failure.c > index 27055bde0c..711f08801b 100644 > --- a/support/support_record_failure.c > +++ b/support/support_record_failure.c > @@ -32,7 +32,7 @@ > zero, the failure of a test can be detected. > > The init constructor function below puts *state on a shared > - annonymous mapping, so that failure reports from subprocesses > + anonymous mapping, so that failure reports from subprocesses > propagate to the parent process. */ > struct test_failures > { > diff --git a/support/support_test_main.c b/support/support_test_main.c > index 94f02dfb4f..c20c19e774 100644 > --- a/support/support_test_main.c > +++ b/support/support_test_main.c > @@ -469,7 +469,7 @@ support_test_main (int argc, char **argv, const struct test_config *config) > exit (1); > } > > - /* Process terminated normaly without timeout etc. */ > + /* Process terminated normally without timeout etc. */ > if (WIFEXITED (status)) > { > if (config->expected_status == 0) > diff --git a/support/temp_file.c b/support/temp_file.c > index 536f238175..74e3861d40 100644 > --- a/support/temp_file.c > +++ b/support/temp_file.c > @@ -249,7 +249,7 @@ support_delete_temp_files (void) > pid_t pid = getpid (); > while (temp_name_list != NULL) > { > - /* Only perform the removal if the path was registed in the same > + /* Only perform the removal if the path was registered in the same > process, as identified by the PID. (This assumes that the > parent process which registered the temporary file sticks > around, to prevent PID reuse.) */ > diff --git a/support/test-container.c b/support/test-container.c > index e68f16eecf..8da7673950 100644 > --- a/support/test-container.c > +++ b/support/test-container.c > @@ -279,7 +279,7 @@ devmount (const char *new_root_path, const char *which) > concat (new_root_path, "/dev/", which, NULL)); > } > > -/* Returns true if the string "looks like" an environement variable > +/* Returns true if the string "looks like" an environment variable > being set. */ > static int > is_env_setting (const char *a) > @@ -800,7 +800,7 @@ main (int argc, char **argv) > --argc; > while (is_env_setting (argv[1])) > { > - /* If there are variables we do NOT want to propogate, this > + /* If there are variables we do NOT want to propagate, this > is where the test for them goes. */ > { > /* Need to keep these. Note that putenv stores a > @@ -1175,7 +1175,7 @@ main (int argc, char **argv) > > /* To complete the containerization, we need to fork () at least > once. We can't exec, nor can we somehow link the new child to > - our parent. So we run the child and propogate it's exit status > + our parent. So we run the child and propagate it's exit status > up. */ > child = fork (); > if (child < 0) > @@ -1233,11 +1233,11 @@ main (int argc, char **argv) > { > /* This happens if we're trying to create a nested container, > like if the build is running under podman, and we lack > - priviledges. > + privileges. > > Ideally we would WARN here, but that would just add noise to > *every* test-container test, and the ones that care should > - have their own relevent diagnostics. > + have their own relevant diagnostics. > > FAIL_EXIT1 ("Unable to mount /proc: "); */ > } > diff --git a/support/tst-timespec.c b/support/tst-timespec.c > index aee191e5c0..08c2c71ef5 100644 > --- a/support/tst-timespec.c > +++ b/support/tst-timespec.c > @@ -76,22 +76,22 @@ struct timespec_ns_test_case ns_cases[] = { > {.time = {.tv_sec = -1, .tv_nsec = 1}, > .time_ns = -TIMESPEC_HZ + 1, > }, > - /* Overflow bondary by 2 */ > + /* Overflow boundary by 2 */ > {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ, > .tv_nsec = TIME_T_MAX % TIMESPEC_HZ - 1}, > .time_ns = TIME_T_MAX - 1, > }, > - /* Overflow bondary */ > + /* Overflow boundary */ > {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ, > .tv_nsec = TIME_T_MAX % TIMESPEC_HZ}, > .time_ns = TIME_T_MAX, > }, > - /* Underflow bondary by 1 */ > + /* Underflow boundary by 1 */ > {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ, > .tv_nsec = TIME_T_MIN % TIMESPEC_HZ + 1}, > .time_ns = TIME_T_MIN + 1, > }, > - /* Underflow bondary */ > + /* Underflow boundary */ > {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ, > .tv_nsec = TIME_T_MIN % TIMESPEC_HZ}, > .time_ns = TIME_T_MIN, > @@ -153,19 +153,19 @@ struct timespec_norm_test_case norm_cases[] = { > {.time = {.tv_sec = -1, .tv_nsec = -TIMESPEC_HZ - 1}, > .norm = {.tv_sec = -2, .tv_nsec = -1} > }, > - /* Overflow bondary by 2 */ > + /* Overflow boundary by 2 */ > {.time = {.tv_sec = TIME_T_MAX - 2, .tv_nsec = TIMESPEC_HZ + 1}, > .norm = {.tv_sec = TIME_T_MAX - 1, 1}, > }, > - /* Overflow bondary by 1 */ > + /* Overflow boundary by 1 */ > {.time = {.tv_sec = TIME_T_MAX - 1, .tv_nsec = TIMESPEC_HZ + 1}, > .norm = {.tv_sec = TIME_T_MAX, .tv_nsec = 1}, > }, > - /* Underflow bondary by 2 */ > + /* Underflow boundary by 2 */ > {.time = {.tv_sec = TIME_T_MIN + 2, .tv_nsec = -TIMESPEC_HZ - 1}, > .norm = {.tv_sec = TIME_T_MIN + 1, -1}, > }, > - /* Underflow bondary by 1 */ > + /* Underflow boundary by 1 */ > {.time = {.tv_sec = TIME_T_MIN + 1, .tv_nsec = -TIMESPEC_HZ - 1}, > .norm = {.tv_sec = TIME_T_MIN, .tv_nsec = -1}, > }, > diff --git a/sysdeps/aarch64/atomic-machine.h b/sysdeps/aarch64/atomic-machine.h > index 0ea74866f0..6f48029d91 100644 > --- a/sysdeps/aarch64/atomic-machine.h > +++ b/sysdeps/aarch64/atomic-machine.h > @@ -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) \ > ({ \ > diff --git a/sysdeps/aarch64/multiarch/memset_base64.S b/sysdeps/aarch64/multiarch/memset_base64.S > index 43c0feb952..35296a6dec 100644 > --- a/sysdeps/aarch64/multiarch/memset_base64.S > +++ b/sysdeps/aarch64/multiarch/memset_base64.S > @@ -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 > diff --git a/sysdeps/alpha/alphaev67/strrchr.S b/sysdeps/alpha/alphaev67/strrchr.S > index 678d256762..79a2cb9939 100644 > --- a/sysdeps/alpha/alphaev67/strrchr.S > +++ b/sysdeps/alpha/alphaev67/strrchr.S > @@ -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 */ > diff --git a/sysdeps/alpha/atomic-machine.h b/sysdeps/alpha/atomic-machine.h > index a5690919d5..8051d67895 100644 > --- a/sysdeps/alpha/atomic-machine.h > +++ b/sysdeps/alpha/atomic-machine.h > @@ -127,7 +127,7 @@ > : "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; \ > diff --git a/sysdeps/alpha/divq.S b/sysdeps/alpha/divq.S > index 685819a859..57ac4a01e6 100644 > --- a/sysdeps/alpha/divq.S > +++ b/sysdeps/alpha/divq.S > @@ -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. > > diff --git a/sysdeps/alpha/divqu.S b/sysdeps/alpha/divqu.S > index 10d456130d..47bef5f5be 100644 > --- a/sysdeps/alpha/divqu.S > +++ b/sysdeps/alpha/divqu.S > @@ -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. > > diff --git a/sysdeps/alpha/fpu/bits/fenv.h b/sysdeps/alpha/fpu/bits/fenv.h > index cd89686634..cc7b0912f1 100644 > --- a/sysdeps/alpha/fpu/bits/fenv.h > +++ b/sysdeps/alpha/fpu/bits/fenv.h > @@ -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 > diff --git a/sysdeps/alpha/fpu/feupdateenv.c b/sysdeps/alpha/fpu/feupdateenv.c > index 58bbaf6d57..a26f580e92 100644 > --- a/sysdeps/alpha/fpu/feupdateenv.c > +++ b/sysdeps/alpha/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/alpha/ots_cvtqux.c b/sysdeps/alpha/ots_cvtqux.c > index 38400f4fab..2ad38c522d 100644 > --- a/sysdeps/alpha/ots_cvtqux.c > +++ b/sysdeps/alpha/ots_cvtqux.c > @@ -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 > > diff --git a/sysdeps/alpha/ots_cvtqx.c b/sysdeps/alpha/ots_cvtqx.c > index 3016e26c62..70fcc1f741 100644 > --- a/sysdeps/alpha/ots_cvtqx.c > +++ b/sysdeps/alpha/ots_cvtqx.c > @@ -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 > > diff --git a/sysdeps/alpha/remq.S b/sysdeps/alpha/remq.S > index 9e6f9229bd..2dc995b662 100644 > --- a/sysdeps/alpha/remq.S > +++ b/sysdeps/alpha/remq.S > @@ -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. > > diff --git a/sysdeps/alpha/remqu.S b/sysdeps/alpha/remqu.S > index a5cd1d11de..4df92563ef 100644 > --- a/sysdeps/alpha/remqu.S > +++ b/sysdeps/alpha/remqu.S > @@ -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. > > diff --git a/sysdeps/alpha/stpncpy.S b/sysdeps/alpha/stpncpy.S > index a646d97a97..191565273f 100644 > --- a/sysdeps/alpha/stpncpy.S > +++ b/sysdeps/alpha/stpncpy.S > @@ -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 : > diff --git a/sysdeps/alpha/strrchr.S b/sysdeps/alpha/strrchr.S > index 8118d20c4f..0374b6e0a9 100644 > --- a/sysdeps/alpha/strrchr.S > +++ b/sysdeps/alpha/strrchr.S > @@ -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: > diff --git a/sysdeps/arc/fpu/fesetenv.c b/sysdeps/arc/fpu/fesetenv.c > index 72bde77ba9..353345aad0 100644 > --- a/sysdeps/arc/fpu/fesetenv.c > +++ b/sysdeps/arc/fpu/fesetenv.c > @@ -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. > > diff --git a/sysdeps/arm/armv6/rawmemchr.S b/sysdeps/arm/armv6/rawmemchr.S > index cd3d2aee21..87987ca68a 100644 > --- a/sysdeps/arm/armv6/rawmemchr.S > +++ b/sysdeps/arm/armv6/rawmemchr.S > @@ -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 > diff --git a/sysdeps/arm/armv6/strchr.S b/sysdeps/arm/armv6/strchr.S > index 415f6a5a2b..f49ea53667 100644 > --- a/sysdeps/arm/armv6/strchr.S > +++ b/sysdeps/arm/armv6/strchr.S > @@ -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 > diff --git a/sysdeps/arm/armv6/strcpy.S b/sysdeps/arm/armv6/strcpy.S > index e9f63a56c1..14c6bd2fde 100644 > --- a/sysdeps/arm/armv6/strcpy.S > +++ b/sysdeps/arm/armv6/strcpy.S > @@ -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) > diff --git a/sysdeps/arm/armv6/strlen.S b/sysdeps/arm/armv6/strlen.S > index b436b80e7e..29966ff34f 100644 > --- a/sysdeps/arm/armv6/strlen.S > +++ b/sysdeps/arm/armv6/strlen.S > @@ -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 > diff --git a/sysdeps/arm/armv6/strrchr.S b/sysdeps/arm/armv6/strrchr.S > index 2b91e7abcc..e91fd38650 100644 > --- a/sysdeps/arm/armv6/strrchr.S > +++ b/sysdeps/arm/armv6/strrchr.S > @@ -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. > diff --git a/sysdeps/arm/atomic-machine.h b/sysdeps/arm/atomic-machine.h > index f5231e8d7d..353b6ccbea 100644 > --- a/sysdeps/arm/atomic-machine.h > +++ b/sysdeps/arm/atomic-machine.h > @@ -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; }) > diff --git a/sysdeps/arm/dl-tlsdesc.h b/sysdeps/arm/dl-tlsdesc.h > index 5c2d8b512b..bb647ccc87 100644 > --- a/sysdeps/arm/dl-tlsdesc.h > +++ b/sysdeps/arm/dl-tlsdesc.h > @@ -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. > > diff --git a/sysdeps/arm/find_exidx.c b/sysdeps/arm/find_exidx.c > index 1404f2ba28..e4ee106fb8 100644 > --- a/sysdeps/arm/find_exidx.c > +++ b/sysdeps/arm/find_exidx.c > @@ -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 > diff --git a/sysdeps/arm/nptl/Makefile b/sysdeps/arm/nptl/Makefile > index cfbfac90e8..fa2c736c5c 100644 > --- a/sysdeps/arm/nptl/Makefile > +++ b/sysdeps/arm/nptl/Makefile > @@ -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)) > diff --git a/sysdeps/arm/stap-probe-machine.h b/sysdeps/arm/stap-probe-machine.h > index 9555557a12..2a812c6ff8 100644 > --- a/sysdeps/arm/stap-probe-machine.h > +++ b/sysdeps/arm/stap-probe-machine.h > @@ -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 > diff --git a/sysdeps/csky/fpu/feupdateenv.c b/sysdeps/csky/fpu/feupdateenv.c > index d061bdd05a..017c375e09 100644 > --- a/sysdeps/csky/fpu/feupdateenv.c > +++ b/sysdeps/csky/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h > index ba53176296..8b7e603c87 100644 > --- a/sysdeps/generic/ldsodefs.h > +++ b/sysdeps/generic/ldsodefs.h > @@ -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; > diff --git a/sysdeps/generic/sysdep.h b/sysdeps/generic/sysdep.h > index 11a5bed338..e77be376f7 100644 > --- a/sysdeps/generic/sysdep.h > +++ b/sysdeps/generic/sysdep.h > @@ -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 > diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c > index ae46c4eee3..ba91e75557 100644 > --- a/sysdeps/generic/unwind-dw2-fde-glibc.c > +++ b/sysdeps/generic/unwind-dw2-fde-glibc.c > @@ -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++) > diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h > index 41ca11b5f5..1793724642 100644 > --- a/sysdeps/gnu/netinet/tcp.h > +++ b/sysdeps/gnu/netinet/tcp.h > @@ -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? */ > diff --git a/sysdeps/hppa/__longjmp.c b/sysdeps/hppa/__longjmp.c > index 055cc26736..cbd701e286 100644 > --- a/sysdeps/hppa/__longjmp.c > +++ b/sysdeps/hppa/__longjmp.c > @@ -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" > diff --git a/sysdeps/hppa/dl-fptr.c b/sysdeps/hppa/dl-fptr.c > index 5218f7c7c8..1c0d51ca9b 100644 > --- a/sysdeps/hppa/dl-fptr.c > +++ b/sysdeps/hppa/dl-fptr.c > @@ -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 > diff --git a/sysdeps/hppa/dl-trampoline.S b/sysdeps/hppa/dl-trampoline.S > index ed9f7af7e7..689c6e1a40 100644 > --- a/sysdeps/hppa/dl-trampoline.S > +++ b/sysdeps/hppa/dl-trampoline.S > @@ -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) > diff --git a/sysdeps/hppa/nptl/bits/struct_mutex.h b/sysdeps/hppa/nptl/bits/struct_mutex.h > index 9033fdfe75..899212a41b 100644 > --- a/sysdeps/hppa/nptl/bits/struct_mutex.h > +++ b/sysdeps/hppa/nptl/bits/struct_mutex.h > @@ -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]; > diff --git a/sysdeps/htl/bits/cancelation.h b/sysdeps/htl/bits/cancelation.h > index 5fbc308e33..9e0309a370 100644 > --- a/sysdeps/htl/bits/cancelation.h > +++ b/sysdeps/htl/bits/cancelation.h > @@ -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. > > diff --git a/sysdeps/htl/pt-cond-timedwait.c b/sysdeps/htl/pt-cond-timedwait.c > index 9cea259e53..c537350933 100644 > --- a/sysdeps/htl/pt-cond-timedwait.c > +++ b/sysdeps/htl/pt-cond-timedwait.c > @@ -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); > diff --git a/sysdeps/htl/pt-key.h b/sysdeps/htl/pt-key.h > index df3601e01d..262006de9f 100644 > --- a/sysdeps/htl/pt-key.h > +++ b/sysdeps/htl/pt-key.h > @@ -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. > > diff --git a/sysdeps/htl/pt-rwlock-timedrdlock.c b/sysdeps/htl/pt-rwlock-timedrdlock.c > index 882b195986..6041ce91a1 100644 > --- a/sysdeps/htl/pt-rwlock-timedrdlock.c > +++ b/sysdeps/htl/pt-rwlock-timedrdlock.c > @@ -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; > diff --git a/sysdeps/htl/pt-rwlock-timedwrlock.c b/sysdeps/htl/pt-rwlock-timedwrlock.c > index a2c969fef8..6eb66aa5a8 100644 > --- a/sysdeps/htl/pt-rwlock-timedwrlock.c > +++ b/sysdeps/htl/pt-rwlock-timedwrlock.c > @@ -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; > diff --git a/sysdeps/htl/pt-rwlock-unlock.c b/sysdeps/htl/pt-rwlock-unlock.c > index 5564c27dcf..7b5465dab5 100644 > --- a/sysdeps/htl/pt-rwlock-unlock.c > +++ b/sysdeps/htl/pt-rwlock-unlock.c > @@ -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); > diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h > index 6de08f19db..cc9e7bf94d 100644 > --- a/sysdeps/htl/pthread.h > +++ b/sysdeps/htl/pthread.h > @@ -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) > > > > -/* 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)); > diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c > index bfd4eabf43..bae0708f95 100644 > --- a/sysdeps/htl/timer_routines.c > +++ b/sysdeps/htl/timer_routines.c > @@ -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. */ > diff --git a/sysdeps/i386/fpu/feupdateenv.c b/sysdeps/i386/fpu/feupdateenv.c > index 77f1054fb5..749061751e 100644 > --- a/sysdeps/i386/fpu/feupdateenv.c > +++ b/sysdeps/i386/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/i386/i686/dl-hash.h b/sysdeps/i386/i686/dl-hash.h > index f8e0c29a9b..67d8d14e32 100644 > --- a/sysdeps/i386/i686/dl-hash.h > +++ b/sysdeps/i386/i686/dl-hash.h > @@ -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. > > diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S > index 51221331ac..e784e21176 100644 > --- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S > +++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S > @@ -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 > diff --git a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S > index 7677da6f97..3e4dc1ee3d 100644 > --- a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S > +++ b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S > @@ -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 > diff --git a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S > index 644ed4ea71..f14e54c975 100644 > --- a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S > +++ b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S > @@ -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 > diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S > index 3966444bef..33d3c60188 100644 > --- a/sysdeps/i386/strpbrk.S > +++ b/sysdeps/i386/strpbrk.S > @@ -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. > diff --git a/sysdeps/ia64/dl-trampoline.S b/sysdeps/ia64/dl-trampoline.S > index 0398850be3..54b33c8c02 100644 > --- a/sysdeps/ia64/dl-trampoline.S > +++ b/sysdeps/ia64/dl-trampoline.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/e_acos.S b/sysdeps/ia64/fpu/e_acos.S > index 641c3fd35a..b10fd2195c 100644 > --- a/sysdeps/ia64/fpu/e_acos.S > +++ b/sysdeps/ia64/fpu/e_acos.S > @@ -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. > // > @@ -100,7 +100,7 @@ > // 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 > diff --git a/sysdeps/ia64/fpu/e_acosf.S b/sysdeps/ia64/fpu/e_acosf.S > index 1507b46c81..7b32ffabc6 100644 > --- a/sysdeps/ia64/fpu/e_acosf.S > +++ b/sysdeps/ia64/fpu/e_acosf.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/e_asin.S b/sysdeps/ia64/fpu/e_asin.S > index a9ff25afbf..29db6ab331 100644 > --- a/sysdeps/ia64/fpu/e_asin.S > +++ b/sysdeps/ia64/fpu/e_asin.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/e_asinf.S b/sysdeps/ia64/fpu/e_asinf.S > index 841f815293..546de3b9e6 100644 > --- a/sysdeps/ia64/fpu/e_asinf.S > +++ b/sysdeps/ia64/fpu/e_asinf.S > @@ -56,12 +56,12 @@ > // 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 > > diff --git a/sysdeps/ia64/fpu/e_log.S b/sysdeps/ia64/fpu/e_log.S > index 61c8e2c6a8..0275c7baec 100644 > --- a/sysdeps/ia64/fpu/e_log.S > +++ b/sysdeps/ia64/fpu/e_log.S > @@ -121,7 +121,7 @@ > // 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. > // > diff --git a/sysdeps/ia64/fpu/e_logf.S b/sysdeps/ia64/fpu/e_logf.S > index 7330b305c2..f317c567da 100644 > --- a/sysdeps/ia64/fpu/e_logf.S > +++ b/sysdeps/ia64/fpu/e_logf.S > @@ -118,7 +118,7 @@ > // 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. > // > @@ -171,7 +171,7 @@ > // 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 > diff --git a/sysdeps/ia64/fpu/e_pow.S b/sysdeps/ia64/fpu/e_pow.S > index 7157b28838..3d87d6172d 100644 > --- a/sysdeps/ia64/fpu/e_pow.S > +++ b/sysdeps/ia64/fpu/e_pow.S > @@ -108,7 +108,7 @@ > // > // 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)) > @@ -357,7 +357,7 @@ > // +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 > diff --git a/sysdeps/ia64/fpu/e_powf.S b/sysdeps/ia64/fpu/e_powf.S > index 0e8aad192b..e353b08658 100644 > --- a/sysdeps/ia64/fpu/e_powf.S > +++ b/sysdeps/ia64/fpu/e_powf.S > @@ -108,7 +108,7 @@ > // > // 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)) > @@ -353,7 +353,7 @@ > // +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 > diff --git a/sysdeps/ia64/fpu/libm_lgammaf.S b/sysdeps/ia64/fpu/libm_lgammaf.S > index 7697cc69ed..1a1a68a9c4 100644 > --- a/sysdeps/ia64/fpu/libm_lgammaf.S > +++ b/sysdeps/ia64/fpu/libm_lgammaf.S > @@ -161,7 +161,7 @@ > // precision number. > // > // > -// Claculation of logarithm > +// Calculation of logarithm > // ------------------------ > // Consider x = 2^N * xf so > // ln(x) = ln(frcpa(x)*x/frcpa(x)) > diff --git a/sysdeps/ia64/fpu/libm_lgammal.S b/sysdeps/ia64/fpu/libm_lgammal.S > index d82e4fcaf9..aab45690ed 100644 > --- a/sysdeps/ia64/fpu/libm_lgammal.S > +++ b/sysdeps/ia64/fpu/libm_lgammal.S > @@ -219,7 +219,7 @@ > // 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 > } > diff --git a/sysdeps/ia64/fpu/libm_reduce.S b/sysdeps/ia64/fpu/libm_reduce.S > index fd7d06d263..01f16e423c 100644 > --- a/sysdeps/ia64/fpu/libm_reduce.S > +++ b/sysdeps/ia64/fpu/libm_reduce.S > @@ -133,7 +133,7 @@ > // ============== > // > // 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 > @@ -158,7 +158,7 @@ > // > // 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 > // > diff --git a/sysdeps/ia64/fpu/libm_sincos_large.S b/sysdeps/ia64/fpu/libm_sincos_large.S > index 031bf083da..5835ea2d7b 100644 > --- a/sysdeps/ia64/fpu/libm_sincos_large.S > +++ b/sysdeps/ia64/fpu/libm_sincos_large.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/libm_sincosl.S b/sysdeps/ia64/fpu/libm_sincosl.S > index 1eec445ed6..a5f0ad5d14 100644 > --- a/sysdeps/ia64/fpu/libm_sincosl.S > +++ b/sysdeps/ia64/fpu/libm_sincosl.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_cosl.S b/sysdeps/ia64/fpu/s_cosl.S > index f5052dd508..559cdb6607 100644 > --- a/sysdeps/ia64/fpu/s_cosl.S > +++ b/sysdeps/ia64/fpu/s_cosl.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_erfcl.S b/sysdeps/ia64/fpu/s_erfcl.S > index 09d7c2aef1..2d3cdc1849 100644 > --- a/sysdeps/ia64/fpu/s_erfcl.S > +++ b/sysdeps/ia64/fpu/s_erfcl.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_modf.S b/sysdeps/ia64/fpu/s_modf.S > index 79935fb55f..1d9b3b82b3 100644 > --- a/sysdeps/ia64/fpu/s_modf.S > +++ b/sysdeps/ia64/fpu/s_modf.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_modff.S b/sysdeps/ia64/fpu/s_modff.S > index 3bdcf26e5f..9eb3f74c46 100644 > --- a/sysdeps/ia64/fpu/s_modff.S > +++ b/sysdeps/ia64/fpu/s_modff.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_modfl.S b/sysdeps/ia64/fpu/s_modfl.S > index 5fdfdb6447..23057c841a 100644 > --- a/sysdeps/ia64/fpu/s_modfl.S > +++ b/sysdeps/ia64/fpu/s_modfl.S > @@ -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 > diff --git a/sysdeps/ia64/fpu/s_tanhl.S b/sysdeps/ia64/fpu/s_tanhl.S > index 5a05c91552..9c657c87b7 100644 > --- a/sysdeps/ia64/fpu/s_tanhl.S > +++ b/sysdeps/ia64/fpu/s_tanhl.S > @@ -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 > // > diff --git a/sysdeps/ia64/fpu/w_tgamma_compat.S b/sysdeps/ia64/fpu/w_tgamma_compat.S > index 8440a0c7b3..0afda2b0a0 100644 > --- a/sysdeps/ia64/fpu/w_tgamma_compat.S > +++ b/sysdeps/ia64/fpu/w_tgamma_compat.S > @@ -169,7 +169,7 @@ > // 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 > diff --git a/sysdeps/ia64/fpu/w_tgammaf_compat.S b/sysdeps/ia64/fpu/w_tgammaf_compat.S > index 67eed2722f..c1f7ad596f 100644 > --- a/sysdeps/ia64/fpu/w_tgammaf_compat.S > +++ b/sysdeps/ia64/fpu/w_tgammaf_compat.S > @@ -170,7 +170,7 @@ > // 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. > // > // > //********************************************************************* > diff --git a/sysdeps/ia64/memchr.S b/sysdeps/ia64/memchr.S > index 7cdc9386c8..393058c4ad 100644 > --- a/sysdeps/ia64/memchr.S > +++ b/sysdeps/ia64/memchr.S > @@ -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 > diff --git a/sysdeps/ia64/strchr.S b/sysdeps/ia64/strchr.S > index 27d5cacea8..13b04dc725 100644 > --- a/sysdeps/ia64/strchr.S > +++ b/sysdeps/ia64/strchr.S > @@ -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 > diff --git a/sysdeps/ieee754/dbl-64/branred.c b/sysdeps/ieee754/dbl-64/branred.c > index 8f0bf385a3..7fb96e7fa8 100644 > --- a/sysdeps/ieee754/dbl-64/branred.c > +++ b/sysdeps/ieee754/dbl-64/branred.c > @@ -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 */ > } > diff --git a/sysdeps/ieee754/dbl-64/e_lgamma_r.c b/sysdeps/ieee754/dbl-64/e_lgamma_r.c > index 5ef289e8e8..72c68b6682 100644 > --- a/sysdeps/ieee754/dbl-64/e_lgamma_r.c > +++ b/sysdeps/ieee754/dbl-64/e_lgamma_r.c > @@ -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) > diff --git a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c > index 83eb82190b..a02e661183 100644 > --- a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c > +++ b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c > @@ -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) > diff --git a/sysdeps/ieee754/ldbl-96/e_lgammal_r.c b/sysdeps/ieee754/ldbl-96/e_lgammal_r.c > index c6f0e77057..148c21bb8d 100644 > --- a/sysdeps/ieee754/ldbl-96/e_lgammal_r.c > +++ b/sysdeps/ieee754/ldbl-96/e_lgammal_r.c > @@ -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) > diff --git a/sysdeps/loongarch/configure.ac b/sysdeps/loongarch/configure.ac > index eaee4a9f76..c45f6b815e 100644 > --- a/sysdeps/loongarch/configure.ac > +++ b/sysdeps/loongarch/configure.ac > @@ -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, [ > diff --git a/sysdeps/loongarch/fpu/feupdateenv.c b/sysdeps/loongarch/fpu/feupdateenv.c > index 63e6f8d65b..d5cdfb5a09 100644 > --- a/sysdeps/loongarch/fpu/feupdateenv.c > +++ b/sysdeps/loongarch/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/m68k/fpu/feupdateenv.c b/sysdeps/m68k/fpu/feupdateenv.c > index 4a399900bc..ffa3401b9e 100644 > --- a/sysdeps/m68k/fpu/feupdateenv.c > +++ b/sysdeps/m68k/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/m68k/unwind-arch.h b/sysdeps/m68k/unwind-arch.h > index b0e42a7f76..a4920a0187 100644 > --- a/sysdeps/m68k/unwind-arch.h > +++ b/sysdeps/m68k/unwind-arch.h > @@ -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 */ > diff --git a/sysdeps/mach/htl/pt-thread-alloc.c b/sysdeps/mach/htl/pt-thread-alloc.c > index 29993a8ca8..c73e4952f5 100644 > --- a/sysdeps/mach/htl/pt-thread-alloc.c > +++ b/sysdeps/mach/htl/pt-thread-alloc.c > @@ -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) > diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile > index b585d57b78..5bc682a397 100644 > --- a/sysdeps/mach/hurd/Makefile > +++ b/sysdeps/mach/hurd/Makefile > @@ -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 $@ > diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h > index 0a392e4c69..b5bc971d08 100644 > --- a/sysdeps/mach/hurd/bits/posix_opt.h > +++ b/sysdeps/mach/hurd/bits/posix_opt.h > @@ -87,14 +87,14 @@ > /* 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. */ > diff --git a/sysdeps/mach/hurd/errno-loc.c b/sysdeps/mach/hurd/errno-loc.c > index e0a66ce825..823ce696b0 100644 > --- a/sysdeps/mach/hurd/errno-loc.c > +++ b/sysdeps/mach/hurd/errno-loc.c > @@ -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 > diff --git a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h > index 11caa8704b..8f859795fd 100644 > --- a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h > +++ b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h > @@ -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 } } } > diff --git a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c > index f1f1bb47db..17fa46c15c 100644 > --- a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c > +++ b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c > @@ -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; > diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data > index c01e4d81e4..89b124db9f 100644 > --- a/sysdeps/mach/hurd/i386/localplt.data > +++ b/sysdeps/mach/hurd/i386/localplt.data > @@ -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 > diff --git a/sysdeps/mach/hurd/ptsname.c b/sysdeps/mach/hurd/ptsname.c > index 06234f536b..10edaa8d8a 100644 > --- a/sysdeps/mach/hurd/ptsname.c > +++ b/sysdeps/mach/hurd/ptsname.c > @@ -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))) > diff --git a/sysdeps/mach/hurd/recvfrom.c b/sysdeps/mach/hurd/recvfrom.c > index 6f2c927ab6..c9812afd91 100644 > --- a/sysdeps/mach/hurd/recvfrom.c > +++ b/sysdeps/mach/hurd/recvfrom.c > @@ -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 > diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c > index 03191b91fc..7c150a5035 100644 > --- a/sysdeps/mach/hurd/setitimer.c > +++ b/sysdeps/mach/hurd/setitimer.c > @@ -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. */ > diff --git a/sysdeps/mips/atomic-machine.h b/sysdeps/mips/atomic-machine.h > index 99f42efab6..c40254d387 100644 > --- a/sysdeps/mips/atomic-machine.h > +++ b/sysdeps/mips/atomic-machine.h > @@ -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) > diff --git a/sysdeps/mips/bits/link.h b/sysdeps/mips/bits/link.h > index b2ebe30d1d..f0cb05c43c 100644 > --- a/sysdeps/mips/bits/link.h > +++ b/sysdeps/mips/bits/link.h > @@ -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; > diff --git a/sysdeps/mips/fpu/feupdateenv.c b/sysdeps/mips/fpu/feupdateenv.c > index 03537235d7..59f86ac1b3 100644 > --- a/sysdeps/mips/fpu/feupdateenv.c > +++ b/sysdeps/mips/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S > index b1e1c3dc94..91a7bf0a68 100644 > --- a/sysdeps/mips/memcpy.S > +++ b/sysdeps/mips/memcpy.S > @@ -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) > diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S > index 0430dca427..450f9014ec 100644 > --- a/sysdeps/mips/memset.S > +++ b/sysdeps/mips/memset.S > @@ -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. */ > diff --git a/sysdeps/mips/start.S b/sysdeps/mips/start.S > index c08991c20d..35ef4403f8 100644 > --- a/sysdeps/mips/start.S > +++ b/sysdeps/mips/start.S > @@ -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. > */ > > diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h > index d250770586..f3a11391a0 100644 > --- a/sysdeps/mips/sys/asm.h > +++ b/sysdeps/mips/sys/asm.h > @@ -198,7 +198,7 @@ symbol = value > TEXT(msg) > > /* > - * Print formated string > + * Print formatted string > */ > #define PRINT(string) \ > .set push; \ > diff --git a/sysdeps/mips/tst-abi-interlink.c b/sysdeps/mips/tst-abi-interlink.c > index 6908378e3a..ccd136f4db 100644 > --- a/sysdeps/mips/tst-abi-interlink.c > +++ b/sysdeps/mips/tst-abi-interlink.c > @@ -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) > { > diff --git a/sysdeps/mips/unwind-arch.h b/sysdeps/mips/unwind-arch.h > index 94277d0a86..b9de815ac6 100644 > --- a/sysdeps/mips/unwind-arch.h > +++ b/sysdeps/mips/unwind-arch.h > @@ -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 > diff --git a/sysdeps/nios2/dl-machine.h b/sysdeps/nios2/dl-machine.h > index 50c83df1cb..f151d29242 100644 > --- a/sysdeps/nios2/dl-machine.h > +++ b/sysdeps/nios2/dl-machine.h > @@ -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\ > diff --git a/sysdeps/nios2/start.S b/sysdeps/nios2/start.S > index 9179c330f7..fe2d69d3c9 100644 > --- a/sysdeps/nios2/start.S > +++ b/sysdeps/nios2/start.S > @@ -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. > */ > > diff --git a/sysdeps/nptl/dl-tls_init_tp.c b/sysdeps/nptl/dl-tls_init_tp.c > index 50dc778852..2ed98c5a31 100644 > --- a/sysdeps/nptl/dl-tls_init_tp.c > +++ b/sysdeps/nptl/dl-tls_init_tp.c > @@ -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 (); > diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h > index 3d0d07ceb2..7f65483542 100644 > --- a/sysdeps/nptl/pthread.h > +++ b/sysdeps/nptl/pthread.h > @@ -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 > diff --git a/sysdeps/or1k/dl-machine.h b/sysdeps/or1k/dl-machine.h > index b6707b96e0..27dfd7bcdd 100644 > --- a/sysdeps/or1k/dl-machine.h > +++ b/sysdeps/or1k/dl-machine.h > @@ -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 > diff --git a/sysdeps/or1k/nptl/tls.h b/sysdeps/or1k/nptl/tls.h > index 6d4f8bdc1f..daea7a893d 100644 > --- a/sysdeps/or1k/nptl/tls.h > +++ b/sysdeps/or1k/nptl/tls.h > @@ -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 \ > diff --git a/sysdeps/powerpc/atomic-machine.h b/sysdeps/powerpc/atomic-machine.h > index aae467cc50..80369e0f94 100644 > --- a/sysdeps/powerpc/atomic-machine.h > +++ b/sysdeps/powerpc/atomic-machine.h > @@ -18,7 +18,7 @@ > > /* > * Never include sysdeps/powerpc/atomic-machine.h directly. > - * Alway use include/atomic.h which will include either > + * Always use include/atomic.h which will include either > * sysdeps/powerpc/powerpc32/atomic-machine.h > * or > * sysdeps/powerpc/powerpc64/atomic-machine.h > diff --git a/sysdeps/powerpc/bits/setjmp.h b/sysdeps/powerpc/bits/setjmp.h > index ac92616ec9..201208a53a 100644 > --- a/sysdeps/powerpc/bits/setjmp.h > +++ b/sysdeps/powerpc/bits/setjmp.h > @@ -32,7 +32,7 @@ > > /* The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI > the vrsave must be at byte 248 & v20 at byte 256. So we must pad this > - correctly on 32 bit. It also insists that vecregs are only gauranteed > + correctly on 32 bit. It also insists that vecregs are only guaranteed > 4 byte alignment so we need to use vperm in the setjmp/longjmp routines. > We have to version the code because members like int __mask_was_saved > in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We > diff --git a/sysdeps/powerpc/powerpc32/405/memcpy.S b/sysdeps/powerpc/powerpc32/405/memcpy.S > index a2d0df0e32..b5db693142 100644 > --- a/sysdeps/powerpc/powerpc32/405/memcpy.S > +++ b/sysdeps/powerpc/powerpc32/405/memcpy.S > @@ -26,10 +26,10 @@ > r5:byte count > > Save return address in r0. > - If destinationn and source are unaligned and copy count is greater than 256 > + If destination and source are unaligned and copy count is greater than 256 > then copy 0-3 bytes to make destination aligned. > If 32 or more bytes to copy we use 32 byte copy loop. > - Finaly we copy 0-31 extra bytes. */ > + Finally we copy 0-31 extra bytes. */ > > EALIGN (memcpy, 5, 0) > /* Check if bytes to copy are greater than 256 and if > diff --git a/sysdeps/powerpc/powerpc32/405/memset.S b/sysdeps/powerpc/powerpc32/405/memset.S > index 6c574ed79e..8ddad2274c 100644 > --- a/sysdeps/powerpc/powerpc32/405/memset.S > +++ b/sysdeps/powerpc/powerpc32/405/memset.S > @@ -27,13 +27,13 @@ > r12:temp return address > > Save return address in r12 > - If destinationn is unaligned and count is greater tha 255 bytes > + If destination is unaligned and count is greater than 255 bytes > set 0-3 bytes to make destination aligned > - If count is greater tha 255 bytes and setting zero to memory > - use dbcz to set memeory when we can > - otherwsie do the follwoing > + If count is greater than 255 bytes and setting zero to memory > + use dbcz to set memory when we can > + otherwise do the following > If 16 or more words to set we use 16 word copy loop. > - Finaly we set 0-15 extra bytes with string store. */ > + Finally we set 0-15 extra bytes with string store. */ > > EALIGN (memset, 5, 0) > rlwinm r11,r4,0,24,31 > diff --git a/sysdeps/powerpc/powerpc32/476/memset.S b/sysdeps/powerpc/powerpc32/476/memset.S > index 527291e1b9..29b0feaccc 100644 > --- a/sysdeps/powerpc/powerpc32/476/memset.S > +++ b/sysdeps/powerpc/powerpc32/476/memset.S > @@ -27,13 +27,13 @@ > r12:temp return address > > Save return address in r12 > - If destinationn is unaligned and count is greater tha 255 bytes > + If destination is unaligned and count is greater than 255 bytes > set 0-3 bytes to make destination aligned > - If count is greater tha 255 bytes and setting zero to memory > - use dbcz to set memeory when we can > - otherwsie do the follwoing > + If count is greater than 255 bytes and setting zero to memory > + use dbcz to set memory when we can > + otherwise do the following > If 16 or more words to set we use 16 word copy loop. > - Finaly we set 0-15 extra bytes with string store. */ > + Finally we set 0-15 extra bytes with string store. */ > > EALIGN (memset, 5, 0) > rlwinm r11,r4,0,24,31 > diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c > index 4c144ac620..d5602fca6a 100644 > --- a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c > +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c > @@ -1,4 +1,4 @@ > -/* Optimized strcasecmp_l implememtation for POWER7. > +/* Optimized strcasecmp_l implementation for POWER7. > Copyright (C) 2013-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c > index fb668a1f34..477b8e72cf 100644 > --- a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c > +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c > @@ -1,4 +1,4 @@ > -/* Optimized strcasecmp_l implememtation for POWER7. > +/* Optimized strcasecmp_l implementation for POWER7. > Copyright (C) 2013-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/powerpc/powerpc64/configure.ac b/sysdeps/powerpc/powerpc64/configure.ac > index 111a0ae4b3..575745af3e 100644 > --- a/sysdeps/powerpc/powerpc64/configure.ac > +++ b/sysdeps/powerpc/powerpc64/configure.ac > @@ -27,7 +27,7 @@ fi > # We check if compiler supports @notoc generation since there is no > # gain by enabling it if it will be optimized away by the linker. > # It also helps linkers that might not optimize it and end up > -# generating stubs with ISA 3.1 instruction even targetting older ISA. > +# generating stubs with ISA 3.1 instruction even targeting older ISA. > AC_CACHE_CHECK([if the compiler supports @notoc], > libc_cv_ppc64_notoc, [dnl > cat > conftest.c <<EOF > diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h > index 5fc69e6444..d60c86c41b 100644 > --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h > +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h > @@ -34,7 +34,7 @@ > Redirect func to a function named function ## variant ## reentrant_suffix > > F128_REDIR(function) > - Convience wrapper for F128_REDIR_R where function does not require > + Convenience wrapper for F128_REDIR_R where function does not require > a suffix argument. > > */ > diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h > index 017f4dd184..0d2a28563e 100644 > --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h > +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h > @@ -68,7 +68,7 @@ > _F128_IFUNC2 (__ ## func ## f128, pfx2 ## func ## f128, r); > > /* GEN_COMPAT_R_e(f) > - Generate a compatability symbol for finite alias of ieee function. */ > + Generate a compatibility symbol for finite alias of ieee function. */ > #define GEN_COMPAT_R_e(f, r) \ > libm_alias_finite (__ieee754_ ## f ## f128 ## r, __ ## f ## f128 ## r) > > diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h > index 11f5329d32..b1f0c9abea 100644 > --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h > +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h > @@ -44,7 +44,7 @@ > > #include <float128-ifunc-macros.h> > > -/* Declare these now. These prototyes are not included > +/* Declare these now. These prototypes are not included > in any header. */ > extern __typeof (cosf128) __ieee754_cosf128; > extern __typeof (asinhf128) __ieee754_asinhf128; > diff --git a/sysdeps/powerpc/powerpc64/power7/memmove.S b/sysdeps/powerpc/powerpc64/power7/memmove.S > index 6988eff18f..e9a9cae6a4 100644 > --- a/sysdeps/powerpc/powerpc64/power7/memmove.S > +++ b/sysdeps/powerpc/powerpc64/power7/memmove.S > @@ -425,7 +425,7 @@ L(end_unaligned_loop): > /* Return original DST pointer. */ > blr > > - /* Start to memcpy backward implementation: the algorith first check if > + /* Start to memcpy backward implementation: the algorithm first check if > src and dest have the same alignment and if it does align both to 16 > bytes and copy using VSX instructions. > If does not, align dest to 16 bytes and use VMX (altivec) instruction > diff --git a/sysdeps/powerpc/powerpc64/power7/strcmp.S b/sysdeps/powerpc/powerpc64/power7/strcmp.S > index c1c2a6f6b3..bd41639c5d 100644 > --- a/sysdeps/powerpc/powerpc64/power7/strcmp.S > +++ b/sysdeps/powerpc/powerpc64/power7/strcmp.S > @@ -17,7 +17,7 @@ > <https://www.gnu.org/licenses/>. */ > > /* The optimization is achieved here through cmpb instruction. > - 8byte aligned strings are processed with double word comparision > + 8byte aligned strings are processed with double word comparison > and unaligned strings are handled effectively with loop unrolling > technique */ > > diff --git a/sysdeps/powerpc/powerpc64/power7/strncpy.S b/sysdeps/powerpc/powerpc64/power7/strncpy.S > index eec0c41ccb..8d55a0cbcc 100644 > --- a/sysdeps/powerpc/powerpc64/power7/strncpy.S > +++ b/sysdeps/powerpc/powerpc64/power7/strncpy.S > @@ -479,7 +479,7 @@ L(storebyte2): > rldicl r6, r3, 0, 61 /* Recalculate padding */ > mr r7, r6 > > - /* src is algined */ > + /* src is aligned */ > L(srcaligndstunalign): > mr r9, r3 > mr r6, r7 > diff --git a/sysdeps/powerpc/powerpc64/power7/strrchr.S b/sysdeps/powerpc/powerpc64/power7/strrchr.S > index 7f730c8d5e..accff65f04 100644 > --- a/sysdeps/powerpc/powerpc64/power7/strrchr.S > +++ b/sysdeps/powerpc/powerpc64/power7/strrchr.S > @@ -31,7 +31,7 @@ ENTRY_TOCLESS (STRRCHR) > clrrdi r8,r3,3 /* Align the address to doubleword boundary. */ > cmpdi cr7,r4,0 > ld r12,0(r8) /* Load doubleword from memory. */ > - li r9,0 /* used to store last occurence */ > + li r9,0 /* used to store last occurrence */ > li r0,0 /* Doubleword with null chars to use > with cmpb. */ > > diff --git a/sysdeps/powerpc/powerpc64/power8/strcasestr.S b/sysdeps/powerpc/powerpc64/power8/strcasestr.S > index 1d1eeceef7..2e88481abd 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strcasestr.S > +++ b/sysdeps/powerpc/powerpc64/power8/strcasestr.S > @@ -137,7 +137,7 @@ ENTRY (STRCASESTR, 4) > beq cr7, L(skipcheck) > cmpw cr7, r3, r29 > ble cr7, L(firstpos) > - /* Move r3 to the first occurence. */ > + /* Move r3 to the first occurrence. */ > L(skipcheck): > mr r3, r29 > L(firstpos): > @@ -448,7 +448,7 @@ L(loop1): > beq cr7, L(skipcheck1) > cmpw cr7, r3, r29 > ble cr7, L(nextpos) > - /* Move r3 to first occurence. */ > + /* Move r3 to first occurrence. */ > L(skipcheck1): > mr r3, r29 > L(nextpos): > diff --git a/sysdeps/powerpc/powerpc64/power8/strcmp.S b/sysdeps/powerpc/powerpc64/power8/strcmp.S > index 4b1cde92ae..4b36723c84 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strcmp.S > +++ b/sysdeps/powerpc/powerpc64/power8/strcmp.S > @@ -207,7 +207,7 @@ L(check_source2_byte_loop): > bdnz L(check_source2_byte_loop) > > /* If source2 is unaligned to doubleword, the code needs to check > - on each interation if the unaligned doubleword access will cross > + on each iteration if the unaligned doubleword access will cross > a 4k page boundary. */ > .align 5 > L(loop_unaligned): > diff --git a/sysdeps/powerpc/powerpc64/power8/strlen.S b/sysdeps/powerpc/powerpc64/power8/strlen.S > index 4e1d884cc0..33a3e6af27 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strlen.S > +++ b/sysdeps/powerpc/powerpc64/power8/strlen.S > @@ -65,7 +65,7 @@ ENTRY_TOCLESS (STRLEN, 4) > > L(align64): > /* Proceed to the old (POWER7) implementation, checking two doublewords > - per iteraction. For the first 56 bytes, we will just check for null > + per iteration. For the first 56 bytes, we will just check for null > characters. After that, we will also check if we are 64-byte aligned > so we can jump to the vectorized implementation. We will unroll > these loops to avoid excessive branching. */ > diff --git a/sysdeps/powerpc/powerpc64/power8/strncmp.S b/sysdeps/powerpc/powerpc64/power8/strncmp.S > index b30f970c66..65d0db49f4 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strncmp.S > +++ b/sysdeps/powerpc/powerpc64/power8/strncmp.S > @@ -101,7 +101,7 @@ L(align_8b): > b L(loop_ne_align_1) > > /* If source2 is unaligned to doubleword, the code needs to check > - on each interation if the unaligned doubleword access will cross > + on each iteration if the unaligned doubleword access will cross > a 4k page boundary. */ > .align 4 > L(loop_ne_align_0): > diff --git a/sysdeps/powerpc/powerpc64/power8/strncpy.S b/sysdeps/powerpc/powerpc64/power8/strncpy.S > index 79a3d5aac3..9cfa08ef95 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strncpy.S > +++ b/sysdeps/powerpc/powerpc64/power8/strncpy.S > @@ -144,7 +144,7 @@ L(short_path_2): > .align 4 > L(short_path_loop): > /* At this point, the induction variable, r5, as well as the pointers > - to dest and src (r9 and r4, respectivelly) have been updated. > + to dest and src (r9 and r4, respectively) have been updated. > > Note: The registers r7 and r10 are induction variables derived from > r5. They are used to determine if the total number of writes has > @@ -351,7 +351,7 @@ L(pagecross): > cmpdi cr7,r9,0 > bne cr7,L(short_path_prepare_2) > > - /* No null byte found in the 32 bytes readed and length not reached, > + /* No null byte found in the 32 bytes read and length not reached, > read source again using unaligned loads and store them. */ > ld r9,0(r4) > addi r29,r3,16 > diff --git a/sysdeps/powerpc/powerpc64/power8/strnlen.S b/sysdeps/powerpc/powerpc64/power8/strnlen.S > index a8495afad5..5bc62d6fbb 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strnlen.S > +++ b/sysdeps/powerpc/powerpc64/power8/strnlen.S > @@ -166,7 +166,7 @@ L(loop_64B): > vminub v6,v3,v4 > vminub v7,v5,v6 > vcmpequb. v7,v7,v0 /* Check for null bytes. */ > - addi r5,r5,64 /* Add pointer to next iteraction. */ > + addi r5,r5,64 /* Add pointer to next iteration. */ > bne cr6,L(found_64B) /* If found null bytes. */ > bdnz L(loop_64B) /* Continue the loop if count > 0. */ > > diff --git a/sysdeps/powerpc/powerpc64/power8/strrchr.S b/sysdeps/powerpc/powerpc64/power8/strrchr.S > index 62b4d493e7..dad2eb11b8 100644 > --- a/sysdeps/powerpc/powerpc64/power8/strrchr.S > +++ b/sysdeps/powerpc/powerpc64/power8/strrchr.S > @@ -74,7 +74,7 @@ ENTRY_TOCLESS (STRRCHR) > clrrdi r8,r3,3 /* Align the address to doubleword boundary. */ > cmpdi cr7,r4,0 > ld r12,0(r8) /* Load doubleword from memory. */ > - li r9,0 /* Used to store last occurence. */ > + li r9,0 /* Used to store last occurrence. */ > li r0,0 /* Doubleword with null chars to use > with cmpb. */ > > diff --git a/sysdeps/powerpc/powerpc64/setjmp-bug21895.c b/sysdeps/powerpc/powerpc64/setjmp-bug21895.c > index 31eab6c422..d15541c9dd 100644 > --- a/sysdeps/powerpc/powerpc64/setjmp-bug21895.c > +++ b/sysdeps/powerpc/powerpc64/setjmp-bug21895.c > @@ -20,7 +20,7 @@ > #include <string.h> > #include <setjmp.h> > > -/* Copy r1 adress to a local variable. */ > +/* Copy r1 address to a local variable. */ > #define GET_STACK_POINTER(sp) \ > ({ \ > asm volatile ("mr %0, 1\n\t" \ > diff --git a/sysdeps/pthread/cnd_wait.c b/sysdeps/pthread/cnd_wait.c > index 0863a9f9f4..5c0877d0a8 100644 > --- a/sysdeps/pthread/cnd_wait.c > +++ b/sysdeps/pthread/cnd_wait.c > @@ -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. > > diff --git a/sysdeps/pthread/posix-timer.h b/sysdeps/pthread/posix-timer.h > index 4ac534ce7a..d87242f008 100644 > --- a/sysdeps/pthread/posix-timer.h > +++ b/sysdeps/pthread/posix-timer.h > @@ -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. */ > diff --git a/sysdeps/pthread/threads.h b/sysdeps/pthread/threads.h > index 860d597d96..d88d7a3ddd 100644 > --- a/sysdeps/pthread/threads.h > +++ b/sysdeps/pthread/threads.h > @@ -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); > > diff --git a/sysdeps/pthread/tst-cancel12.c b/sysdeps/pthread/tst-cancel12.c > index 23b9ab2f2b..004f994b25 100644 > --- a/sysdeps/pthread/tst-cancel12.c > +++ b/sysdeps/pthread/tst-cancel12.c > @@ -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"); > diff --git a/sysdeps/pthread/tst-clock1.c b/sysdeps/pthread/tst-clock1.c > index b11d465fce..83a4bb2471 100644 > --- a/sysdeps/pthread/tst-clock1.c > +++ b/sysdeps/pthread/tst-clock1.c > @@ -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); > } > } > diff --git a/sysdeps/pthread/tst-cond2.c b/sysdeps/pthread/tst-cond2.c > index 95662aa7eb..baf08c0dbc 100644 > --- a/sysdeps/pthread/tst-cond2.c > +++ b/sysdeps/pthread/tst-cond2.c > @@ -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) > diff --git a/sysdeps/pthread/tst-key2.c b/sysdeps/pthread/tst-key2.c > index 9f16dbfbe1..c77f270ad3 100644 > --- a/sysdeps/pthread/tst-key2.c > +++ b/sysdeps/pthread/tst-key2.c > @@ -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"); > diff --git a/sysdeps/pthread/tst-mutex10.c b/sysdeps/pthread/tst-mutex10.c > index 5e8d90a9e3..6a71d92001 100644 > --- a/sysdeps/pthread/tst-mutex10.c > +++ b/sysdeps/pthread/tst-mutex10.c > @@ -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: > diff --git a/sysdeps/pthread/tst-mutex2.c b/sysdeps/pthread/tst-mutex2.c > index d171f1d4fa..9f12f5f597 100644 > --- a/sysdeps/pthread/tst-mutex2.c > +++ b/sysdeps/pthread/tst-mutex2.c > @@ -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) > diff --git a/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c > index 9a292d477e..1f4569fe8d 100644 > --- a/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c > +++ b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c > @@ -68,11 +68,11 @@ > 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: > > @@ -136,7 +136,7 @@ > 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 > @@ -257,7 +257,7 @@ > 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. > > --- > > diff --git a/sysdeps/pthread/tst-rwlock-trywrlock-stall.c b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c > index 2a15c2864a..0dd42fd715 100644 > --- a/sysdeps/pthread/tst-rwlock-trywrlock-stall.c > +++ b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c > @@ -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 > diff --git a/sysdeps/pthread/tst-tsd2.c b/sysdeps/pthread/tst-tsd2.c > index aa1119c307..ccecde7d3b 100644 > --- a/sysdeps/pthread/tst-tsd2.c > +++ b/sysdeps/pthread/tst-tsd2.c > @@ -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; > diff --git a/sysdeps/s390/memchr-vx.S b/sysdeps/s390/memchr-vx.S > index aa0a65e498..c7c601a7f2 100644 > --- a/sysdeps/s390/memchr-vx.S > +++ b/sysdeps/s390/memchr-vx.S > @@ -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[ > diff --git a/sysdeps/s390/memcpy-z900.S b/sysdeps/s390/memcpy-z900.S > index b7843f788f..fe77e37679 100644 > --- a/sysdeps/s390/memcpy-z900.S > +++ b/sysdeps/s390/memcpy-z900.S > @@ -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 > diff --git a/sysdeps/s390/memset-z900.S b/sysdeps/s390/memset-z900.S > index 7a90415de5..964c872579 100644 > --- a/sysdeps/s390/memset-z900.S > +++ b/sysdeps/s390/memset-z900.S > @@ -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: > diff --git a/sysdeps/s390/multiarch/8bit-generic.c b/sysdeps/s390/multiarch/8bit-generic.c > index e90c3224c8..3b5f5e759c 100644 > --- a/sysdeps/s390/multiarch/8bit-generic.c > +++ b/sysdeps/s390/multiarch/8bit-generic.c > @@ -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" > @@ -172,7 +172,7 @@ > 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! */ \ > @@ -278,8 +278,8 @@ > 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) \ > @@ -321,15 +321,15 @@ > 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 \ > diff --git a/sysdeps/s390/s390-32/setjmp.S b/sysdeps/s390/s390-32/setjmp.S > index d9f476f634..2525932ed4 100644 > --- a/sysdeps/s390/s390-32/setjmp.S > +++ b/sysdeps/s390/s390-32/setjmp.S > @@ -38,13 +38,13 @@ > /* 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) > diff --git a/sysdeps/s390/s390-32/start.S b/sysdeps/s390/s390-32/start.S > index eb84e7ff29..23166f6226 100644 > --- a/sysdeps/s390/s390-32/start.S > +++ b/sysdeps/s390/s390-32/start.S > @@ -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) > diff --git a/sysdeps/s390/s390-64/setjmp.S b/sysdeps/s390/s390-64/setjmp.S > index a9533533de..b1df2204f2 100644 > --- a/sysdeps/s390/s390-64/setjmp.S > +++ b/sysdeps/s390/s390-64/setjmp.S > @@ -38,13 +38,13 @@ > /* 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) > diff --git a/sysdeps/s390/s390-64/strncpy-z900.S b/sysdeps/s390/s390-64/strncpy-z900.S > index 5d39243ae2..97b725e43f 100644 > --- a/sysdeps/s390/s390-64/strncpy-z900.S > +++ b/sysdeps/s390/s390-64/strncpy-z900.S > @@ -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) > diff --git a/sysdeps/s390/stpncpy-vx.S b/sysdeps/s390/stpncpy-vx.S > index 02e36dc5bc..a11b1956bb 100644 > --- a/sysdeps/s390/stpncpy-vx.S > +++ b/sysdeps/s390/stpncpy-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/strcspn-vx.S b/sysdeps/s390/strcspn-vx.S > index 340e4c60df..f48bc5db9c 100644 > --- a/sysdeps/s390/strcspn-vx.S > +++ b/sysdeps/s390/strcspn-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/strncmp-vx.S b/sysdeps/s390/strncmp-vx.S > index 0b15ea5829..ff8238da76 100644 > --- a/sysdeps/s390/strncmp-vx.S > +++ b/sysdeps/s390/strncmp-vx.S > @@ -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; > diff --git a/sysdeps/s390/strpbrk-vx.S b/sysdeps/s390/strpbrk-vx.S > index 3ac123a630..bc7513be0a 100644 > --- a/sysdeps/s390/strpbrk-vx.S > +++ b/sysdeps/s390/strpbrk-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/strrchr-vx.S b/sysdeps/s390/strrchr-vx.S > index 70b9534676..2091c13cf8 100644 > --- a/sysdeps/s390/strrchr-vx.S > +++ b/sysdeps/s390/strrchr-vx.S > @@ -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: > diff --git a/sysdeps/s390/strspn-vx.S b/sysdeps/s390/strspn-vx.S > index 4af597aa18..8c77698a59 100644 > --- a/sysdeps/s390/strspn-vx.S > +++ b/sysdeps/s390/strspn-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/utf16-utf32-z9.c b/sysdeps/s390/utf16-utf32-z9.c > index 36c56ccbf7..a20e9b6176 100644 > --- a/sysdeps/s390/utf16-utf32-z9.c > +++ b/sysdeps/s390/utf16-utf32-z9.c > @@ -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" \ > diff --git a/sysdeps/s390/utf8-utf16-z9.c b/sysdeps/s390/utf8-utf16-z9.c > index 33f7c64da4..c72c2ed46e 100644 > --- a/sysdeps/s390/utf8-utf16-z9.c > +++ b/sysdeps/s390/utf8-utf16-z9.c > @@ -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" \ > diff --git a/sysdeps/s390/utf8-utf32-z9.c b/sysdeps/s390/utf8-utf32-z9.c > index 55321c519a..c3bb464c2e 100644 > --- a/sysdeps/s390/utf8-utf32-z9.c > +++ b/sysdeps/s390/utf8-utf32-z9.c > @@ -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" \ > diff --git a/sysdeps/s390/wcpncpy-vx.S b/sysdeps/s390/wcpncpy-vx.S > index 3c2361bfa0..16b68efebd 100644 > --- a/sysdeps/s390/wcpncpy-vx.S > +++ b/sysdeps/s390/wcpncpy-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/wcscmp-vx.S b/sysdeps/s390/wcscmp-vx.S > index c397eb0631..0a161e084a 100644 > --- a/sysdeps/s390/wcscmp-vx.S > +++ b/sysdeps/s390/wcscmp-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/wcscspn-vx.S b/sysdeps/s390/wcscspn-vx.S > index 857c95e31f..d7a9b60148 100644 > --- a/sysdeps/s390/wcscspn-vx.S > +++ b/sysdeps/s390/wcscspn-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/wcsncmp-vx.S b/sysdeps/s390/wcsncmp-vx.S > index bf4cb154b9..1bf769b870 100644 > --- a/sysdeps/s390/wcsncmp-vx.S > +++ b/sysdeps/s390/wcsncmp-vx.S > @@ -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; > diff --git a/sysdeps/s390/wcspbrk-vx.S b/sysdeps/s390/wcspbrk-vx.S > index 7b96bd31e1..294ab5ab14 100644 > --- a/sysdeps/s390/wcspbrk-vx.S > +++ b/sysdeps/s390/wcspbrk-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/wcsrchr-vx.S b/sysdeps/s390/wcsrchr-vx.S > index 7903d7ec60..3465ee3726 100644 > --- a/sysdeps/s390/wcsrchr-vx.S > +++ b/sysdeps/s390/wcsrchr-vx.S > @@ -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: > diff --git a/sysdeps/s390/wcsspn-vx.S b/sysdeps/s390/wcsspn-vx.S > index 3948110584..d78ed9574a 100644 > --- a/sysdeps/s390/wcsspn-vx.S > +++ b/sysdeps/s390/wcsspn-vx.S > @@ -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. */ > diff --git a/sysdeps/s390/wmemchr-vx.S b/sysdeps/s390/wmemchr-vx.S > index db872991c7..a692858738 100644 > --- a/sysdeps/s390/wmemchr-vx.S > +++ b/sysdeps/s390/wmemchr-vx.S > @@ -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[ > diff --git a/sysdeps/sh/sh4/fpu/feupdateenv.c b/sysdeps/sh/sh4/fpu/feupdateenv.c > index d8d1bc9b98..7101063900 100644 > --- a/sysdeps/sh/sh4/fpu/feupdateenv.c > +++ b/sysdeps/sh/sh4/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/sparc/atomic-machine.h b/sysdeps/sparc/atomic-machine.h > index 855b7c489c..de9a626471 100644 > --- a/sysdeps/sparc/atomic-machine.h > +++ b/sysdeps/sparc/atomic-machine.h > @@ -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) \ > ({ \ > diff --git a/sysdeps/sparc/fpu/feupdateenv.c b/sysdeps/sparc/fpu/feupdateenv.c > index 4c84dcaa53..821cd7eee7 100644 > --- a/sysdeps/sparc/fpu/feupdateenv.c > +++ b/sysdeps/sparc/fpu/feupdateenv.c > @@ -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); > diff --git a/sysdeps/sparc/sparc32/sparcv9/rem.S b/sysdeps/sparc/sparc32/sparcv9/rem.S > index 5385bd8305..7eb37809d0 100644 > --- a/sysdeps/sparc/sparc32/sparcv9/rem.S > +++ b/sysdeps/sparc/sparc32/sparcv9/rem.S > @@ -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> > diff --git a/sysdeps/sparc/sparc32/sparcv9/sdiv.S b/sysdeps/sparc/sparc32/sparcv9/sdiv.S > index d765514cea..e58b727695 100644 > --- a/sysdeps/sparc/sparc32/sparcv9/sdiv.S > +++ b/sysdeps/sparc/sparc32/sparcv9/sdiv.S > @@ -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> > diff --git a/sysdeps/sparc/sparc32/sparcv9/udiv.S b/sysdeps/sparc/sparc32/sparcv9/udiv.S > index 368f85ede2..13e0925c68 100644 > --- a/sysdeps/sparc/sparc32/sparcv9/udiv.S > +++ b/sysdeps/sparc/sparc32/sparcv9/udiv.S > @@ -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> > diff --git a/sysdeps/sparc/sparc32/sparcv9/urem.S b/sysdeps/sparc/sparc32/sparcv9/urem.S > index cab16c9193..76fa49edd4 100644 > --- a/sysdeps/sparc/sparc32/sparcv9/urem.S > +++ b/sysdeps/sparc/sparc32/sparcv9/urem.S > @@ -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> > diff --git a/sysdeps/sparc/sparc64/memmove.S b/sysdeps/sparc/sparc64/memmove.S > index e38343a702..db6f4f0e84 100644 > --- a/sysdeps/sparc/sparc64/memmove.S > +++ b/sysdeps/sparc/sparc64/memmove.S > @@ -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 > > diff --git a/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h b/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h > index 1c2357a021..473f3621a7 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h > +++ b/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h > @@ -20,7 +20,7 @@ > > #define SP_ALIGN_MASK ~15 > > -/* Size of an X regiser in bytes. */ > +/* Size of an X register in bytes. */ > #define SZREG 8 > > /* Size of a V register in bytes. */ > diff --git a/sysdeps/unix/sysv/linux/alpha/getcontext.S b/sysdeps/unix/sysv/linux/alpha/getcontext.S > index 3ce7f8fa87..0bfe25a8af 100644 > --- a/sysdeps/unix/sysv/linux/alpha/getcontext.S > +++ b/sysdeps/unix/sysv/linux/alpha/getcontext.S > @@ -44,7 +44,7 @@ weak_alias (__getcontext, getcontext) > > > /* An internal routine used by getcontext and setcontext. > - The incomming return address register is $0. */ > + The incoming return address register is $0. */ > > .align 4 > .globl __getcontext_x > diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c > index b026cc8261..6fac2bb516 100644 > --- a/sysdeps/unix/sysv/linux/alpha/ioperm.c > +++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c > @@ -95,7 +95,7 @@ asm(".arch ev56"); > #define TSUNAMI_DENSE_MEM (0x80000000000UL) > > /* Polaris has SPARSE space, but we prefer to use only DENSE > - because of some idiosyncracies in actually using SPARSE. */ > + because of some idiosyncrasies in actually using SPARSE. */ > #define POLARIS_IO_BASE (0xf9fc000000UL) > #define POLARIS_DENSE_MEM (0xf900000000UL) > > diff --git a/sysdeps/unix/sysv/linux/arc/bits/procfs.h b/sysdeps/unix/sysv/linux/arc/bits/procfs.h > index 35cdc5621c..1ec0b1cd59 100644 > --- a/sysdeps/unix/sysv/linux/arc/bits/procfs.h > +++ b/sysdeps/unix/sysv/linux/arc/bits/procfs.h > @@ -31,5 +31,5 @@ > typedef unsigned long int elf_greg_t; > typedef unsigned long int elf_gregset_t[ELF_NGREG]; > > -/* There's no seperate floating point reg file in ARCv2. */ > +/* There's no separate floating point reg file in ARCv2. */ > typedef struct { } elf_fpregset_t; > diff --git a/sysdeps/unix/sysv/linux/arc/clone.S b/sysdeps/unix/sysv/linux/arc/clone.S > index 0029aaeb81..d8c7b93d1c 100644 > --- a/sysdeps/unix/sysv/linux/arc/clone.S > +++ b/sysdeps/unix/sysv/linux/arc/clone.S > @@ -43,7 +43,7 @@ ENTRY (__clone) > bz L (__sys_err) > > /* save some of the orig args > - r0 containg @fn will be clobbered AFTER syscall (with ret val) > + r0 containing @fn will be clobbered AFTER syscall (with ret val) > rest are clobbered BEFORE syscall due to different arg ordering. */ > mov r10, r0 /* @fn. */ > mov r11, r3 /* @args. */ > diff --git a/sysdeps/unix/sysv/linux/arc/sysdep.h b/sysdeps/unix/sysv/linux/arc/sysdep.h > index 88dc1dff01..7f90d64124 100644 > --- a/sysdeps/unix/sysv/linux/arc/sysdep.h > +++ b/sysdeps/unix/sysv/linux/arc/sysdep.h > @@ -182,11 +182,11 @@ hidden_proto (__syscall_error) > __ret = (long int) (arg1); \ > LOAD_ARGS_0 (nm, arg1) > > -/* Note that the use of _tmpX might look superflous, however it is needed > +/* Note that the use of _tmpX might look superfluous, however it is needed > to ensure that register variables are not clobbered if arg happens to be > a function call itself. e.g. sched_setaffinity() calling getpid() for arg2 > Also this specific order of recursive calling is important to segregate > - the tmp args evaluation (function call case described above) and assigment > + the tmp args evaluation (function call case described above) and assignment > of register variables. */ > > # define LOAD_ARGS_2(nm, arg1, arg2) \ > diff --git a/sysdeps/unix/sysv/linux/arch-fork.h b/sysdeps/unix/sysv/linux/arch-fork.h > index 84e5ef5a7f..0e0eccbf38 100644 > --- a/sysdeps/unix/sysv/linux/arch-fork.h > +++ b/sysdeps/unix/sysv/linux/arch-fork.h > @@ -28,7 +28,7 @@ > to store the child thread ID at its locationm, to erase it in child memory > when the child exits, and do a wakeup on the futex at that address. > > - The architecture with non-default kernel abi semantic should correctlly > + The architecture with non-default kernel abi semantic should correctly > override it with one of the supported calling convention (check generic > kernel-features.h for the clone abi variants). */ > static inline pid_t > diff --git a/sysdeps/unix/sysv/linux/bits/local_lim.h b/sysdeps/unix/sysv/linux/bits/local_lim.h > index 54eb959ee2..978515dc37 100644 > --- a/sysdeps/unix/sysv/linux/bits/local_lim.h > +++ b/sysdeps/unix/sysv/linux/bits/local_lim.h > @@ -73,7 +73,7 @@ > /* We have no predefined limit on the number of threads. */ > #undef PTHREAD_THREADS_MAX > > -/* Maximum amount by which a process can descrease its asynchronous I/O > +/* Maximum amount by which a process can decrease its asynchronous I/O > priority level. */ > #define AIO_PRIO_DELTA_MAX 20 > > diff --git a/sysdeps/unix/sysv/linux/bits/mman-linux.h b/sysdeps/unix/sysv/linux/bits/mman-linux.h > index 6771f07a0f..f654b4f824 100644 > --- a/sysdeps/unix/sysv/linux/bits/mman-linux.h > +++ b/sysdeps/unix/sysv/linux/bits/mman-linux.h > @@ -78,7 +78,7 @@ > # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ > # define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */ > # define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */ > -# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump, > +# define MADV_DONTDUMP 16 /* Explicitly exclude from the core dump, > overrides the coredump filter bits. */ > # define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */ > # define MADV_WIPEONFORK 18 /* Zero memory on fork, child only. */ > diff --git a/sysdeps/unix/sysv/linux/bits/posix_opt.h b/sysdeps/unix/sysv/linux/bits/posix_opt.h > index 87d0f13596..8e3c8fac5d 100644 > --- a/sysdeps/unix/sysv/linux/bits/posix_opt.h > +++ b/sysdeps/unix/sysv/linux/bits/posix_opt.h > @@ -84,7 +84,7 @@ > /* We support user-defined stacks. */ > #define _POSIX_THREAD_ATTR_STACKADDR 200809L > > -/* We support priority inheritence. */ > +/* We support priority inheritance. */ > #define _POSIX_THREAD_PRIO_INHERIT 200809L > > /* We support priority protection, though only for non-robust > @@ -92,7 +92,7 @@ > #define _POSIX_THREAD_PRIO_PROTECT 200809L > > #ifdef __USE_XOPEN2K8 > -/* We support priority inheritence for robust mutexes. */ > +/* We support priority inheritance for robust mutexes. */ > # define _POSIX_THREAD_ROBUST_PRIO_INHERIT 200809L > > /* We do not support priority protection for robust mutexes. */ > diff --git a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h > index f8a6bac680..49f7744739 100644 > --- a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h > +++ b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h > @@ -143,7 +143,7 @@ enum > { > BUS_ADRALN = 1, /* Invalid address alignment. */ > # define BUS_ADRALN BUS_ADRALN > - BUS_ADRERR, /* Non-existant physical address. */ > + BUS_ADRERR, /* Non-existent physical address. */ > # define BUS_ADRERR BUS_ADRERR > BUS_OBJERR, /* Object specific hardware error. */ > # define BUS_OBJERR BUS_OBJERR > diff --git a/sysdeps/unix/sysv/linux/bits/termios-tcflow.h b/sysdeps/unix/sysv/linux/bits/termios-tcflow.h > index b6d136cefe..e39057913e 100644 > --- a/sysdeps/unix/sysv/linux/bits/termios-tcflow.h > +++ b/sysdeps/unix/sysv/linux/bits/termios-tcflow.h > @@ -1,4 +1,4 @@ > -/* termios tcflag symbolic contants definitions. Linux/generic version. > +/* termios tcflag symbolic constant definitions. Linux/generic version. > Copyright (C) 2019-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c b/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c > index e758fe7f8d..e0cfa63da6 100644 > --- a/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c > +++ b/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c > @@ -36,7 +36,7 @@ print_auxv (void) > || av->a_type == AT_PLATFORM > || av->a_type == AT_BASE_PLATFORM) > /* The address of the strings is not useful at all, so print > - the strings themselvs. */ > + the strings themselves. */ > _dl_diagnostics_print_string ((const char *) av->a_un.a_val); > else > _dl_printf ("0x%lx", (unsigned long int) av->a_un.a_val); > diff --git a/sysdeps/unix/sysv/linux/dl-vdso-setup.c b/sysdeps/unix/sysv/linux/dl-vdso-setup.c > index 68fa8de641..97eaaeac37 100644 > --- a/sysdeps/unix/sysv/linux/dl-vdso-setup.c > +++ b/sysdeps/unix/sysv/linux/dl-vdso-setup.c > @@ -20,7 +20,7 @@ > and shared (rtld) modes: > > 1. PROCINFO_DECL is defined, meaning we are only interested in > - declarations. For static it requires use the extern keywork along with > + declarations. For static it requires use the extern keyword along with > the attribute_relro while for shared it will be embedded in the > rtld_global_ro. > > diff --git a/sysdeps/unix/sysv/linux/glibcsyscalls.py b/sysdeps/unix/sysv/linux/glibcsyscalls.py > index 0785c2f465..c8e5a6ffca 100644 > --- a/sysdeps/unix/sysv/linux/glibcsyscalls.py > +++ b/sysdeps/unix/sysv/linux/glibcsyscalls.py > @@ -32,7 +32,7 @@ def extract_system_call_name(macro): > else: > raise ValueError('invalid system call name: {!r}'.format(macro)) > > -# Matches macros for systme call names. > +# Matches macros for system call names. > RE_SYSCALL = re.compile('__NR_.*') > > # Some __NR_ constants are not real > @@ -54,7 +54,7 @@ def kernel_constants(cc): > return {extract_system_call_name(name) : int(value) > for name, value in glibcextract.compute_macro_consts( > '#include <asm/unistd.h>\n' > - # Regularlize the kernel definitions if necessary. > + # Regularize the kernel definitions if necessary. > '#include <fixup-asm-unistd.h>', > cc, macro_re=RE_SYSCALL, exclude_re=RE_PSEUDO_SYSCALL) > .items()} > diff --git a/sysdeps/unix/sysv/linux/hppa/clone.S b/sysdeps/unix/sysv/linux/hppa/clone.S > index 4a64e0da7e..3de36885a9 100644 > --- a/sysdeps/unix/sysv/linux/hppa/clone.S > +++ b/sysdeps/unix/sysv/linux/hppa/clone.S > @@ -51,7 +51,7 @@ > > Return: > > - On success the thread ID of the child process is returend in > + On success the thread ID of the child process is returned in > the callers context. > On error return -1, and set errno to the value returned by > the syscall. > diff --git a/sysdeps/unix/sysv/linux/hppa/sysdep.h b/sysdeps/unix/sysv/linux/hppa/sysdep.h > index ba5937cc17..c0c4ffe00d 100644 > --- a/sysdeps/unix/sysv/linux/hppa/sysdep.h > +++ b/sysdeps/unix/sysv/linux/hppa/sysdep.h > @@ -53,7 +53,7 @@ > #define LOAD_PIC(LREG) \ > copy LREG , %r19 > /* Inline assembly defines */ > -#define TREG_ASM "%r4" /* Cant clobber r3, it holds framemarker */ > +#define TREG_ASM "%r4" /* Can't clobber r3, it holds framemarker */ > #define SAVE_ASM_PIC " copy %%r19, %" TREG_ASM "\n" > #define LOAD_ASM_PIC " copy %" TREG_ASM ", %%r19\n" > #define CLOB_TREG TREG_ASM , > @@ -134,7 +134,7 @@ > /* SAVE_RP says we do */ ASM_LINE_SEP \ > stw %rp, -20(%sr0,%sp) ASM_LINE_SEP \ > .cfi_offset 2, -20 ASM_LINE_SEP \ > - /*FIXME: Call mcount? (carefull with stack!) */ > + /*FIXME: Call mcount? (careful with stack!) */ > > /* Some syscall wrappers do not call other functions, and > hence are classified as leaf, so add NO_CALLS for gdb */ > @@ -151,7 +151,7 @@ > /* SAVE_RP says we do */ ASM_LINE_SEP \ > stw %rp, -20(%sr0,%sp) ASM_LINE_SEP \ > .cfi_offset 2, -20 ASM_LINE_SEP \ > - /*FIXME: Call mcount? (carefull with stack!) */ > + /*FIXME: Call mcount? (careful with stack!) */ > > #undef END > #define END(name) \ > diff --git a/sysdeps/unix/sysv/linux/i386/brk.c b/sysdeps/unix/sysv/linux/i386/brk.c > index fb5130e947..afc2b696e4 100644 > --- a/sysdeps/unix/sysv/linux/i386/brk.c > +++ b/sysdeps/unix/sysv/linux/i386/brk.c > @@ -17,7 +17,7 @@ > <https://www.gnu.org/licenses/>. */ > > #if BUILD_PIE_DEFAULT > -/* Can't use "call *%gs:SYSINFO_OFFSET" during statup in static PIE. */ > +/* Can't use "call *%gs:SYSINFO_OFFSET" during startup in static PIE. */ > # define I386_USE_SYSENTER 0 > #endif > > diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h > index 8538cd5342..87de7d640f 100644 > --- a/sysdeps/unix/sysv/linux/i386/sysdep.h > +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h > @@ -61,7 +61,7 @@ > might return a large offset. Therefore we must not anymore test > for < 0, but test for a real error by making sure the value in %eax > is a real error number. Linus said he will make sure the no syscall > - returns a value in -1 .. -4095 as a valid result so we can savely > + returns a value in -1 .. -4095 as a valid result so we can safely > test with -4095. */ > > /* We don't want the label for the error handle to be global when we define > diff --git a/sysdeps/unix/sysv/linux/ia64/clone2.S b/sysdeps/unix/sysv/linux/ia64/clone2.S > index bf60725a34..c869715f18 100644 > --- a/sysdeps/unix/sysv/linux/ia64/clone2.S > +++ b/sysdeps/unix/sysv/linux/ia64/clone2.S > @@ -86,6 +86,6 @@ libc_hidden_def (__clone2) > > /* For now we leave __clone undefined. This is unlikely to be a */ > /* problem, since at least the i386 __clone in glibc always failed */ > -/* with a 0 sp (eventhough the kernel explicitly handled it). */ > +/* with a 0 sp (even though the kernel explicitly handled it). */ > /* Thus all such calls needed to pass an explicit sp, and as a result, */ > /* would be unlikely to work on ia64. */ > diff --git a/sysdeps/unix/sysv/linux/ia64/sys/rse.h b/sysdeps/unix/sysv/linux/ia64/sys/rse.h > index b3677a1df6..3c6399d2ed 100644 > --- a/sysdeps/unix/sysv/linux/ia64/sys/rse.h > +++ b/sysdeps/unix/sysv/linux/ia64/sys/rse.h > @@ -48,7 +48,7 @@ ia64_rse_rnat_addr (unsigned long *slot_addr) > return (unsigned long *) ((unsigned long) slot_addr | (0x3f << 3)); > } > > -/* Calcuate the number of registers in the dirty partition starting at > +/* Calculate the number of registers in the dirty partition starting at > BSPSTORE with a size of DIRTY bytes. This isn't simply DIRTY > divided by eight because the 64th slot is used to store ar.rnat. */ > > diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h > index c245813b68..1d556945c1 100644 > --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h > +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h > @@ -86,7 +86,7 @@ > a large offset. Therefore we must not anymore test for < 0, but test > for a real error by making sure the value in %d0 is a real error > number. Linus said he will make sure the no syscall returns a value > - in -1 .. -4095 as a valid result so we can savely test with -4095. */ > + in -1 .. -4095 as a valid result so we can safely test with -4095. */ > > /* We don't want the label for the error handler to be visible in the symbol > table when we define it here. */ > diff --git a/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/sysdeps/unix/sysv/linux/kernel-posix-timers.h > index c5a86250c3..9d86bb1dab 100644 > --- a/sysdeps/unix/sysv/linux/kernel-posix-timers.h > +++ b/sysdeps/unix/sysv/linux/kernel-posix-timers.h > @@ -68,7 +68,7 @@ struct timer > > > /* For !SIGEV_THREAD, the resulting 'timer_t' is the returned kernel timer > - identifer (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc > + identifier (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc > returns at least _Alignof (max_align_t) pointers plus that valid > kernel_timer_t are always positive to set the MSB bit of the returned > 'timer_t' to indicate the timer handles a SIGEV_THREAD. */ > diff --git a/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h b/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h > index 6e4cc52dd7..037e128861 100644 > --- a/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h > +++ b/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h > @@ -26,7 +26,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) \ > ({ \ > diff --git a/sysdeps/unix/sysv/linux/loongarch/sysdep.h b/sysdeps/unix/sysv/linux/loongarch/sysdep.h > index 8a2d73ec8c..e11cd865ce 100644 > --- a/sysdeps/unix/sysv/linux/loongarch/sysdep.h > +++ b/sysdeps/unix/sysv/linux/loongarch/sysdep.h > @@ -83,7 +83,7 @@ > #undef ret_NOERRNO > #define ret_NOERRNO ret > > -/* Perfroms a system call, returning the error code. */ > +/* Performs a system call, returning the error code. */ > #undef PSEUDO_ERRVAL > #define PSEUDO_ERRVAL(name, syscall_name, args) \ > PSEUDO_NOERRNO (name, syscall_name, args); \ > diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h > index 39592036ce..037b049958 100644 > --- a/sysdeps/unix/sysv/linux/m68k/sysdep.h > +++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h > @@ -38,7 +38,7 @@ > a large offset. Therefore we must not anymore test for < 0, but test > for a real error by making sure the value in %d0 is a real error > number. Linus said he will make sure the no syscall returns a value > - in -1 .. -4095 as a valid result so we can savely test with -4095. */ > + in -1 .. -4095 as a valid result so we can safely test with -4095. */ > > /* We don't want the label for the error handler to be visible in the symbol > table when we define it here. */ > diff --git a/sysdeps/unix/sysv/linux/microblaze/sysdep.h b/sysdeps/unix/sysv/linux/microblaze/sysdep.h > index 53a4cad38f..afc77b0063 100644 > --- a/sysdeps/unix/sysv/linux/microblaze/sysdep.h > +++ b/sysdeps/unix/sysv/linux/microblaze/sysdep.h > @@ -43,7 +43,7 @@ > #ifdef __ASSEMBLER__ > > /* In microblaze ABI function call arguments are passed in registers > - r5...r10. The return value is stored in r3 (or r3:r4 regiters pair). > + r5...r10. The return value is stored in r3 (or r3:r4 register pair). > Linux syscall uses the same convention with the addition that the > syscall number is passed in r12. To enter the kernel "brki r14,8" > instruction is used. > @@ -58,7 +58,7 @@ > a large offset. Therefore we must not anymore test for < 0, but test > for a real error by making sure the value in %d0 is a real error > number. Linus said he will make sure the no syscall returns a value > - in -1 .. -4095 as a valid result so we can savely test with -4095. */ > + in -1 .. -4095 as a valid result so we can safely test with -4095. */ > > /* We don't want the label for the error handler to be visible in the symbol > table when we define it here. */ > diff --git a/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c b/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c > index 92740830e3..a85a50f77a 100644 > --- a/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c > +++ b/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c > @@ -1,4 +1,4 @@ > -/* Tests register values retreived by getcontext() for mips o32. > +/* Tests register values retrieved by getcontext() for mips o32. > Copyright (C) 2017-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/unix/sysv/linux/mq_notify.c b/sysdeps/unix/sysv/linux/mq_notify.c > index 907585551f..c287954a90 100644 > --- a/sysdeps/unix/sysv/linux/mq_notify.c > +++ b/sysdeps/unix/sysv/linux/mq_notify.c > @@ -32,9 +32,9 @@ > > /* Defined in the kernel headers: */ > #define NOTIFY_COOKIE_LEN 32 /* Length of the cookie used. */ > -#define NOTIFY_WOKENUP 1 /* Code for notifcation. */ > +#define NOTIFY_WOKENUP 1 /* Code for notification. */ > #define NOTIFY_REMOVED 2 /* Code for closed message queue > - of de-notifcation. */ > + of de-notification. */ > > > /* Data structure for the queued notification requests. */ > @@ -61,7 +61,7 @@ static int netlink_socket = -1; > > > /* Barrier used to make sure data passed to the new thread is not > - resused by the parent. */ > + reused by the parent. */ > static pthread_barrier_t notify_barrier; > > > diff --git a/sysdeps/unix/sysv/linux/net/if_shaper.h b/sysdeps/unix/sysv/linux/net/if_shaper.h > index f218474822..60f50b908c 100644 > --- a/sysdeps/unix/sysv/linux/net/if_shaper.h > +++ b/sysdeps/unix/sysv/linux/net/if_shaper.h > @@ -27,7 +27,7 @@ __BEGIN_DECLS > > #define SHAPER_QLEN 10 > /* > - * This is a bit speed dependant (read it shouldnt be a constant!) > + * This is a bit speed dependent (read it shouldn't be a constant!) > * > * 5 is about right for 28.8 upwards. Below that double for every > * halving of speed or so. - ie about 20 for 9600 baud. > diff --git a/sysdeps/unix/sysv/linux/netax25/ax25.h b/sysdeps/unix/sysv/linux/netax25/ax25.h > index e18ff8d223..1001a7359b 100644 > --- a/sysdeps/unix/sysv/linux/netax25/ax25.h > +++ b/sysdeps/unix/sysv/linux/netax25/ax25.h > @@ -62,7 +62,7 @@ > #define AX25_DIGI_INBAND 0x01 /* Allow digipeating within port */ > #define AX25_DIGI_XBAND 0x02 /* Allow digipeating across ports */ > > -/* Maximim number of digipeaters: */ > +/* Maximum number of digipeaters: */ > #define AX25_MAX_DIGIS 8 > > > @@ -80,7 +80,7 @@ struct sockaddr_ax25 > }; > > /* > - * The sockaddr struct with the digipeater adresses: > + * The sockaddr struct with the digipeater addresses: > */ > struct full_sockaddr_ax25 > { > diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c > index 00abddac88..9f0d624859 100644 > --- a/sysdeps/unix/sysv/linux/netlink_assert_response.c > +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c > @@ -83,7 +83,7 @@ __netlink_assert_response (int fd, ssize_t result) > __libc_fatal (message); > } > else > - /* Restore orignal errno value. */ > + /* Restore original errno value. */ > __set_errno (error_code); > } > else if (result < sizeof (struct nlmsghdr)) > diff --git a/sysdeps/unix/sysv/linux/nios2/setcontext.S b/sysdeps/unix/sysv/linux/nios2/setcontext.S > index 2233488ee7..16570ab896 100644 > --- a/sysdeps/unix/sysv/linux/nios2/setcontext.S > +++ b/sysdeps/unix/sysv/linux/nios2/setcontext.S > @@ -93,7 +93,7 @@ weak_alias (__setcontext, setcontext) > > If this NOP word does not exist, FDE lookup just repeatedly finds > __setcontext's FDE in an infinite loop, due to the convention of > - using 'address - 1' for FDE lookup. Modifiying/deleting the below > + using 'address - 1' for FDE lookup. Modifying/deleting the below > __startcontext's FDE has no help on this. */ > nop > > diff --git a/sysdeps/unix/sysv/linux/nscd_setup_thread.c b/sysdeps/unix/sysv/linux/nscd_setup_thread.c > index 7810104461..cf1a56e005 100644 > --- a/sysdeps/unix/sysv/linux/nscd_setup_thread.c > +++ b/sysdeps/unix/sysv/linux/nscd_setup_thread.c > @@ -1,4 +1,4 @@ > -/* Setup of nscd worker threads. Linux verison. > +/* Setup of nscd worker threads. Linux version. > Copyright (C) 2004-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/unix/sysv/linux/or1k/setcontext.S b/sysdeps/unix/sysv/linux/or1k/setcontext.S > index fb6a42bc03..ce54246c57 100644 > --- a/sysdeps/unix/sysv/linux/or1k/setcontext.S > +++ b/sysdeps/unix/sysv/linux/or1k/setcontext.S > @@ -80,7 +80,7 @@ weak_alias (__setcontext, setcontext) > makecontext we have set r9 to the start of &__startcontext. > > If this NOP did not exist the unwinder would repeatedly find > - __setcontext's FDE in an infinite loop. Modifiying/deleting the below > + __setcontext's FDE in an infinite loop. Modifying/deleting the below > __startcontext's FDE has no help on this. */ > l.nop > > diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c > index aa576558b0..eeccbb6089 100644 > --- a/sysdeps/unix/sysv/linux/pathconf.c > +++ b/sysdeps/unix/sysv/linux/pathconf.c > @@ -139,7 +139,7 @@ __statfs_link_max (int result, const struct statfs *fsbuf, const char *file, > /* Not possible, return the default value. */ > return LINUX_LINK_MAX; > > - /* Some error occured. */ > + /* Some error occurred. */ > return -1; > } > > @@ -202,7 +202,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf) > /* Not possible, return the default value. */ > return 32; > > - /* Some error occured. */ > + /* Some error occurred. */ > return -1; > } > > @@ -251,7 +251,7 @@ __statfs_symlinks (int result, const struct statfs *fsbuf) > /* Not possible, return the default value. */ > return 1; > > - /* Some error occured. */ > + /* Some error occurred. */ > return -1; > } > > @@ -286,7 +286,7 @@ __statfs_chown_restricted (int result, const struct statfs *fsbuf) > /* Not possible, return the default value. */ > return 1; > > - /* Some error occured. */ > + /* Some error occurred. */ > return -1; > } > > diff --git a/sysdeps/unix/sysv/linux/personality.c b/sysdeps/unix/sysv/linux/personality.c > index 5db07259e3..9620e0caff 100644 > --- a/sysdeps/unix/sysv/linux/personality.c > +++ b/sysdeps/unix/sysv/linux/personality.c > @@ -28,7 +28,7 @@ __personality (unsigned long persona) > task_struct->pesonality is "unsigned int". > Starting with kernel commit v2.6.35-rc1-372-g485d527, the personality > syscall accepts "unsigned int" instead of "long unsigned int". > - Inbetween, a personality argument that does not fit into "unsigned int" > + In between, a personality argument that does not fit into "unsigned int" > would result to system call returning -EINVAL. > We explicitly truncate the personality argument to "unsigned int" > to eliminate the uncertainty. */ > diff --git a/sysdeps/unix/sysv/linux/posix_fadvise.c b/sysdeps/unix/sysv/linux/posix_fadvise.c > index d096acc0d6..717c3f62d0 100644 > --- a/sysdeps/unix/sysv/linux/posix_fadvise.c > +++ b/sysdeps/unix/sysv/linux/posix_fadvise.c > @@ -29,7 +29,7 @@ > > Second option will be used by arm which define __NR_arm_fadvise64_64 > (redefined to __NR_fadvise64_64 in kernel-features.h) that behaves as > - __NR_fadvise64_64 (without the aligment argument required for the ABI). > + __NR_fadvise64_64 (without the alignment argument required for the ABI). > > Third option will be used by mips o32. Mips will use a 7 argument > syscall with __NR_fadvise64. > diff --git a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c > index 7c98dbd0d0..61eaf89868 100644 > --- a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c > +++ b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c > @@ -53,7 +53,7 @@ static inline void > __always_inline > do_set_elision_enable (int32_t elision_enable) > { > - /* Enable elision if it's avaliable in hardware. It's not necessary to check > + /* Enable elision if it's available in hardware. It's not necessary to check > if __libc_enable_secure isn't enabled since elision_enable will be set > according to the default, which is disabled. */ > if (elision_enable == 1) > @@ -126,7 +126,7 @@ __lll_elision_init (void) > syscalls which makes the glibc workaround superflours. Worse, glibc > transaction abortions leads to a performance issues on recent kernels. > > - So Lock Elision is just enabled when it has been explict set (either > + So Lock Elision is just enabled when it has been explicitly set (either > by tunables of by a configure switch) and if kernel aborts HTM > transactions on syscalls (PPC_FEATURE2_HTM_NOSC) */ > > diff --git a/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c b/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c > index 754e94b26d..af6eb34435 100644 > --- a/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c > +++ b/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c > @@ -57,7 +57,7 @@ get_timebase_freq_fallback (void) > the last 512 bytes of cpuinfo, so two 512 byte half_bufs > will be sufficient to contain the timebase and will > handle the case where the timebase spans the half_buf > - boundry. */ > + boundary. */ > const ssize_t half_buf = sizeof (buf) / 2; > while (n >= half_buf) > { > diff --git a/sysdeps/unix/sysv/linux/riscv/atomic-machine.h b/sysdeps/unix/sysv/linux/riscv/atomic-machine.h > index dbf70d8d57..50ddc3bfaf 100644 > --- a/sysdeps/unix/sysv/linux/riscv/atomic-machine.h > +++ b/sysdeps/unix/sysv/linux/riscv/atomic-machine.h > @@ -28,7 +28,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) \ > ({ \ > diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h > index 4af5fe5dbc..872c093cfa 100644 > --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h > +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h > @@ -121,7 +121,7 @@ > # undef ret_NOERRNO > # define ret_NOERRNO ret > > -/* Perfroms a system call, returning the error code. */ > +/* Performs a system call, returning the error code. */ > # undef PSEUDO_ERRVAL > # define PSEUDO_ERRVAL(name, syscall_name, args) \ > PSEUDO_NOERRNO (name, syscall_name, args) \ > diff --git a/sysdeps/unix/sysv/linux/s390/elision-conf.c b/sysdeps/unix/sysv/linux/s390/elision-conf.c > index 6a6d6814ee..37c50f1705 100644 > --- a/sysdeps/unix/sysv/linux/s390/elision-conf.c > +++ b/sysdeps/unix/sysv/linux/s390/elision-conf.c > @@ -53,7 +53,7 @@ static inline void > __always_inline > do_set_elision_enable (int32_t elision_enable) > { > - /* Enable elision if it's avaliable in hardware. It's not necessary to check > + /* Enable elision if it's available in hardware. It's not necessary to check > if __libc_enable_secure isn't enabled since elision_enable will be set > according to the default, which is disabled. */ > if (elision_enable == 1) > diff --git a/sysdeps/unix/sysv/linux/s390/htm.h b/sysdeps/unix/sysv/linux/s390/htm.h > index b8b62bae12..440fe083bc 100644 > --- a/sysdeps/unix/sysv/linux/s390/htm.h > +++ b/sysdeps/unix/sysv/linux/s390/htm.h > @@ -121,7 +121,7 @@ > pointer access) are filtered and the \ > transaction will abort. In this case \ > the normal lock path will execute it \ > - again and result in a core dump wich does \ > + again and result in a core dump which does \ > now show at tbegin but the real executed \ > instruction. \ > However it is not guaranteed that this \ > @@ -131,7 +131,7 @@ > memory for being accessible! */ \ > "2: tbegin 0, 0xFF0E\n\t" \ > /* Branch away in abort case (this is the \ > - prefered sequence. See PoP in chapter 5 \ > + preferred sequence. See PoP in chapter 5 \ > Transactional-Execution Facility \ > Operation). */ \ > " jnz 0f\n\t" \ > diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h > index 08f9e9cd9f..26d1a7c6d8 100644 > --- a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h > +++ b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h > @@ -42,7 +42,7 @@ > a large offset. Therefore we must not anymore test for < 0, but test > for a real error by making sure the value in gpr2 is a real error > number. Linus said he will make sure that no syscall returns a value > - in -1 .. -4095 as a valid result so we can savely test with -4095. */ > + in -1 .. -4095 as a valid result so we can safely test with -4095. */ > > #undef PSEUDO > #define PSEUDO(name, syscall_name, args) \ > diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h > index d5986d36f2..7230e97448 100644 > --- a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h > +++ b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h > @@ -46,7 +46,7 @@ > a large offset. Therefore we must not anymore test for < 0, but test > for a real error by making sure the value in gpr2 is a real error > number. Linus said he will make sure that no syscall returns a value > - in -1 .. -4095 as a valid result so we can savely test with -4095. */ > + in -1 .. -4095 as a valid result so we can safely test with -4095. */ > > #undef PSEUDO > #define PSEUDO(name, syscall_name, args) \ > diff --git a/sysdeps/unix/sysv/linux/s390/sysconf.c b/sysdeps/unix/sysv/linux/s390/sysconf.c > index 45bd8bf4a1..f474a966f9 100644 > --- a/sysdeps/unix/sysv/linux/s390/sysconf.c > +++ b/sysdeps/unix/sysv/linux/s390/sysconf.c > @@ -24,7 +24,7 @@ static long int linux_sysconf (int name); > > /* Possible arguments for get_cache_info. > The values are reflecting the level/attribute/type indications > - of ecag-instruction (extract cpu attribue). */ > + of ecag-instruction (extract cpu attribute). */ > #define CACHE_LEVEL_MAX 8 > #define CACHE_ATTR_LINESIZE 1 > #define CACHE_ATTR_SIZE 2 > diff --git a/sysdeps/unix/sysv/linux/scsi/sg.h b/sysdeps/unix/sysv/linux/scsi/sg.h > index 6defc97ef7..bb3daac7fa 100644 > --- a/sysdeps/unix/sysv/linux/scsi/sg.h > +++ b/sysdeps/unix/sysv/linux/scsi/sg.h > @@ -119,7 +119,7 @@ struct sg_scsi_id { > /* Used by SG_GET_REQUEST_TABLE ioctl(). */ > typedef struct sg_req_info { > char req_state; /* 0 -> not used, 1 -> written, 2 -> ready to read */ > - char orphan; /* 0 -> normal request, 1 -> from interruped SG_IO */ > + char orphan; /* 0 -> normal request, 1 -> from interrupted SG_IO */ > char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */ > char problem; /* 0 -> no problem detected, 1 -> error to report */ > int pack_id; /* pack_id associated with request */ > diff --git a/sysdeps/unix/sysv/linux/semop.c b/sysdeps/unix/sysv/linux/semop.c > index e04ce3e2d1..82b9c8729e 100644 > --- a/sysdeps/unix/sysv/linux/semop.c > +++ b/sysdeps/unix/sysv/linux/semop.c > @@ -20,7 +20,7 @@ > #include <ipc_priv.h> > #include <sysdep.h> > > -/* Perform user-defined atomical operation of array of semaphores. */ > +/* Perform user-defined atomic operation of array of semaphores. */ > > int > semop (int semid, struct sembuf *sops, size_t nsops) > diff --git a/sysdeps/unix/sysv/linux/semtimedop.c b/sysdeps/unix/sysv/linux/semtimedop.c > index c0bb3c3f06..4cff1f982a 100644 > --- a/sysdeps/unix/sysv/linux/semtimedop.c > +++ b/sysdeps/unix/sysv/linux/semtimedop.c > @@ -34,7 +34,7 @@ semtimedop_syscall (int semid, struct sembuf *sops, size_t nsops, > #endif > } > > -/* Perform user-defined atomical operation of array of semaphores. */ > +/* Perform user-defined atomic operation of array of semaphores. */ > int > __semtimedop64 (int semid, struct sembuf *sops, size_t nsops, > const struct __timespec64 *timeout) > diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h > index c917aba020..5a5c05bcfc 100644 > --- a/sysdeps/unix/sysv/linux/sh/sys/user.h > +++ b/sysdeps/unix/sysv/linux/sh/sys/user.h > @@ -21,7 +21,7 @@ > #include <asm/ptrace.h> > #include <stddef.h> > > -/* asm/ptrace.h polutes the namespace. */ > +/* asm/ptrace.h pollutes the namespace. */ > #undef PTRACE_GETREGS > #undef PTRACE_SETREGS > #undef PTRACE_GETFPREGS > diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.h b/sysdeps/unix/sysv/linux/sh/sysdep.h > index 34282acdb6..73df0a52ea 100644 > --- a/sysdeps/unix/sysv/linux/sh/sysdep.h > +++ b/sysdeps/unix/sysv/linux/sh/sysdep.h > @@ -41,7 +41,7 @@ > might return a large offset. Therefore we must not anymore test > for < 0, but test for a real error by making sure the value in R0 > is a real error number. Linus said he will make sure the no syscall > - returns a value in -1 .. -4095 as a valid result so we can savely > + returns a value in -1 .. -4095 as a valid result so we can safely > test with -4095. */ > > #define _IMM1 #-1 > diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S b/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S > index 6dda892482..7e0c20d2ed 100644 > --- a/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S > +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S > @@ -102,7 +102,7 @@ weak_alias (__setcontext, setcontext) > > If this NOP word does not exist, FDE lookup just repeatedly finds > __setcontext's FDE in an infinite loop, due to the convention of using > - 'address - 1' for FDE lookup. Modifiying/deleting the below > + 'address - 1' for FDE lookup. Modifying/deleting the below > __startcontext's FDE has no help on this. */ > > nop > diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h > index 7815d13136..bcbc9013b7 100644 > --- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h > +++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h > @@ -24,7 +24,7 @@ > #include <bits/wordsize.h> > > /* Linux/SPARC kernels up to 2.3.18 do not care much > - about what namespace polution, so use a kludge now. */ > + about what namespace pollution, so use a kludge now. */ > #undef PTRACE_GETREGS > #undef PTRACE_SETREGS > #undef PTRACE_GETFPREGS > diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h > index 58a03e6ea7..5e2fa122a8 100644 > --- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h > +++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h > @@ -164,7 +164,7 @@ typedef greg_t gregset_t[__NGREG]; > * The following structures define how a register window can appear on the > * stack. This structure is available (when required) through the `gwins' > * field of an mcontext (nested within ucontext). SPARC_MAXWINDOW is the > - * maximum number of outstanding regiters window defined in the SPARC > + * maximum number of outstanding registers window defined in the SPARC > * architecture (*not* implementation). > */ > # define __SPARC_MAXREGWINDOW 31 /* max windows in SPARC arch. */ > @@ -200,7 +200,7 @@ typedef struct > /* > * struct fq defines the minimal format of a floating point instruction queue > * entry. The size of entries in the floating point queue are implementation > - * dependent. The union FQu is guarenteed to be the first field in any ABI > + * dependent. The union FQu is guaranteed to be the first field in any ABI > * conformant system implementation. Any additional fields provided by an > * implementation should not be used applications designed to be ABI conformant. */ > > diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c > index bc321d4c58..ec687cb423 100644 > --- a/sysdeps/unix/sysv/linux/spawni.c > +++ b/sysdeps/unix/sysv/linux/spawni.c > @@ -203,7 +203,7 @@ __spawni_child (void *arguments) > { > /* POSIX states that if fildes was already an open file descriptor, > it shall be closed before the new file is opened. This avoid > - pontential issues when posix_spawn plus addopen action is called > + potential issues when posix_spawn plus addopen action is called > with the process already at maximum number of file descriptor > opened and also for multiple actions on single-open special > paths (like /dev/watchdog). */ > @@ -325,7 +325,7 @@ __spawnix (pid_t * pid, const char *file, > ptrdiff_t argc = 0; > /* Linux allows at most max (0x7FFFFFFF, 1/4 stack size) arguments > to be used in a execve call. We limit to INT_MAX minus one due the > - compatiblity code that may execute a shell script (maybe_script_execute) > + compatibility code that may execute a shell script (maybe_script_execute) > where it will construct another argument list with an additional > argument. */ > ptrdiff_t limit = INT_MAX - 1; > diff --git a/sysdeps/unix/sysv/linux/test-errno-linux.c b/sysdeps/unix/sysv/linux/test-errno-linux.c > index bece8ae3c6..1ee158ed43 100644 > --- a/sysdeps/unix/sysv/linux/test-errno-linux.c > +++ b/sysdeps/unix/sysv/linux/test-errno-linux.c > @@ -70,7 +70,7 @@ > Some tests assume "/bin/sh" names a file that exists and is not a > directory. */ > > -/* Evalutes to the arguments in a list initializer which can be used > +/* Evaluates to the arguments in a list initializer which can be used > as a single macro argument. */ > #define LIST(...) { __VA_ARGS__ } > > diff --git a/sysdeps/unix/sysv/linux/tst-fallocate-common.c b/sysdeps/unix/sysv/linux/tst-fallocate-common.c > index 01258a5f78..6eb4e5cf1c 100644 > --- a/sysdeps/unix/sysv/linux/tst-fallocate-common.c > +++ b/sysdeps/unix/sysv/linux/tst-fallocate-common.c > @@ -89,7 +89,7 @@ do_test_with_offset (off_t offset) > FAIL_EXIT1 ("fail trying to read " XSTR (BLK_SIZE) " bytes"); > > if (memcmp (bwrite, bread, BLK_SIZE) != 0) > - FAIL_EXIT1 ("buffer written different than buffer readed"); > + FAIL_EXIT1 ("buffer written different from buffer read"); > > return 0; > } > diff --git a/sysdeps/unix/sysv/linux/tst-o_path-locks.c b/sysdeps/unix/sysv/linux/tst-o_path-locks.c > index 16fdb6b119..0036868dfd 100644 > --- a/sysdeps/unix/sysv/linux/tst-o_path-locks.c > +++ b/sysdeps/unix/sysv/linux/tst-o_path-locks.c > @@ -55,7 +55,7 @@ probe_lock (void) > *shared_errno = -1; > support_isolate_in_subprocess (subprocess, NULL); > if (*shared_errno == 0) > - /* Lock was aquired by the subprocess, so this process has not > + /* Lock was acquired by the subprocess, so this process has not > locked it. */ > return false; > else > diff --git a/sysdeps/unix/sysv/linux/tst-ofdlocks.c b/sysdeps/unix/sysv/linux/tst-ofdlocks.c > index 997487924c..70a2991edb 100644 > --- a/sysdeps/unix/sysv/linux/tst-ofdlocks.c > +++ b/sysdeps/unix/sysv/linux/tst-ofdlocks.c > @@ -60,7 +60,7 @@ do_test (void) > int fd = open64 (temp_filename, O_RDWR, 0666); > TEST_VERIFY_EXIT (fd != -1); > > - /* It tries then to allocate another open file descriptior with a valid > + /* It tries then to allocate another open file descriptor with a valid > non-LFS bits struct flock but which will result in a conflicted region > which can not be represented in a non-LFS struct flock. */ > struct flock lck = { > diff --git a/sysdeps/unix/sysv/linux/tst-process_mrelease.c b/sysdeps/unix/sysv/linux/tst-process_mrelease.c > index 95a50cb68d..d1460ef30e 100644 > --- a/sysdeps/unix/sysv/linux/tst-process_mrelease.c > +++ b/sysdeps/unix/sysv/linux/tst-process_mrelease.c > @@ -61,7 +61,7 @@ do_test (void) > int pidfd = pidfd_open (pid, 0); > TEST_VERIFY (pidfd != -1); > > - /* The syscall only succeedes if the target process is exiting and there > + /* The syscall only succeeds if the target process is exiting and there > is no guarantee that calling if after pidfd_send_signal will not error > (ince the process might have already been reaped by the OS). So just > check if it does fail when the process is stll running. */ > diff --git a/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c b/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c > index c0610203d5..fe68c6d73b 100644 > --- a/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c > +++ b/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c > @@ -18,7 +18,7 @@ > > /* This file is included by the tst-affinity*.c files to test the two > variants of the functions, under different conditions. The > - following functions have to be definied: > + following functions have to be defined: > > static int getaffinity (size_t, cpu_set_t *); > static int setaffinity (size_t, const cpu_set_t *); > diff --git a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c > index aa170d05ea..0fe8780cba 100644 > --- a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c > +++ b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c > @@ -77,7 +77,7 @@ static void > do_test_large_buffer (bool mc) > { > struct mmsghdr mmhdr = { 0 }; > - /* It should be large enought for either timeval/timespec and the > + /* It should be large enough for either timeval/timespec and the > 64 time type as well. */ > > union > @@ -142,7 +142,7 @@ do_test_large_buffer (bool mc) > > /* Check if recvmsg does not create the additional 64 bit timestamp if > only 32 bit timestamp is enabled if the ancillary buffer is not large > - enought. Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg > + enough. Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg > symbol. */ > static void > do_test_small_buffer (bool mc) > diff --git a/sysdeps/unix/sysv/linux/tst-socket-timestamp.c b/sysdeps/unix/sysv/linux/tst-socket-timestamp.c > index d1abc8d141..5ad7a0d481 100644 > --- a/sysdeps/unix/sysv/linux/tst-socket-timestamp.c > +++ b/sysdeps/unix/sysv/linux/tst-socket-timestamp.c > @@ -284,7 +284,7 @@ do_test_multiple_ancillary (void) > TEST_VERIFY_EXIT (r != -1); > } > > - /* Enougth data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the > + /* Enough data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the > extra 64-bit SO_TIMESTAMP. */ > enum { msgbuflen = CMSG_SPACE (2 * sizeof (uint64_t)) > + CMSG_SPACE (sizeof (struct sockaddr_in)) > diff --git a/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c b/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c > index 97101f2c8e..f18464e3f5 100644 > --- a/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c > +++ b/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c > @@ -55,7 +55,7 @@ struct test_msginfo > int msgmni; > }; > > -/* It tries to obtain some system-wide SysV messsage queue information from > +/* It tries to obtain some system-wide SysV message queue information from > /proc to check against IPC_INFO/MSG_INFO. The /proc only returns the > tunables value of MSGMAX, MSGMNB, and MSGMNI. > > diff --git a/sysdeps/unix/sysv/linux/tst-tgkill.c b/sysdeps/unix/sysv/linux/tst-tgkill.c > index c86a88ddad..315bf0079d 100644 > --- a/sysdeps/unix/sysv/linux/tst-tgkill.c > +++ b/sysdeps/unix/sysv/linux/tst-tgkill.c > @@ -66,7 +66,7 @@ subprocess (void *closure) > { > int original_tid = expected_signal_tid; > > - /* Do not expect that the folloing signals are delivered to the > + /* Do not expect that the following signals are delivered to the > subprocess. The parent process retains the original > expected_signal_tid value. */ > expected_signal_tid = 0; > @@ -77,7 +77,7 @@ subprocess (void *closure) > TEST_COMPARE (expected_signal_tid, 0); > > /* This call has the correct PID/TID combination and is therefore > - expected to suceed. */ > + expected to succeed. */ > TEST_COMPARE (tgkill (getppid (), original_tid, SIGUSR1), 0); > } > > diff --git a/sysdeps/unix/sysv/linux/tst-ttyname.c b/sysdeps/unix/sysv/linux/tst-ttyname.c > index cd953657b8..ef55665fbe 100644 > --- a/sysdeps/unix/sysv/linux/tst-ttyname.c > +++ b/sysdeps/unix/sysv/linux/tst-ttyname.c > @@ -508,7 +508,7 @@ run_chroot_tests (const char *slavename, int slave) > char *linkname = xasprintf ("/proc/self/fd/%d", slave); > char *target = proc_fd_readlink (linkname); > free (linkname); > - /* Depeding on how we set up the chroot, the kernel may or may not > + /* Depending on how we set up the chroot, the kernel may or may not > trim the leading path to the target (it may give us "/6", > instead of "/dev/pts/6"). We test it both ways (do_in_chroot_1 > and do_in_chroot_2). This test group relies on the target > diff --git a/sysdeps/unix/sysv/linux/x86/elision-conf.c b/sysdeps/unix/sysv/linux/x86/elision-conf.c > index cfd9a71e31..19f95550ce 100644 > --- a/sysdeps/unix/sysv/linux/x86/elision-conf.c > +++ b/sysdeps/unix/sysv/linux/x86/elision-conf.c > @@ -49,7 +49,7 @@ struct elision_config __elision_aconf = > static __always_inline void > do_set_elision_enable (int32_t elision_enable) > { > - /* Enable elision if it's avaliable in hardware. It's not necessary to check > + /* Enable elision if it's available in hardware. It's not necessary to check > if __libc_enable_secure isn't enabled since elision_enable will be set > according to the default, which is disabled. */ > if (elision_enable == 1) > diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h > index cfb51be8c5..c350ee157a 100644 > --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h > +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h > @@ -43,7 +43,7 @@ > might return a large offset. Therefore we must not anymore test > for < 0, but test for a real error by making sure the value in %eax > is a real error number. Linus said he will make sure the no syscall > - returns a value in -1 .. -4095 as a valid result so we can savely > + returns a value in -1 .. -4095 as a valid result so we can safely > test with -4095. */ > > /* We don't want the label for the error handle to be global when we define > diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c > index 5bff8ec0b4..0a99efdb28 100644 > --- a/sysdeps/x86/cpu-features.c > +++ b/sysdeps/x86/cpu-features.c > @@ -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); > diff --git a/sysdeps/x86/dl-prop.h b/sysdeps/x86/dl-prop.h > index 87702df040..b2836f3009 100644 > --- a/sysdeps/x86/dl-prop.h > +++ b/sysdeps/x86/dl-prop.h > @@ -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)) > diff --git a/sysdeps/x86/hp-timing.h b/sysdeps/x86/hp-timing.h > index 075135d5a6..15e9106105 100644 > --- a/sysdeps/x86/hp-timing.h > +++ b/sysdeps/x86/hp-timing.h > @@ -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> > diff --git a/sysdeps/x86_64/dl-trampoline.h b/sysdeps/x86_64/dl-trampoline.h > index f8ad31af88..897ad9d7ed 100644 > --- a/sysdeps/x86_64/dl-trampoline.h > +++ b/sysdeps/x86_64/dl-trampoline.h > @@ -28,11 +28,11 @@ > # undef BASE > > # if (STATE_SAVE_ALIGNMENT % 16) != 0 > -# error STATE_SAVE_ALIGNMENT must be multples of 16 > +# error STATE_SAVE_ALIGNMENT must be multiples of 16 > # endif > > # if (STATE_SAVE_OFFSET % STATE_SAVE_ALIGNMENT) != 0 > -# error STATE_SAVE_OFFSET must be multples of STATE_SAVE_ALIGNMENT > +# error STATE_SAVE_OFFSET must be multiples of STATE_SAVE_ALIGNMENT > # endif > > # if DL_RUNTIME_RESOLVE_REALIGN_STACK > @@ -43,7 +43,7 @@ > /* Use fxsave to save XMM registers. */ > # define REGISTER_SAVE_AREA (512 + STATE_SAVE_OFFSET) > # if (REGISTER_SAVE_AREA % 16) != 0 > -# error REGISTER_SAVE_AREA must be multples of 16 > +# error REGISTER_SAVE_AREA must be multiples of 16 > # endif > # endif > # else > @@ -57,7 +57,7 @@ > # define LOCAL_STORAGE_AREA REGISTER_SAVE_AREA > # define BASE rsp > # if (REGISTER_SAVE_AREA % 16) != 8 > -# error REGISTER_SAVE_AREA must be odd multples of 8 > +# error REGISTER_SAVE_AREA must be odd multiples of 8 > # endif > # endif > > @@ -161,7 +161,7 @@ _dl_runtime_resolve: > > #if !defined PROF && defined _dl_runtime_profile > # if (LR_VECTOR_OFFSET % VEC_SIZE) != 0 > -# error LR_VECTOR_OFFSET must be multples of VEC_SIZE > +# error LR_VECTOR_OFFSET must be multiples of VEC_SIZE > # endif > > .globl _dl_runtime_profile > @@ -173,7 +173,7 @@ _dl_runtime_profile: > cfi_adjust_cfa_offset(16) # Incorporate PLT > _CET_ENDBR > /* The La_x86_64_regs data structure pointed to by the > - fourth paramater must be VEC_SIZE-byte aligned. This must > + fourth parameter must be VEC_SIZE-byte aligned. This must > be explicitly enforced. We have the set up a dynamically > sized stack frame. %rbx points to the top half which > has a fixed size and preserves the original stack pointer. */ > diff --git a/sysdeps/x86_64/fpu/feupdateenv.c b/sysdeps/x86_64/fpu/feupdateenv.c > index 129445e660..96977a114f 100644 > --- a/sysdeps/x86_64/fpu/feupdateenv.c > +++ b/sysdeps/x86_64/fpu/feupdateenv.c > @@ -31,7 +31,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); > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S > index 840c3d6a17..a46ddc136e 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S > @@ -222,7 +222,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S > index 3c75200578..808ea2fe95 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S > @@ -204,7 +204,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S > index 0647a2e1f7..878d1454c6 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S > @@ -226,7 +226,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S > index 8a56813ff0..b69e5cef8b 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S > @@ -321,7 +321,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S > index f16f539fb6..825b231173 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S > @@ -366,7 +366,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S > index 1a3211bf43..32ed85e368 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S > @@ -311,7 +311,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S > index 9fb9ddcf3d..7bba3b5272 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S > @@ -211,7 +211,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S > index af6fa771c5..c7dbb727e3 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S > @@ -196,7 +196,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S > index 2a0f6d4378..c23665b9b2 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S > @@ -218,7 +218,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S > index a3630b1145..f4da4b2c32 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S > @@ -474,7 +474,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S > index d97a5f845f..3ecec43c66 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S > @@ -423,7 +423,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S > index b4d88848b5..82bd52407d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S > @@ -337,7 +337,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S > index 7d14cb8cb4..39d86480e4 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S > @@ -229,11 +229,11 @@ ENTRY(_ZGVbN2vv_atan2_sse4) > /* Special branch for fast (vector) processing of zero arguments */ > testb $3, %cl > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx rbp r12 r13 r14 r15 eax edx xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -316,7 +316,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -96) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -336,7 +336,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx rbp r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S > index 35b635dac7..a4bcf9c375 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S > @@ -170,11 +170,11 @@ ENTRY(_ZGVdN4vv_atan2_avx2) > /* Special branch for fast (vector) processing of zero arguments */ > testl %eax, %eax > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx xmm3 ymm0 ymm1 ymm2 ymm4 ymm5 ymm6 ymm7 ymm8 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -271,7 +271,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -291,7 +291,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S > index 49662bc8c9..def7af38dc 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S > @@ -188,11 +188,11 @@ ENTRY(_ZGVeN8vv_atan2_skx) > vmovups 64(%rsp), %zmm9 > testl %eax, %eax > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx ymm6 zmm0 zmm2 zmm3 zmm4 zmm5 zmm7 zmm9 zmm11 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -289,7 +289,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm11 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -309,7 +309,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S > index 50345f026d..0a87c8cd81 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S > @@ -367,7 +367,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S > index 0e2f6cadae..44517bea88 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S > @@ -333,7 +333,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S > index 7ba45c0056..99141c1f39 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S > @@ -268,7 +268,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S > index aa90322722..98b276f2e2 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S > @@ -241,7 +241,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm6 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S > index d0de65fde8..45f395dccb 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S > @@ -256,7 +256,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S > index c2a13245a8..dd89de036f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S > @@ -260,7 +260,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S > index c152307a25..8330968063 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S > @@ -276,7 +276,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S > index b4b2284a16..3e2aa620b2 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S > @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S > index 5934986b52..a5f2f11508 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S > @@ -251,7 +251,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S > index 2948e6b3c3..376be17b34 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S > @@ -252,7 +252,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S > index 5c92653e20..debba0c365 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S > @@ -255,7 +255,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S > index 65abd70168..db25e5b14d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S > @@ -68,7 +68,7 @@ ENTRY(_ZGVbN2v_exp10_sse4) > /* R */ > movaps %xmm0, %xmm12 > > - /* Load arument */ > + /* Load argument */ > movups _dbLg2_10+__svml_dexp10_data_internal(%rip), %xmm13 > lea __svml_dexp10_data_internal(%rip), %rsi > mulpd %xmm0, %xmm13 > @@ -214,7 +214,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S > index 1c7c8e2db8..c5cec289a7 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S > @@ -73,7 +73,7 @@ ENTRY(_ZGVdN4v_exp10_avx2) > vmovapd %ymm0, %ymm2 > vmovupd _dbShifter+__svml_dexp10_data_internal(%rip), %ymm3 > > - /* Load arument */ > + /* Load argument */ > vmovupd _dbLg2_10+__svml_dexp10_data_internal(%rip), %ymm0 > vfmadd213pd %ymm3, %ymm2, %ymm0 > vsubpd %ymm3, %ymm0, %ymm1 > @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S > index 2f45c9292d..9ea6a3d204 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S > @@ -23,7 +23,7 @@ > * - all arguments processed in the main path > * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) > * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs > - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling > + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling > * - SAE used to avoid spurious flag settings > * > */ > @@ -185,7 +185,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S > index 0ffb56d9d4..4c24aa8a2e 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S > @@ -67,7 +67,7 @@ ENTRY(_ZGVbN2v_exp2_sse4) > /* out, basePtr, iIndex, iBaseOfs, iSize, iGran, iOfs */ > lea __svml_dexp2_data_internal(%rip), %rsi > > - /* Load arument */ > + /* Load argument */ > movaps %xmm1, %xmm10 > addpd %xmm0, %xmm10 > movaps %xmm10, %xmm6 > @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S > index 9337921c63..1e55f3db85 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S > @@ -71,7 +71,7 @@ ENTRY(_ZGVdN4v_exp2_avx2) > vmovupd _lIndexMask+__svml_dexp2_data_internal(%rip), %ymm3 > vmovapd %ymm0, %ymm1 > > - /* Load arument */ > + /* Load argument */ > vaddpd %ymm4, %ymm1, %ymm2 > vsubpd %ymm4, %ymm2, %ymm0 > > @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S > index ab3db00910..7e759c445f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S > @@ -221,7 +221,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S > index 7e1df110e4..05be9079f5 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S > @@ -206,7 +206,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm6 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S > index 815ef34935..ad0b49978c 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S > @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S > index f38c694eb1..968801ab00 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S > @@ -24,7 +24,7 @@ > * - all arguments processed in the main path > * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) > * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs > - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling > + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling > * > * > */ > @@ -205,7 +205,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S > index 136f5ebd8d..07c3156cf7 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S > @@ -47,7 +47,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout > + * Check _z exponent to be within borders [3BC ; 441] else goto Callout > * > * _s ~ 1.0/sqrt(_z) > * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) > @@ -127,7 +127,7 @@ ENTRY(_ZGVbN2vv_hypot_sse4) > mulpd %xmm10, %xmm11 > mulpd %xmm10, %xmm2 > > - /* Check _z exponent to be withing borders [3BC ; 441] else goto Callout */ > + /* Check _z exponent to be within borders [3BC ; 441] else goto Callout */ > movq _LowBoundary+__svml_dhypot_data_internal(%rip), %xmm5 > movq _HighBoundary+__svml_dhypot_data_internal(%rip), %xmm3 > pshufd $221, %xmm10, %xmm4 > @@ -215,7 +215,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -96) > # LOE rbx rbp r12 r13 r14 r15 xmm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S > index 61d12c9795..d8c6a3ac43 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S > @@ -47,7 +47,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout > + * Check _z exponent to be within borders [3BC ; 441] else goto Callout > * > * _s ~ 1.0/sqrt(_z) > * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) > @@ -111,7 +111,7 @@ ENTRY(_ZGVdN4vv_hypot_avx2) > */ > vcvtpd2ps %ymm0, %xmm12 > > - /* Check _z exponent to be withing borders [3BC ; 441] else goto Callout */ > + /* Check _z exponent to be within borders [3BC ; 441] else goto Callout */ > vextractf128 $1, %ymm0, %xmm3 > vrsqrtps %xmm12, %xmm13 > vshufps $221, %xmm3, %xmm0, %xmm5 > @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S > index fb53d5dbd7..24ab764b7a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S > @@ -47,7 +47,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout > + * Check _z exponent to be within borders [3BC ; 441] else goto Callout > * > * _s ~ 1.0/sqrt(_z) > * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) > @@ -188,7 +188,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S > index b2e75c1f23..de1583b394 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S > @@ -227,7 +227,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm3 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S > index 2e6ebac0ee..8a9b8a84fb 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S > @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S > index b7593067c0..b4e5a9ccea 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S > @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S > index d0372e82c6..618b7e1e09 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S > @@ -265,7 +265,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S > index d114653c71..dc2ccb3255 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S > @@ -257,7 +257,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S > index 283c40b689..f5ec27ddb1 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S > @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S > index 93bf27092d..29465643cd 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S > @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm3 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S > index 83d8d4c462..30fa3e4473 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S > @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S > index bc9db384e9..351e00d182 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S > @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S > index 03a703f5f1..3b01840d73 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S > @@ -260,7 +260,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S > index 26075187ae..585e2e51bf 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S > @@ -274,7 +274,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S > index ce08de9dd0..8158d1455f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S > @@ -265,7 +265,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S > index 9fac5fa4bc..9c208765af 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S > @@ -181,11 +181,11 @@ ENTRY(_ZGVbN2v_tan_sse4) > movmskpd %xmm4, %edx > testl %edx, %edx > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx rbp r12 r13 r14 r15 eax xmm0 xmm1 xmm4 xmm5 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -264,7 +264,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -283,7 +283,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx rbp r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S > index 8586565ddb..82d2ceff9a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S > @@ -166,11 +166,11 @@ ENTRY(_ZGVdN4v_tan_avx2) > vxorpd %ymm0, %ymm8, %ymm0 > testl %eax, %eax > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 r9d ymm0 ymm1 ymm14 ymm15 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -261,7 +261,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -280,7 +280,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S > index 79deb21b2a..c5738cef99 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S > @@ -96,11 +96,11 @@ ENTRY(_ZGVeN8v_tan_skx) > vfnmadd231pd {rn-sae}, %zmm8, %zmm3, %zmm5 > vfnmadd213pd {rn-sae}, %zmm5, %zmm4, %zmm8 > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx zmm0 zmm1 zmm8 zmm11 k1 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -233,7 +233,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -252,7 +252,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S > index 6fef5f0856..cbcb0d6a43 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S > @@ -259,7 +259,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S > index c05f4c2079..cf0182bf8a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S > @@ -266,7 +266,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S > index 70f0880049..b3477a346b 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S > @@ -280,7 +280,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xfe, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S > index 1c68130a87..5bdc356429 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S > @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S > index 372beff631..ac099d38c5 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S > @@ -198,7 +198,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm7 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S > index 9e2f3b0dfe..76296d91c0 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S > @@ -192,7 +192,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S > index 9ba81506ca..ff7063499f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S > @@ -284,7 +284,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S > index 6c3cbf0c3b..6a213dc2e4 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S > @@ -299,7 +299,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm9 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S > index 45aede28ea..17f6a19b3d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S > @@ -280,7 +280,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S > index daa5cfa91e..2ffe24e1ff 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S > @@ -192,7 +192,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S > index 0718fa09b4..bc3e2f8340 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S > @@ -184,7 +184,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S > index 2199ed35d1..41e015c490 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S > @@ -181,7 +181,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S > index 720b58f956..592caa85da 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S > @@ -307,7 +307,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S > index c78550ec22..e5996b3346 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S > @@ -403,7 +403,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S > index f9aeea6c85..1e8fc22910 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S > @@ -355,7 +355,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S > index e031dadf19..08c193e273 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S > @@ -150,11 +150,11 @@ ENTRY(_ZGVeN16vv_atan2f_skx) > vaddps {rn-sae}, %zmm11, %zmm9, %zmm9{%k4} > vorps %zmm6, %zmm9, %zmm10 > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm10 zmm11 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -251,7 +251,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm10 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -271,7 +271,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S > index 60426108b1..0ec9b19590 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S > @@ -157,11 +157,11 @@ ENTRY(_ZGVbN4vv_atan2f_sse4) > /* Special branch for fast (vector) processing of zero arguments */ > testl %ecx, %ecx > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx rbp r12 r13 r14 r15 eax edx xmm0 xmm1 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -244,7 +244,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -96) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -264,7 +264,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx rbp r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S > index bf632c8a99..69619cb4d8 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S > @@ -131,11 +131,11 @@ ENTRY(_ZGVdN8vv_atan2f_avx2) > /* Special branch for fast (vector) processing of zero arguments */ > testl %eax, %eax > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm9 ymm10 ymm12 ymm13 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -232,7 +232,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm9 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -252,7 +252,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S > index f733c7a1b5..6c3d40d676 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S > @@ -221,7 +221,7 @@ L(SPECIAL_VALUES_LOOP): > xorl %ebp, %ebp > tzcntl %ebx, %ebp > > - /* Scalar math fucntion call to process special input. */ > + /* Scalar math function call to process special input. */ > vmovss 64(%rsp, %rbp, 4), %xmm0 > call atanhf@PLT > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S > index 055484bfb2..ab2ef46b9d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S > @@ -242,7 +242,7 @@ L(SPECIAL_VALUES_LOOP): > xorl %ebp, %ebp > bsfl %ebx, %ebp > > - /* Scalar math fucntion call to process special input. */ > + /* Scalar math function call to process special input. */ > movss 40(%rsp, %rbp, 4), %xmm0 > call atanhf@PLT > /* No good way to avoid the store-forwarding fault this will cause on > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S > index 8ffe98cfe1..e70085b051 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S > @@ -230,7 +230,7 @@ L(SPECIAL_VALUES_LOOP): > xorl %ebp, %ebp > tzcntl %ebx, %ebp > > - /* Scalar math fucntion call to process special input. */ > + /* Scalar math function call to process special input. */ > vmovss 32(%rsp, %rbp, 4), %xmm0 > call atanhf@PLT > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S > index f5331db13b..270e620d61 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S > @@ -273,7 +273,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm12 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S > index 76db762fe8..292eb5a93f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S > @@ -298,7 +298,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S > index 14696eeff4..773594d4e0 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S > @@ -222,7 +222,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm6 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S > index 654ac65916..ee987dd10f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S > @@ -233,7 +233,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S > index 474cb05473..24692722eb 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S > @@ -236,7 +236,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S > index 03b7e4adc1..3d19dbd58a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S > @@ -212,7 +212,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S > index 02aa2b4f76..e7cae80579 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S > @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S > index c3e8e399db..958b46dbfe 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S > @@ -237,7 +237,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S > index e70e8c52ca..f2d8130ee4 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S > @@ -23,7 +23,7 @@ > * - all arguments processed in the main path > * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) > * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs > - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling > + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling > * - SAE used to avoid spurious flag settings > * > */ > @@ -180,7 +180,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S > index 9de39a62c2..9eb215a40f 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S > @@ -63,7 +63,7 @@ ENTRY(_ZGVbN4v_exp10f_sse4) > cfi_def_cfa_offset(80) > movaps %xmm0, %xmm4 > > - /* Load arument */ > + /* Load argument */ > movups _sLg2_10+__svml_sexp10_data_internal(%rip), %xmm2 > lea __svml_sexp10_data_internal(%rip), %r8 > mulps %xmm4, %xmm2 > @@ -212,7 +212,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S > index e3087a75dc..79563cc353 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S > @@ -69,7 +69,7 @@ ENTRY(_ZGVdN8v_exp10f_avx2) > lea __svml_sexp10_data_internal(%rip), %rax > vmovups _sShifter+__svml_sexp10_data_internal(%rip), %ymm4 > > - /* Load arument */ > + /* Load argument */ > vmovups _sLg2_10+__svml_sexp10_data_internal(%rip), %ymm1 > vmovups _iIndexMask+__svml_sexp10_data_internal(%rip), %ymm2 > vmovaps %ymm0, %ymm3 > @@ -232,7 +232,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S > index 1911c06bcf..ce983b297b 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S > @@ -203,7 +203,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S > index f4ddfbe932..512ea5c5bf 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S > @@ -175,7 +175,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S > index 277508b8ef..47592985c1 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S > @@ -182,7 +182,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S > index 7aa1e3c417..4683e546de 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S > @@ -24,7 +24,7 @@ > * - all arguments processed in the main path > * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) > * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs > - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling > + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling > * > * > */ > @@ -188,7 +188,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S > index 6a3a9d266c..5159b0785a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S > @@ -207,7 +207,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 xmm10 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S > index ee442d8c4a..aae9068cc9 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S > @@ -206,7 +206,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S > index 06c6903df2..749deb0833 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S > @@ -45,7 +45,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout > + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout > * > * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), > * that multiplied by _z, is final result for _EP_ version. > @@ -196,7 +196,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S > index c5a94d7b5b..38ab12b1e2 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S > @@ -45,7 +45,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout > + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout > * > * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), > * that multiplied by _z, is final result for _EP_ version. > @@ -117,7 +117,7 @@ ENTRY(_ZGVbN4vv_hypotf_sse4) > movaps %xmm2, %xmm6 > mulps %xmm10, %xmm6 > > - /* Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout */ > + /* Check _z exponent to be within borders [1E3 ; 60A] else goto Callout */ > movdqu _LowBoundary+__svml_shypot_data_internal(%rip), %xmm4 > subps %xmm6, %xmm5 > > @@ -216,7 +216,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -96) > # LOE rbx rbp r12 r13 r14 r15 xmm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S > index fe87678ae6..80f1081201 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S > @@ -45,7 +45,7 @@ > * No multiprecision branch for _LA_ and _EP_ > * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 > * > - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout > + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout > * > * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), > * that multiplied by _z, is final result for _EP_ version. > @@ -107,7 +107,7 @@ ENTRY(_ZGVdN8vv_hypotf_avx2) > */ > vmovups _sHalf+__svml_shypot_data_internal(%rip), %ymm7 > > - /* Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout */ > + /* Check _z exponent to be within borders [1E3 ; 60A] else goto Callout */ > vmovups _LowBoundary+__svml_shypot_data_internal(%rip), %ymm2 > vfmadd231ps %ymm1, %ymm1, %ymm8 > > @@ -220,7 +220,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm2 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S > index 87a1694a6f..0deb96997a 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S > @@ -155,7 +155,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S > index 80ded85293..6baff562f5 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S > @@ -168,7 +168,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S > index 480495037f..54ff0b1e4d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S > @@ -168,7 +168,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S > index d629dc44f3..e4f8a603ff 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S > @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S > index 511e064a3d..4a10457eb8 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S > @@ -182,7 +182,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S > index ea39f66d22..672c91e07e 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S > @@ -184,7 +184,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S > index c14fd3d918..04288956c4 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S > @@ -152,7 +152,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S > index f4aa9481ca..93ed64254e 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S > @@ -160,7 +160,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S > index d2441c3581..02360e57ee 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S > @@ -163,7 +163,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm1 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S > index dda1a0531b..03e7f345b0 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S > @@ -246,7 +246,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S > index 34ec276ac0..59d6329126 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S > @@ -236,7 +236,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -80) > # LOE rbx rbp r12 r13 r14 r15 xmm14 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S > index abf8d658ab..81e1f19e26 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S > @@ -237,7 +237,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S > index 3d4dba3fab..ae95fbae91 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S > @@ -94,11 +94,11 @@ ENTRY(_ZGVeN16v_tanf_skx) > vfnmadd231ps {rn-sae}, %zmm5, %zmm2, %zmm4 > vfnmadd213ps {rn-sae}, %zmm4, %zmm3, %zmm5 > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx r12 r13 r14 r15 edx zmm0 zmm5 zmm10 zmm11 k6 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -229,7 +229,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE rbx r12 r13 r14 r15 zmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -248,7 +248,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S > index 1292e88cf9..fab86645b6 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S > @@ -175,11 +175,11 @@ ENTRY(_ZGVbN4v_tanf_sse4) > > testl %edx, %edx > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > # LOE rbx rbp r12 r13 r14 r15 eax xmm0 xmm4 xmm11 xmm12 xmm13 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -258,7 +258,7 @@ L(SPECIAL_VALUES_LOOP): > cfi_offset(14, -240) > # LOE rbx rbp r12 r13 r14 r15 xmm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -277,7 +277,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(14) > # LOE rbx rbp r15 r12d r13d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S > index ab52321220..30585a77b4 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S > @@ -161,13 +161,13 @@ ENTRY(_ZGVdN8v_tanf_avx2) > > testl %edx, %edx > > - /* Go to auxilary branch */ > + /* Go to auxiliary branch */ > jne L(AUX_BRANCH) > /* DW_CFA_expression: r3 (rbx) (DW_OP_lit8; DW_OP_minus; DW_OP_const4s: -32; DW_OP_and; DW_OP_const4s: -8; DW_OP_plus) */ > .cfi_escape 0x10, 0x03, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xf8, 0xff, 0xff, 0xff, 0x22 > # LOE r12 r13 r14 r15 eax ymm0 ymm1 ymm10 ymm11 ymm12 > > - /* Return from auxilary branch > + /* Return from auxiliary branch > * for out of main path inputs > */ > > @@ -255,7 +255,7 @@ L(SPECIAL_VALUES_LOOP): > .cfi_escape 0x10, 0x0d, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 > # LOE r12 r13 r14 r15 ymm0 > > - /* Scalar math fucntion call > + /* Scalar math function call > * to process special input > */ > > @@ -273,7 +273,7 @@ L(SCALAR_MATH_CALL): > cfi_restore(13) > # LOE r14 r15 ebx r12d > > - /* Auxilary branch > + /* Auxiliary branch > * for out of main path inputs > */ > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S > index d72a88924c..e639c48524 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S > @@ -220,7 +220,7 @@ L(SPECIAL_VALUES_LOOP): > xorl %ebp, %ebp > tzcntl %ebx, %ebp > > - /* Scalar math fucntion call to process special input. */ > + /* Scalar math function call to process special input. */ > vmovss 64(%rsp, %rbp, 4), %xmm0 > call tanhf@PLT > > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S > index dcbb1886d0..357ad375b3 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S > @@ -73,7 +73,7 @@ > > #include <sysdep.h> > > -/* tanhf data tables for avx2 and sse4 implementatins defined here. > +/* tanhf data tables for avx2 and sse4 implementations defined here. > */ > #define ONLY_DECL_OFFSET > #include "svml_s_tanhf_rodata.S" > @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): > xorl %ebp, %ebp > bsfl %ebx, %ebp > > - /* Scalar math fucntion call to process special input. */ > + /* Scalar math function call to process special input. */ > movss 40(%rsp, %rbp, 4), %xmm0 > call tanhf@PLT > /* No good way to avoid the store-forwarding fault this will cause on > diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S > index b8d828e081..ea19903d9d 100644 > --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S > +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S > @@ -72,7 +72,7 @@ > > #include <sysdep.h> > > -/* tanhf data tables for avx2 and sse4 implementatins defined here. > +/* tanhf data tables for avx2 and sse4 implementations defined here. > */ > #include "svml_s_tanhf_rodata.S" > > diff --git a/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h b/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h > index 10ae5d6994..89d366b7b5 100644 > --- a/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h > +++ b/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h > @@ -1,4 +1,4 @@ > -/* Common definition for strcasecmp famly ifunc selections. > +/* Common definition for strcasecmp family ifunc selections. > All versions must be listed in ifunc-impl-list.c. > Copyright (C) 2017-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > diff --git a/sysdeps/x86_64/multiarch/memchr-evex.S b/sysdeps/x86_64/multiarch/memchr-evex.S > index 764a419b68..35347daa05 100644 > --- a/sysdeps/x86_64/multiarch/memchr-evex.S > +++ b/sysdeps/x86_64/multiarch/memchr-evex.S > @@ -440,13 +440,13 @@ L(loop_4x_vec): > ymm0-15 is used at all is because there is no EVEX encoding > vpcmpeq and with vpcmpeq this loop can be performed more > efficiently. The non-vzeroupper version is safe for RTM > - while the vzeroupper version should be prefered if RTM are > + while the vzeroupper version should be preferred if RTM are > not supported. Which loop version we use is determined by > USE_TERN_IN_LOOP. */ > > # if USE_TERN_IN_LOOP > /* Since vptern can only take 3x vectors fastest to do 1 vec > - seperately with EVEX vpcmp. */ > + separately with EVEX vpcmp. */ > # ifdef USE_AS_WMEMCHR > /* vptern can only accept masks for epi32/epi64 so can only save > instruction using not equals mask on vptern with wmemchr. > @@ -539,7 +539,7 @@ L(last_vec_x1_novzero): > > # if CHAR_PER_VEC == 64 > /* Since we can't combine the last 2x VEC when CHAR_PER_VEC == > - 64 it needs a seperate return label. */ > + 64 it needs a separate return label. */ > .p2align 4,, 4 > L(last_vec_x2): > L(last_vec_x2_novzero): > @@ -579,8 +579,8 @@ L(loop_vec_ret): > (only if used VEX encoded loop). */ > COND_VZEROUPPER > > - /* Seperate logic for CHAR_PER_VEC == 64 vs the rest. For > - CHAR_PER_VEC we test the last 2x VEC seperately, for > + /* Separate logic for CHAR_PER_VEC == 64 vs the rest. For > + CHAR_PER_VEC we test the last 2x VEC separately, for > CHAR_PER_VEC <= 32 we can combine the results from the 2x > VEC in a single GPR. */ > # if CHAR_PER_VEC == 64 > diff --git a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S > index b81d9f7dd8..61dbfe79cf 100644 > --- a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S > +++ b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S > @@ -29,7 +29,7 @@ > 3. Use xmm vector compare when size >= 4 bytes for memcmp or > size >= 8 bytes for wmemcmp. > 4. Optimistically compare up to first 4 * VEC_SIZE one at a > - to check for early mismatches. Only do this if its guranteed the > + to check for early mismatches. Only do this if its guaranteed the > work is not wasted. > 5. If size is 8 * VEC_SIZE or less, unroll the loop. > 6. Compare 4 * VEC_SIZE at a time with the aligned first memory > @@ -66,7 +66,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 SECTION(.text),"ax",@progbits > diff --git a/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S b/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S > index a63db75b35..7e6fed9b63 100644 > --- a/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S > +++ b/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S > @@ -30,7 +30,7 @@ > 3. Use xmm vector compare when size >= 4 bytes for memcmp or > size >= 8 bytes for wmemcmp. > 4. Optimistically compare up to first 4 * CHAR_PER_VEC one at a > - to check for early mismatches. Only do this if its guranteed the > + to check for early mismatches. Only do this if its guaranteed the > work is not wasted. > 5. If size is 8 * VEC_SIZE or less, unroll the loop. > 6. Compare 4 * VEC_SIZE at a time with the aligned first memory > @@ -90,7 +90,7 @@ Latency: > > /* 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 SECTION(.text), "ax", @progbits > @@ -105,7 +105,7 @@ ENTRY_P2ALIGN (MEMCMP, 6) > /* Fall through for [0, VEC_SIZE] as its the hottest. */ > ja L(more_1x_vec) > > - /* Create mask of bytes that are guranteed to be valid because > + /* Create mask of bytes that are guaranteed to be valid because > of length (edx). Using masked movs allows us to skip checks > for page crosses/zero size. */ > mov $-1, %VRAX > @@ -365,7 +365,7 @@ L(loop_4x_vec): > /* Load regardless of branch. */ > VMOVU (VEC_SIZE * 2)(%rsi, %rdx), %VMM(3) > > - /* Seperate logic as we can only use testb for VEC_SIZE == 64. > + /* Separate logic as we can only use testb for VEC_SIZE == 64. > */ > # if VEC_SIZE == 64 > testb %dil, %dil > diff --git a/sysdeps/x86_64/multiarch/memcmp-sse2.S b/sysdeps/x86_64/multiarch/memcmp-sse2.S > index 305bd02920..77174e7c64 100644 > --- a/sysdeps/x86_64/multiarch/memcmp-sse2.S > +++ b/sysdeps/x86_64/multiarch/memcmp-sse2.S > @@ -410,7 +410,7 @@ L(ret_nonzero_vec_start_4_5): > .p2align 4,, 8 > L(ret_nonzero_vec_end_1): > pmovmskb %xmm1, %ecx > - /* High 16 bits of eax guranteed to be all ones. Rotate them in > + /* High 16 bits of eax guaranteed to be all ones. Rotate them in > to we can do `or + not` with just `xor`. */ > rorl $16, %eax > xorl %ecx, %eax > @@ -562,7 +562,7 @@ L(ret_nonzero_loop): > sall $(VEC_SIZE * 1), %edx > leal 1(%rcx, %rdx), %edx > pmovmskb %xmm2, %ecx > - /* High 16 bits of eax guranteed to be all ones. Rotate them in > + /* High 16 bits of eax guaranteed to be all ones. Rotate them in > to we can do `or + not` with just `xor`. */ > rorl $16, %eax > xorl %ecx, %eax > diff --git a/sysdeps/x86_64/multiarch/memcmpeq-avx2.S b/sysdeps/x86_64/multiarch/memcmpeq-avx2.S > index 4b013c5523..f6e39ca0bd 100644 > --- a/sysdeps/x86_64/multiarch/memcmpeq-avx2.S > +++ b/sysdeps/x86_64/multiarch/memcmpeq-avx2.S > @@ -26,7 +26,7 @@ > and loading from either s1 or s2 would cause a page cross. > 2. Use xmm vector compare when size >= 8 bytes. > 3. Optimistically compare up to first 4 * VEC_SIZE one at a > - to check for early mismatches. Only do this if its guranteed the > + to check for early mismatches. Only do this if its guaranteed the > work is not wasted. > 4. If size is 8 * VEC_SIZE or less, unroll the loop. > 5. Compare 4 * VEC_SIZE at a time with the aligned first memory > @@ -302,7 +302,7 @@ L(between_9_15): > movq -8(%rsi, %rdx), %rdi > subq %rdi, %rcx > orq %rcx, %rax > - /* edx is guranteed to be a non-zero int. */ > + /* edx is guaranteed to be a non-zero int. */ > cmovnz %edx, %eax > ret > > diff --git a/sysdeps/x86_64/multiarch/memcmpeq-evex.S b/sysdeps/x86_64/multiarch/memcmpeq-evex.S > index 7ae3e3c8c9..3666f649cd 100644 > --- a/sysdeps/x86_64/multiarch/memcmpeq-evex.S > +++ b/sysdeps/x86_64/multiarch/memcmpeq-evex.S > @@ -26,7 +26,7 @@ > and loading from either s1 or s2 would cause a page cross. > 2. Use xmm vector compare when size >= 8 bytes. > 3. Optimistically compare up to first 4 * VEC_SIZE one at a > - to check for early mismatches. Only do this if its guranteed the > + to check for early mismatches. Only do this if its guaranteed the > work is not wasted. > 4. If size is 8 * VEC_SIZE or less, unroll the loop. > 5. Compare 4 * VEC_SIZE at a time with the aligned first memory > @@ -97,7 +97,7 @@ ENTRY_P2ALIGN (MEMCMPEQ, 6) > /* Fall through for [0, VEC_SIZE] as its the hottest. */ > ja L(more_1x_vec) > > - /* Create mask of bytes that are guranteed to be valid because > + /* Create mask of bytes that are guaranteed to be valid because > of length (edx). Using masked movs allows us to skip checks > for page crosses/zero size. */ > mov $-1, %VRAX > @@ -253,7 +253,7 @@ L(loop_4x_vec): > oring with VEC(4). Result is stored in VEC(4). */ > vpternlogd $0xf6, (VEC_SIZE * 2)(%rdx), %VMM(3), %VMM(4) > > - /* Seperate logic as we can only use testb for VEC_SIZE == 64. > + /* Separate logic as we can only use testb for VEC_SIZE == 64. > */ > # if VEC_SIZE == 64 > testb %dil, %dil > diff --git a/sysdeps/x86_64/multiarch/memmove-ssse3.S b/sysdeps/x86_64/multiarch/memmove-ssse3.S > index ded86bd1e5..460b0ec044 100644 > --- a/sysdeps/x86_64/multiarch/memmove-ssse3.S > +++ b/sysdeps/x86_64/multiarch/memmove-ssse3.S > @@ -231,7 +231,7 @@ L(end_loop_fwd): > movups %xmm7, 48(%r8) > ret > > - /* Extactly 64 bytes if `jmp L(end_loop_fwd)` is long encoding. > + /* Exactly 64 bytes if `jmp L(end_loop_fwd)` is long encoding. > 60 bytes otherwise. */ > # define ALIGNED_LOOP_FWD(align_by); \ > .p2align 6; \ > @@ -368,7 +368,7 @@ L(end_loop_bkwd): > ret > > > - /* Extactly 64 bytes if `jmp L(end_loop_bkwd)` is long encoding. > + /* Exactly 64 bytes if `jmp L(end_loop_bkwd)` is long encoding. > 60 bytes otherwise. */ > # define ALIGNED_LOOP_BKWD(align_by); \ > .p2align 6; \ > diff --git a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S > index d1b92785b0..51eb622bc8 100644 > --- a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S > +++ b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S > @@ -445,7 +445,7 @@ L(more_8x_vec_check): > shrq $63, %r8 > /* Get 4k difference dst - src. */ > andl $(PAGE_SIZE - 256), %ecx > - /* If r8 is non-zero must do foward for correctness. Otherwise > + /* If r8 is non-zero must do forward for correctness. Otherwise > if ecx is non-zero there is 4k False Alaising so do backward > copy. */ > addl %r8d, %ecx > @@ -460,7 +460,7 @@ L(more_8x_vec_forward): > /* First vec was already loaded into VEC(0). */ > VMOVU -VEC_SIZE(%rsi, %rdx), %VMM(5) > VMOVU -(VEC_SIZE * 2)(%rsi, %rdx), %VMM(6) > - /* Save begining of dst. */ > + /* Save beginning of dst. */ > movq %rdi, %rcx > /* Align dst to VEC_SIZE - 1. */ > orq $(VEC_SIZE - 1), %rdi > @@ -517,7 +517,7 @@ L(more_8x_vec_backward): > /* First vec was also loaded into VEC(0). */ > VMOVU VEC_SIZE(%rsi), %VMM(5) > VMOVU (VEC_SIZE * 2)(%rsi), %VMM(6) > - /* Begining of region for 4x backward copy stored in rcx. */ > + /* Beginning of region for 4x backward copy stored in rcx. */ > leaq (VEC_SIZE * -4 + -1)(%rdi, %rdx), %rcx > VMOVU (VEC_SIZE * 3)(%rsi), %VMM(7) > VMOVU -VEC_SIZE(%rsi, %rdx), %VMM(8) > @@ -611,7 +611,7 @@ L(movsb): > movq %rdi, %r8 > # endif > /* If above __x86_rep_movsb_stop_threshold most likely is > - candidate for NT moves aswell. */ > + candidate for NT moves as well. */ > cmp __x86_rep_movsb_stop_threshold(%rip), %RDX_LP > jae L(large_memcpy_2x_check) > # if AVOID_SHORT_DISTANCE_REP_MOVSB || ALIGN_MOVSB > diff --git a/sysdeps/x86_64/multiarch/memrchr-avx2.S b/sysdeps/x86_64/multiarch/memrchr-avx2.S > index 15c83f6a2b..409706fd8e 100644 > --- a/sysdeps/x86_64/multiarch/memrchr-avx2.S > +++ b/sysdeps/x86_64/multiarch/memrchr-avx2.S > @@ -65,7 +65,7 @@ ENTRY_P2ALIGN(MEMRCHR, 6) > > L(ret_vec_x0_test): > /* If ecx is zero (no matches) lzcnt will set it 32 (VEC_SIZE) which > - will gurantee edx (len) is less than it. */ > + will guarantee edx (len) is less than it. */ > lzcntl %ecx, %ecx > > /* Hoist vzeroupper (not great for RTM) to save code size. This allows > @@ -233,7 +233,7 @@ L(more_4x_vec): > jnz L(ret_vec_x3) > > /* Check if near end before re-aligning (otherwise might do an > - unnecissary loop iteration). */ > + unnecessary loop iteration). */ > addq $-(VEC_SIZE * 4), %rax > cmpq $(VEC_SIZE * 4), %rdx > jbe L(last_4x_vec) > diff --git a/sysdeps/x86_64/multiarch/memrchr-evex.S b/sysdeps/x86_64/multiarch/memrchr-evex.S > index 3d3ef062e2..f7a11783c3 100644 > --- a/sysdeps/x86_64/multiarch/memrchr-evex.S > +++ b/sysdeps/x86_64/multiarch/memrchr-evex.S > @@ -119,7 +119,7 @@ L(last_2x_vec): > # endif > jle L(zero_2) > > - /* We adjusted rax (length) for VEC_SIZE == 64 so need seperate > + /* We adjusted rax (length) for VEC_SIZE == 64 so need separate > offsets. */ > # if VEC_SIZE == 64 > vpcmpeqb (VEC_SIZE * -1)(%rdi, %rax), %VMATCH, %k0 > @@ -354,7 +354,7 @@ L(loop_4x_vec): > jnz L(first_vec_x1_end) > KMOV %k2, %VRCX > > - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > returning last 2x VEC. For VEC_SIZE == 64 we test each VEC > individually, for VEC_SIZE == 32 we combine them in a single > 64-bit GPR. */ > diff --git a/sysdeps/x86_64/multiarch/memrchr-sse2.S b/sysdeps/x86_64/multiarch/memrchr-sse2.S > index 8fdad16346..0ac707bc14 100644 > --- a/sysdeps/x86_64/multiarch/memrchr-sse2.S > +++ b/sysdeps/x86_64/multiarch/memrchr-sse2.S > @@ -50,7 +50,7 @@ ENTRY_P2ALIGN(MEMRCHR, 6) > jz L(page_cross) > > /* NB: This load happens regardless of whether rdx (len) is zero. Since > - it doesn't cross a page and the standard gurantees any pointer have > + it doesn't cross a page and the standard guarantees any pointer have > at least one-valid byte this load must be safe. For the entire > history of the x86 memrchr implementation this has been possible so > no code "should" be relying on a zero-length check before this load. > diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S > index f37be6218a..3d9ad49cb9 100644 > --- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S > +++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S > @@ -199,7 +199,7 @@ L(less_vec_from_wmemset): > MEMSET_VDUP_TO_VEC0_AND_SET_RETURN as ptr from here on out. */ > andl $(PAGE_SIZE - 1), %edi > /* Check if VEC_SIZE store cross page. Mask stores suffer > - serious performance degradation when it has to fault supress. > + serious performance degradation when it has to fault suppress. > */ > cmpl $(PAGE_SIZE - VEC_SIZE), %edi > /* This is generally considered a cold target. */ > diff --git a/sysdeps/x86_64/multiarch/rawmemchr-evex.S b/sysdeps/x86_64/multiarch/rawmemchr-evex.S > index 52e6b186c8..0175a5e98c 100644 > --- a/sysdeps/x86_64/multiarch/rawmemchr-evex.S > +++ b/sysdeps/x86_64/multiarch/rawmemchr-evex.S > @@ -187,13 +187,13 @@ L(loop_4x_vec): > ymm0-15 is used at all is because there is no EVEX encoding > vpcmpeq and with vpcmpeq this loop can be performed more > efficiently. The non-vzeroupper version is safe for RTM > - while the vzeroupper version should be prefered if RTM are > + while the vzeroupper version should be preferred if RTM are > not supported. Which loop version we use is determined by > USE_TERN_IN_LOOP. */ > > # if USE_TERN_IN_LOOP > /* Since vptern can only take 3x vectors fastest to do 1 vec > - seperately with EVEX vpcmp. */ > + separately with EVEX vpcmp. */ > VPCMPEQ (VEC_SIZE * 4)(%rdi), %VMATCH, %k1 > /* Compare 3x with vpcmpeq and or them all together with vptern. > */ > @@ -256,7 +256,7 @@ L(loop_4x_vec): > (only if used VEX encoded loop). */ > COND_VZEROUPPER > > - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > returning last 2x VEC. For VEC_SIZE == 64 we test each VEC > individually, for VEC_SIZE == 32 we combine them in a single > 64-bit GPR. */ > diff --git a/sysdeps/x86_64/multiarch/strcat-sse2.S b/sysdeps/x86_64/multiarch/strcat-sse2.S > index e35790c5f9..459bd8e8aa 100644 > --- a/sysdeps/x86_64/multiarch/strcat-sse2.S > +++ b/sysdeps/x86_64/multiarch/strcat-sse2.S > @@ -163,7 +163,7 @@ ENTRY (STRCAT) > decl %ecx > jnz 21b > > - /* Now the sources is aligned. Unfortunatly we cannot force > + /* Now the sources is aligned. Unfortunately we cannot force > to have both source and destination aligned, so ignore the > alignment of the destination. */ > .p2align 4 > diff --git a/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S b/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S > index 4633aa9921..0564f11ea1 100644 > --- a/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S > +++ b/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S > @@ -1,4 +1,4 @@ > -/* strlen used for begining of str{n}cat using AVX2. > +/* strlen used for beginning of str{n}cat using AVX2. > Copyright (C) 2011-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S b/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S > index 9ce667dced..37b773dce6 100644 > --- a/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S > +++ b/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S > @@ -1,4 +1,4 @@ > -/* strlen used for begining of str{n}cat using EVEX 256/512. > +/* strlen used for beginning of str{n}cat using EVEX 256/512. > Copyright (C) 2011-2023 Free Software Foundation, Inc. > This file is part of the GNU C Library. > > diff --git a/sysdeps/x86_64/multiarch/strchr-evex.S b/sysdeps/x86_64/multiarch/strchr-evex.S > index 3efa1b3194..f5236cf9a3 100644 > --- a/sysdeps/x86_64/multiarch/strchr-evex.S > +++ b/sysdeps/x86_64/multiarch/strchr-evex.S > @@ -160,7 +160,7 @@ L(last_vec_x2): > # endif > L(first_vec_x1): > /* Use bsf here to save 1-byte keeping keeping the block in 1x > - fetch block. eax guranteed non-zero. */ > + fetch block. eax guaranteed non-zero. */ > bsf %VRCX, %VRCX > # ifndef USE_AS_STRCHRNUL > /* Found CHAR or the null byte. */ > @@ -294,7 +294,7 @@ L(loop_4x_vec): > > /* Two methods for loop depending on VEC_SIZE. This is because > with zmm registers VPMINU can only run on p0 (as opposed to > - p0/p1 for ymm) so it is less prefered. */ > + p0/p1 for ymm) so it is less preferred. */ > # if VEC_SIZE == 32 > /* For VEC_2 and VEC_3 use xor to set the CHARs matching esi to > zero. */ > @@ -340,7 +340,7 @@ L(loop_4x_vec): > esi, the corresponding bit in %k3 is zero so the > VPMINU_MASKZ will have a zero in the result). NB: This make > the VPMINU 3c latency. The only way to avoid it is to > - createa a 12c dependency chain on all the `VPCMP $4, ...` > + create a 12c dependency chain on all the `VPCMP $4, ...` > which has higher total latency. */ > VPMINU %VMM(2), %VMM(4), %VMM(4){%k3}{z} > # endif > @@ -366,7 +366,7 @@ L(loop_4x_vec): > # endif > > > - /* COND_MASK integates the esi matches for VEC_SIZE == 64. For > + /* COND_MASK integrates the esi matches for VEC_SIZE == 64. For > VEC_SIZE == 32 they are already integrated. */ > VPTEST %VMM(2), %VMM(2), %k0 COND_MASK(k2) > KMOV %k0, %VRCX > @@ -403,7 +403,7 @@ L(zero_end): > # endif > > > - /* Seperate return label for last VEC1 because for VEC_SIZE == > + /* Separate return label for last VEC1 because for VEC_SIZE == > 32 we can reuse return code in L(page_cross) but VEC_SIZE == > 64 has mismatched registers. */ > # if VEC_SIZE == 64 > @@ -480,7 +480,7 @@ L(cross_page_boundary_real): > */ > xorl $((1 << CHAR_PER_VEC)- 1), %eax > # endif > - /* Use arithmatic shift so that leading 1s are filled in. */ > + /* Use arithmetic shift so that leading 1s are filled in. */ > sarx %VGPR(SHIFT_REG), %VRAX, %VRAX > /* If eax is all ones then no matches for esi or NULL. */ > > diff --git a/sysdeps/x86_64/multiarch/strchr-sse2.S b/sysdeps/x86_64/multiarch/strchr-sse2.S > index 6036016fc7..192cd136b6 100644 > --- a/sysdeps/x86_64/multiarch/strchr-sse2.S > +++ b/sysdeps/x86_64/multiarch/strchr-sse2.S > @@ -86,7 +86,7 @@ L(next_48_bytes): > jne L(return) > L(loop_start): > /* We use this alignment to force loop be aligned to 8 but not > - 16 bytes. This gives better sheduling on AMD processors. */ > + 16 bytes. This gives better scheduling on AMD processors. */ > .p2align 4 > pxor %xmm6, %xmm6 > andq $-64, %rdi > diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S > index 07f8ec54c6..8804338d75 100644 > --- a/sysdeps/x86_64/multiarch/strcmp-avx2.S > +++ b/sysdeps/x86_64/multiarch/strcmp-avx2.S > @@ -194,7 +194,7 @@ ENTRY (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip), %rax > mov %fs:(%rax), %LOCALE_REG_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END (STRCASECMP) > /* FALLTHROUGH to strcasecmp/strncasecmp_l. */ > @@ -501,7 +501,7 @@ L(more_3x_vec): > L(prepare_loop): > > # ifdef USE_AS_STRNCMP > - /* Store N + (VEC_SIZE * 4) and place check at the begining of > + /* Store N + (VEC_SIZE * 4) and place check at the beginning of > the loop. */ > leaq (VEC_SIZE * 2)(%rdi, %rdx), %rdx > # endif > @@ -762,7 +762,7 @@ L(page_cross_during_loop): > .p2align 4,, 4 > L(less_1x_vec_till_page_cross): > subl $-(VEC_SIZE * 4), %eax > - /* Guranteed safe to read from rdi - VEC_SIZE here. The only > + /* Guaranteed safe to read from rdi - VEC_SIZE here. The only > concerning case is first iteration if incoming s1 was near start > of a page and s2 near end. If s1 was near the start of the page > we already aligned up to nearest VEC_SIZE * 4 so gurnateed safe > @@ -948,7 +948,7 @@ L(ret9): > L(page_cross): > # ifndef USE_AS_STRNCMP > /* If both are VEC aligned we don't need any special logic here. > - Only valid for strcmp where stop condition is guranteed to be > + Only valid for strcmp where stop condition is guaranteed to be > reachable by just reading memory. */ > testl $((VEC_SIZE - 1) << 20), %eax > jz L(no_page_cross) > @@ -984,7 +984,7 @@ L(page_cross): > subl $(VEC_SIZE * 3), %eax > jg L(less_1x_vec_till_page) > > - /* If more than 1x VEC till page cross, loop throuh safely > + /* If more than 1x VEC till page cross, loop through safely > loadable memory until within 1x VEC of page cross. */ > > .p2align 4,, 10 > @@ -1007,9 +1007,9 @@ L(page_cross_loop): > jl L(page_cross_loop) > > subl %eax, %OFFSET_REG > - /* OFFSET_REG has distance to page cross - VEC_SIZE. Guranteed > + /* OFFSET_REG has distance to page cross - VEC_SIZE. Guaranteed > to not cross page so is safe to load. Since we have already > - loaded at least 1 VEC from rsi it is also guranteed to be > + loaded at least 1 VEC from rsi it is also guaranteed to be > safe. */ > > VMOVU (%rdi, %OFFSET_REG64), %ymm0 > diff --git a/sysdeps/x86_64/multiarch/strcmp-evex.S b/sysdeps/x86_64/multiarch/strcmp-evex.S > index a8bd5cd786..ae39cdf217 100644 > --- a/sysdeps/x86_64/multiarch/strcmp-evex.S > +++ b/sysdeps/x86_64/multiarch/strcmp-evex.S > @@ -217,7 +217,7 @@ ENTRY (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip), %rax > mov %fs:(%rax), %LOCALE_REG_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END (STRCASECMP) > /* FALLTHROUGH to strcasecmp/strncasecmp_l. */ > @@ -455,7 +455,7 @@ L(return_vec_3): > # endif > > /* If CHAR_PER_VEC == 64 we can't combine matches from the last > - 2x VEC so need seperate return label. */ > + 2x VEC so need separate return label. */ > L(return_vec_2): > # if (CHAR_PER_VEC <= 16) || !(defined USE_AS_STRNCMP) > bsf %VRCX, %VRCX > @@ -567,7 +567,7 @@ L(prepare_loop_no_len): > shrl $2, %ecx > leaq (CHAR_PER_VEC * 2)(%rdx, %rcx), %rdx > # else > - /* Store N + (VEC_SIZE * 4) and place check at the begining of > + /* Store N + (VEC_SIZE * 4) and place check at the beginning of > the loop. */ > leaq (VEC_SIZE * 2)(%rdi, %rdx), %rdx > L(prepare_loop_no_len): > @@ -840,7 +840,7 @@ L(ret7): > > > /* If CHAR_PER_VEC == 64 we can't combine matches from the last > - 2x VEC so need seperate return label. */ > + 2x VEC so need separate return label. */ > # if CHAR_PER_VEC == 64 > L(return_vec_2_end): > bsf %VRCX, %VRCX > @@ -906,7 +906,7 @@ L(page_cross_during_loop): > .p2align 4,, 4 > L(less_1x_vec_till_page_cross): > subl $-(VEC_SIZE * 4), %eax > - /* Guranteed safe to read from rdi - VEC_SIZE here. The only > + /* Guaranteed safe to read from rdi - VEC_SIZE here. The only > concerning case is first iteration if incoming s1 was near start > of a page and s2 near end. If s1 was near the start of the page > we already aligned up to nearest VEC_SIZE * 4 so gurnateed safe > @@ -997,7 +997,7 @@ L(return_page_cross_end_check): > and %VR10, %VRCX > /* Need to use tzcnt here as VRCX may be zero. If VRCX is zero > tzcnt(VRCX) will be CHAR_PER and remaining length (edx) is > - guranteed to be <= CHAR_PER_VEC so we will only use the return > + guaranteed to be <= CHAR_PER_VEC so we will only use the return > idx if VRCX was non-zero. */ > tzcnt %VRCX, %VRCX > leal -VEC_SIZE(%rax, %rcx, SIZE_OF_CHAR), %ecx > @@ -1147,7 +1147,7 @@ L(ret9): > L(page_cross): > # ifndef USE_AS_STRNCMP > /* If both are VEC aligned we don't need any special logic here. > - Only valid for strcmp where stop condition is guranteed to > + Only valid for strcmp where stop condition is guaranteed to > be reachable by just reading memory. */ > testl $((VEC_SIZE - 1) << 20), %eax > jz L(no_page_cross) > @@ -1185,7 +1185,7 @@ L(page_cross): > jg L(less_1x_vec_till_page) > > > - /* If more than 1x VEC till page cross, loop throuh safely > + /* If more than 1x VEC till page cross, loop through safely > loadable memory until within 1x VEC of page cross. */ > .p2align 4,, 8 > L(page_cross_loop): > @@ -1209,9 +1209,9 @@ L(page_cross_loop): > > > subl %eax, %OFFSET_REG > - /* OFFSET_REG has distance to page cross - VEC_SIZE. Guranteed > + /* OFFSET_REG has distance to page cross - VEC_SIZE. Guaranteed > to not cross page so is safe to load. Since we have already > - loaded at least 1 VEC from rsi it is also guranteed to be > + loaded at least 1 VEC from rsi it is also guaranteed to be > safe. */ > VMOVU (%rdi, %OFFSET_REG64, SIZE_OF_CHAR), %VMM(0) > VPTESTM %VMM(0), %VMM(0), %k2 > diff --git a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S > index 2cf3c6f16d..516fe7a543 100644 > --- a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S > +++ b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S > @@ -20,7 +20,7 @@ > > /* Continue building as ISA level 2. We use this as ISA V2 default > because strcmp-sse42 uses pcmpstri (slow on some SSE4.2 > - processors) and this implementation is potenially faster than > + processors) and this implementation is potentially faster than > strcmp-sse42 (aside from the slower page cross case). */ > #if ISA_SHOULD_BUILD (2) > > diff --git a/sysdeps/x86_64/multiarch/strcmp-sse2.S b/sysdeps/x86_64/multiarch/strcmp-sse2.S > index 4a96f2dfb0..562c0210d3 100644 > --- a/sysdeps/x86_64/multiarch/strcmp-sse2.S > +++ b/sysdeps/x86_64/multiarch/strcmp-sse2.S > @@ -75,7 +75,7 @@ ENTRY2 (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip),%rax > mov %fs:(%rax),%RDX_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END2 (STRCASECMP) > /* FALLTHROUGH to strcasecmp_l. */ > @@ -89,7 +89,7 @@ ENTRY2 (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip),%rax > mov %fs:(%rax),%RCX_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END2 (STRCASECMP) > /* FALLTHROUGH to strncasecmp_l. */ > @@ -186,7 +186,7 @@ ENTRY (STRCMP) > jnz LABEL(less16bytes) /* If not, find different value or null char */ > # if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L > sub $16, %r11 > - jbe LABEL(strcmp_exitz) /* finish comparision */ > + jbe LABEL(strcmp_exitz) /* finish comparison */ > # endif > add $16, %rsi /* prepare to search next 16 bytes */ > add $16, %rdi /* prepare to search next 16 bytes */ > @@ -400,7 +400,7 @@ LABEL(nibble_ashr_1): > # endif > > pxor %xmm0, %xmm0 > - sub $0x1000, %r10 /* substract 4K from %r10 */ > + sub $0x1000, %r10 /* subtract 4K from %r10 */ > jmp LABEL(gobble_ashr_1) > > /* > diff --git a/sysdeps/x86_64/multiarch/strcmp-sse4_2.S b/sysdeps/x86_64/multiarch/strcmp-sse4_2.S > index f93c34465e..cbb22884eb 100644 > --- a/sysdeps/x86_64/multiarch/strcmp-sse4_2.S > +++ b/sysdeps/x86_64/multiarch/strcmp-sse4_2.S > @@ -84,7 +84,7 @@ ENTRY (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip),%rax > mov %fs:(%rax),%RDX_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END (STRCASECMP) > /* FALLTHROUGH to strcasecmp_l. */ > @@ -94,7 +94,7 @@ ENTRY (STRCASECMP) > movq __libc_tsd_LOCALE@gottpoff(%rip),%rax > mov %fs:(%rax),%RCX_LP > > - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ > + /* Either 1 or 5 bytes (depending if CET is enabled). */ > .p2align 4 > END (STRCASECMP) > /* FALLTHROUGH to strncasecmp_l. */ > diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S > index a2f70474d6..443c62b535 100644 > --- a/sysdeps/x86_64/multiarch/strcpy-sse2.S > +++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S > @@ -50,7 +50,7 @@ ENTRY (STRCPY) > 5: > movq $0xfefefefefefefeff,%r8 > > - /* Now the sources is aligned. Unfortunatly we cannot force > + /* Now the sources is aligned. Unfortunately we cannot force > to have both source and destination aligned, so ignore the > alignment of the destination. */ > .p2align 4 > diff --git a/sysdeps/x86_64/multiarch/strlen-avx2.S b/sysdeps/x86_64/multiarch/strlen-avx2.S > index a2cd2d8337..ef47a45cb6 100644 > --- a/sysdeps/x86_64/multiarch/strlen-avx2.S > +++ b/sysdeps/x86_64/multiarch/strlen-avx2.S > @@ -224,7 +224,7 @@ L(cross_page_continue): > since data is only aligned to VEC_SIZE. */ > # ifdef USE_AS_STRNLEN > /* + 1 because rdi is aligned to VEC_SIZE - 1. + CHAR_SIZE > - because it simplies the logic in last_4x_vec_or_less. */ > + because it simplifies the logic in last_4x_vec_or_less. */ > leaq (VEC_SIZE * 4 + CHAR_SIZE + 1)(%rdi), %rcx > subq %rdx, %rcx > # ifdef USE_AS_WCSLEN > diff --git a/sysdeps/x86_64/multiarch/strncat-evex.S b/sysdeps/x86_64/multiarch/strncat-evex.S > index fedad6ccdb..7d170891b3 100644 > --- a/sysdeps/x86_64/multiarch/strncat-evex.S > +++ b/sysdeps/x86_64/multiarch/strncat-evex.S > @@ -236,7 +236,7 @@ L(more_1x_vec): > VMOVU %VMM(0), (%rdi) > > /* We are going to align rsi here so will need to be able to re- > - adjust rdi/rdx afterwords. NB: We filtered out huge lengths > + adjust rdi/rdx afterwards. NB: We filtered out huge lengths > so rsi + rdx * CHAR_SIZE cannot overflow. */ > > leaq (VEC_SIZE * -1)(%rsi, %rdx, CHAR_SIZE), %rdx > diff --git a/sysdeps/x86_64/multiarch/strncpy-avx2.S b/sysdeps/x86_64/multiarch/strncpy-avx2.S > index 815b33db24..3a54be1604 100644 > --- a/sysdeps/x86_64/multiarch/strncpy-avx2.S > +++ b/sysdeps/x86_64/multiarch/strncpy-avx2.S > @@ -99,7 +99,7 @@ L(page_cross_continue): > /* `jb` because length rdx is now length - CHAR_SIZE. */ > jbe L(less_1x_vec) > > - /* This may overset but thats fine because we still need to zero > + /* This may overset but that's fine because we still need to zero > fill. */ > VMOVU %VMM(0), (%rdi) > > diff --git a/sysdeps/x86_64/multiarch/strncpy-evex.S b/sysdeps/x86_64/multiarch/strncpy-evex.S > index 44715f2f7c..2a3b6d1dce 100644 > --- a/sysdeps/x86_64/multiarch/strncpy-evex.S > +++ b/sysdeps/x86_64/multiarch/strncpy-evex.S > @@ -130,7 +130,7 @@ L(page_cross_continue): > jae L(more_1x_vec) > > /* If there where multiple zero-CHAR matches in the first VEC, > - VRCX will be overset but thats fine since any oversets where > + VRCX will be overset but that's fine since any oversets where > at zero-positions anyways. */ > > # ifdef USE_AS_STPCPY > @@ -177,7 +177,7 @@ L(more_1x_vec): > # endif > > > - /* This may overset but thats fine because we still need to zero > + /* This may overset but that's fine because we still need to zero > fill. */ > VMOVU %VMM(0), (%rdi) > > @@ -189,7 +189,7 @@ L(more_1x_vec): > > > /* We are going to align rsi here so will need to be able to re- > - adjust rdi/rdx afterwords. NB: We filtered out huge lengths > + adjust rdi/rdx afterwards. NB: We filtered out huge lengths > so rsi + rdx * CHAR_SIZE cannot overflow. */ > leaq (VEC_SIZE * -1)(%rsi, %rdx, CHAR_SIZE), %rdx > subq %rsi, %rdi > @@ -221,7 +221,7 @@ L(last_2x_vec): > cmpl $(CHAR_PER_VEC), %edx > jb L(ret_vec_x1_len) > > - /* Seperate logic for CHAR_PER_VEC == 64 because we already did > + /* Separate logic for CHAR_PER_VEC == 64 because we already did > `tzcnt` on VRCX. */ > # if CHAR_PER_VEC == 64 > /* cl == CHAR_PER_VEC iff it was zero before the `tzcnt`. */ > @@ -296,7 +296,7 @@ L(ret_vec_x1_no_bsf): > > .p2align 4,, 8 > L(last_4x_vec): > - /* Seperate logic for CHAR_PER_VEC == 64 because we can do `andl > + /* Separate logic for CHAR_PER_VEC == 64 because we can do `andl > $(CHAR_PER_VEC * 4 - 1), %edx` with less code size just > using `movzbl`. */ > # if CHAR_PER_VEC == 64 > @@ -677,7 +677,7 @@ L(copy_16_31): > vmovdqu %xmm1, -(16 - CHAR_SIZE)(%rdi, %rdx, CHAR_SIZE) > cmpl %ecx, %edx > > - /* Seperate logic depending on VEC_SIZE. If VEC_SIZE == 64 then > + /* Separate logic depending on VEC_SIZE. If VEC_SIZE == 64 then > we have a larger copy block for 32-63 so this is just falls > through to zfill 16-31. If VEC_SIZE == 32 then we check for > full zfill of less 1x VEC. */ > diff --git a/sysdeps/x86_64/multiarch/strnlen-evex.S b/sysdeps/x86_64/multiarch/strnlen-evex.S > index 28caa86d06..ae082d3241 100644 > --- a/sysdeps/x86_64/multiarch/strnlen-evex.S > +++ b/sysdeps/x86_64/multiarch/strnlen-evex.S > @@ -336,7 +336,7 @@ L(loop_last_4x_vec): > > VPTESTN %VMM(3), %VMM(3), %k0 > > - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for > returning last 2x VEC. For VEC_SIZE == 64 we test each VEC > individually, for VEC_SIZE == 32 we combine them in a single > 64-bit GPR. */ > diff --git a/sysdeps/x86_64/multiarch/strrchr-avx2.S b/sysdeps/x86_64/multiarch/strrchr-avx2.S > index 9db2d9c741..ebbd84b2d1 100644 > --- a/sysdeps/x86_64/multiarch/strrchr-avx2.S > +++ b/sysdeps/x86_64/multiarch/strrchr-avx2.S > @@ -176,7 +176,7 @@ L(aligned_more): > .p2align 4 > L(first_aligned_loop): > /* Do 2x VEC at a time. Any more and the cost of finding the > - match outweights loop benefit. */ > + match outweighs loop benefit. */ > vmovdqa (VEC_SIZE * 0)(%rdi), %ymm4 > vmovdqa (VEC_SIZE * 1)(%rdi), %ymm5 > > @@ -324,7 +324,7 @@ L(cross_page): > vmovdqu (%rsi), %ymm1 > VPCMPEQ %ymm1, %ymm0, %ymm6 > vpmovmskb %ymm6, %ecx > - /* Shift out zero CHAR matches that are before the begining of > + /* Shift out zero CHAR matches that are before the beginning of > src (rdi). */ > shrxl %edi, %ecx, %ecx > testl %ecx, %ecx > @@ -332,7 +332,7 @@ L(cross_page): > VPCMPEQ %ymm1, %ymm7, %ymm1 > vpmovmskb %ymm1, %eax > > - /* Shift out search CHAR matches that are before the begining of > + /* Shift out search CHAR matches that are before the beginning of > src (rdi). */ > shrxl %edi, %eax, %eax > blsmskl %ecx, %ecx > diff --git a/sysdeps/x86_64/multiarch/strrchr-evex-base.S b/sysdeps/x86_64/multiarch/strrchr-evex-base.S > index 77830741c2..58b2853ab6 100644 > --- a/sysdeps/x86_64/multiarch/strrchr-evex-base.S > +++ b/sysdeps/x86_64/multiarch/strrchr-evex-base.S > @@ -152,7 +152,7 @@ L(loop): > jnz L(loop_vec_x2_match) > > KMOV %k1, %VRDX > - /* Match is in first vector, rdi offset need to be substracted > + /* Match is in first vector, rdi offset need to be subtracted > by VEC_SIZE. */ > sub $VEC_SIZE, %r8 > > @@ -216,7 +216,7 @@ L(check_last_match): > ret > > /* No match recorded in r8. Check the second saved vector > - in begining. */ > + in beginning. */ > L(vector_x2_ret): > VPCMPEQ %VMM(2), %VMM(0), %k2 > KMOV %k2, %VRAX > diff --git a/sysdeps/x86_64/multiarch/strrchr-evex.S b/sysdeps/x86_64/multiarch/strrchr-evex.S > index 0d1bf07685..85e3b0119f 100644 > --- a/sysdeps/x86_64/multiarch/strrchr-evex.S > +++ b/sysdeps/x86_64/multiarch/strrchr-evex.S > @@ -139,7 +139,7 @@ L(first_vec_x1_or_x2): > KORTEST %k2, %k3 > jz L(first_vec_x0_test) > > - /* Guranteed that VEC(2) and VEC(3) are within range so merge > + /* Guaranteed that VEC(2) and VEC(3) are within range so merge > the two bitmasks then get last result. */ > kunpck_2x %k2, %k3, %k3 > kmov_2x %k3, %maskm_2x > @@ -192,7 +192,7 @@ L(first_vec_x2): > > .p2align 4,, 12 > L(aligned_more): > - /* Need to keep original pointer incase VEC(1) has last match. > + /* Need to keep original pointer in case VEC(1) has last match. > */ > movq %rdi, %rsi > andq $-VEC_SIZE, %rdi > @@ -222,7 +222,7 @@ L(aligned_more): > .p2align 4,, 10 > L(first_aligned_loop): > /* Preserve VEC(1), VEC(2), VEC(3), and VEC(4) until we can > - gurantee they don't store a match. */ > + guarantee they don't store a match. */ > VMOVA (VEC_SIZE * 4)(%rdi), %VMM(5) > VMOVA (VEC_SIZE * 5)(%rdi), %VMM(6) > > @@ -285,7 +285,7 @@ L(second_aligned_loop_prep): > L(second_aligned_loop_set_furthest_match): > movq %rdi, %rsi > /* Ideally we would safe k2/k3 but `kmov/kunpck` take uops on > - port0 and have noticable overhead in the loop. */ > + port0 and have noticeable overhead in the loop. */ > VMOVA %VMM(5), %VMM(7) > VMOVA %VMM(6), %VMM(8) > .p2align 4 > @@ -351,7 +351,7 @@ L(cross_page_boundary): > /* eax contains all the page offset bits of src (rdi). `xor rdi, > rax` sets pointer will all page offset bits cleared so > offset of (PAGE_SIZE - VEC_SIZE) will get last aligned VEC > - before page cross (guranteed to be safe to read). Doing this > + before page cross (guaranteed to be safe to read). Doing this > as opposed to `movq %rdi, %rax; andq $-VEC_SIZE, %rax` saves > a bit of code size. */ > xorq %rdi, %rax > @@ -359,7 +359,7 @@ L(cross_page_boundary): > VPTESTN %VMM(1), %VMM(1), %k0 > KMOV %k0, %VRCX > > - /* Shift out zero CHAR matches that are before the begining of > + /* Shift out zero CHAR matches that are before the beginning of > src (rdi). */ > # ifdef USE_AS_WCSRCHR > movl %edi, %esi > @@ -374,7 +374,7 @@ L(cross_page_boundary): > /* Found zero CHAR so need to test for search CHAR. */ > VPCMP $0, %VMATCH, %VMM(1), %k1 > KMOV %k1, %VRAX > - /* Shift out search CHAR matches that are before the begining of > + /* Shift out search CHAR matches that are before the beginning of > src (rdi). */ > shrx %VGPR(SHIFT_REG), %VRAX, %VRAX > > diff --git a/sysdeps/x86_64/multiarch/strrchr-sse2.S b/sysdeps/x86_64/multiarch/strrchr-sse2.S > index 9bc4fc3dfe..c9749eea09 100644 > --- a/sysdeps/x86_64/multiarch/strrchr-sse2.S > +++ b/sysdeps/x86_64/multiarch/strrchr-sse2.S > @@ -166,7 +166,7 @@ L(first_loop): > /* Do 2x VEC at a time. */ > movaps (VEC_SIZE * 2)(%rdi), %xmm4 > movaps (VEC_SIZE * 3)(%rdi), %xmm5 > - /* Since SSE2 no pminud so wcsrchr needs seperate logic for > + /* Since SSE2 no pminud so wcsrchr needs separate logic for > detecting zero. Note if this is found to be a bottleneck it > may be worth adding an SSE4.1 wcsrchr implementation. */ > # ifdef USE_AS_WCSRCHR > @@ -238,7 +238,7 @@ L(new_match): > > /* We can't reuse either of the old comparisons as since we mask > of zeros after first zero (instead of using the full > - comparison) we can't gurantee no interference between match > + comparison) we can't guarantee no interference between match > after end of string and valid match. */ > pmovmskb %xmm4, %eax > pmovmskb %xmm7, %edx > @@ -268,7 +268,7 @@ L(second_loop_match): > L(second_loop): > movaps (VEC_SIZE * 2)(%rdi), %xmm4 > movaps (VEC_SIZE * 3)(%rdi), %xmm5 > - /* Since SSE2 no pminud so wcsrchr needs seperate logic for > + /* Since SSE2 no pminud so wcsrchr needs separate logic for > detecting zero. Note if this is found to be a bottleneck it > may be worth adding an SSE4.1 wcsrchr implementation. */ > # ifdef USE_AS_WCSRCHR > @@ -297,11 +297,11 @@ L(second_loop): > pmovmskb %xmm6, %eax > > addq $(VEC_SIZE * 2), %rdi > - /* Either null term or new occurence of CHAR. */ > + /* Either null term or new occurrence of CHAR. */ > addl %ecx, %eax > jz L(second_loop) > > - /* No null term so much be new occurence of CHAR. */ > + /* No null term so much be new occurrence of CHAR. */ > testl %ecx, %ecx > jz L(second_loop_match) > > @@ -331,7 +331,7 @@ L(second_loop_new_match): > > /* We can't reuse either of the old comparisons as since we mask > of zeros after first zero (instead of using the full > - comparison) we can't gurantee no interference between match > + comparison) we can't guarantee no interference between match > after end of string and valid match. */ > pmovmskb %xmm4, %eax > pmovmskb %xmm7, %edx > diff --git a/sysdeps/x86_64/multiarch/strstr-avx512.c b/sysdeps/x86_64/multiarch/strstr-avx512.c > index ba7d8f5e68..0b853930af 100644 > --- a/sysdeps/x86_64/multiarch/strstr-avx512.c > +++ b/sysdeps/x86_64/multiarch/strstr-avx512.c > @@ -140,7 +140,7 @@ __strstr_avx512 (const char *haystack, const char *ned) > = cvtmask64_u64 (_mm512_mask_testn_epi8_mask (loadmask, hay0, hay0)); > uint64_t cmpmask = nullmask ^ (nullmask - ONE_64BIT); > cmpmask = cmpmask & cvtmask64_u64 (loadmask); > - /* Search for the 2 charaters of needle */ > + /* Search for the 2 characters of needle */ > __mmask64 k0 = _mm512_cmpeq_epi8_mask (hay0, ned0); > __mmask64 k1 = _mm512_cmpeq_epi8_mask (hay0, ned1); > k1 = kshiftri_mask64 (k1, 1); > diff --git a/sysvipc/semop.c b/sysvipc/semop.c > index 48ee5ab5f6..c66e0be291 100644 > --- a/sysvipc/semop.c > +++ b/sysvipc/semop.c > @@ -18,7 +18,7 @@ > #include <sys/sem.h> > #include <errno.h> > > -/* Perform user-defined atomical operation of array of semaphores. */ > +/* Perform user-defined atomic operation of array of semaphores. */ > > int > semop (int semid, struct sembuf *sops, size_t nsops) > diff --git a/sysvipc/semtimedop.c b/sysvipc/semtimedop.c > index 6f7371c59f..b92745a2dc 100644 > --- a/sysvipc/semtimedop.c > +++ b/sysvipc/semtimedop.c > @@ -18,7 +18,7 @@ > #include <sys/sem.h> > #include <errno.h> > > -/* Perform user-defined atomical operation of array of semaphores. */ > +/* Perform user-defined atomic operation of array of semaphores. */ > > int > __semtimedop (int semid, struct sembuf *sops, size_t nsops, > diff --git a/time/asctime.c b/time/asctime.c > index d0671030c8..7e2b102d40 100644 > --- a/time/asctime.c > +++ b/time/asctime.c > @@ -41,7 +41,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen) > > /* We limit the size of the year which can be printed. Using the %d > format specifier used the addition of 1900 would overflow the > - number and a negative vaue is printed. For some architectures we > + number and a negative value is printed. For some architectures we > could in theory use %ld or an evern larger integer format but > this would mean the output needs more space. This would not be a > problem if the 'asctime_r' interface would be defined sanely and > diff --git a/time/tst-clock.c b/time/tst-clock.c > index 66f23adcba..74a583f261 100644 > --- a/time/tst-clock.c > +++ b/time/tst-clock.c > @@ -110,7 +110,7 @@ do_test (void) > /* XXX It's not yet a bug when this fails. */ > clock_test (cl); > else > - printf("CPU clock unavailble, skipping test\n"); > + printf("CPU clock unavailable, skipping test\n"); > > return result; > } > diff --git a/time/tst-difftime.c b/time/tst-difftime.c > index 7d2db59ed4..4f0572eb01 100644 > --- a/time/tst-difftime.c > +++ b/time/tst-difftime.c > @@ -30,7 +30,7 @@ test_difftime_helper (time_t t1, time_t t0, double exp_val) > static int > do_test (void) > { > - time_t t = 1383791700; /* Provide reproductible start value. */ > + time_t t = 1383791700; /* Provide reproducible start value. */ > > /* Check if difftime works with current time. */ > test_difftime_helper (t + 1800, t - 1800, 3600.0); > diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c > index 8019e7f5d8..edd655e0e9 100644 > --- a/time/tst-strptime2.c > +++ b/time/tst-strptime2.c > @@ -37,7 +37,7 @@ static bool verbose; > Sign field consisting of a '+' or '-' sign, > Hours field in two decimal digits, and > optional Minutes field in two decimal digits. Optionally, > - a ':' is used to seperate hours and minutes. > + a ':' is used to separate hours and minutes. > > This function may write test strings with minutes values outside > the valid range 00-59. These are invalid strings and useful for > diff --git a/time/tzfile.c b/time/tzfile.c > index 9e27eba4a7..a267eb652e 100644 > --- a/time/tzfile.c > +++ b/time/tzfile.c > @@ -130,7 +130,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap) > { > /* We must not allow to read an arbitrary file in a setuid > program. So we fail for any file which is not in the > - directory hierachy starting at TZDIR > + directory hierarchy starting at TZDIR > and which is not the system wide default TZDEFAULT. */ > if (__libc_enable_secure > && ((*file == '/' > diff --git a/timezone/africa b/timezone/africa > index 3f92eb4745..d985271ca0 100644 > --- a/timezone/africa > +++ b/timezone/africa > @@ -559,7 +559,7 @@ Zone Indian/Mayotte 3:00:56 - LMT 1911 Jul # Mamoutzou > # the changes occurs at midnight: > # > # saturday night may 31st at midnight (which in french is to be > -# intrepreted as the night between saturday and sunday) > +# interpreted as the night between saturday and sunday) > # sunday night the 28th at midnight > # > # Seeing that the 28th is monday, I am guessing that she intends to say > diff --git a/timezone/antarctica b/timezone/antarctica > index 8511ab207e..48053b0caa 100644 > --- a/timezone/antarctica > +++ b/timezone/antarctica > @@ -234,7 +234,7 @@ Rule NZAQ 2008 max - Apr Sun>=1 2:00s 0 S > # > # From Paul Eggert (2001-05-04): > # This seems to be hopelessly confusing, so I asked Lee Hotz about it > -# in person. He said that some Antartic locations set their local > +# in person. He said that some Antarctic locations set their local > # time so that noon is the warmest part of the day, and that this > # changes during the year and does not necessarily correspond to mean > # solar noon. So the Vostok time might have been whatever the clocks > diff --git a/timezone/asia b/timezone/asia > index de2ca39352..6bf420324f 100644 > --- a/timezone/asia > +++ b/timezone/asia > @@ -2041,7 +2041,7 @@ Rule Syria 2007 only - Mar lastFri 0:00 1:00 S > # From Jesper Norgard (2007-10-27): > # The sister center ICARDA of my work CIMMYT is confirming that Syria DST will > # not take place 1.st November at 0:00 o'clock but 1.st November at 24:00 or > -# rather Midnight between Thursday and Friday. This does make more sence than > +# rather Midnight between Thursday and Friday. This does make more sense than > # having it between Wednesday and Thursday (two workdays in Syria) since the > # weekend in Syria is not Saturday and Sunday, but Friday and Saturday. So now > # it is implemented at midnight of the last workday before weekend... > diff --git a/timezone/australasia b/timezone/australasia > index efcfec74d1..41d3e5ee5d 100644 > --- a/timezone/australasia > +++ b/timezone/australasia > @@ -1102,7 +1102,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 > # Lord Howe Island Board (controlling authority for the Island) is > # seeking the community's views on various options for summer time > # arrangements on the Island, e.g. advance clocks by 1 full hour > -# instead of only 30 minutes. Dependant on the wishes of residents > +# instead of only 30 minutes. Dependent on the wishes of residents > # the Board may approach the NSW government to change the existing > # arrangements. The starting date for summer time on the Island will > # however always coincide with the rest of NSW. > @@ -1214,7 +1214,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 > # improve productivity and reduce road accidents. But correspondents say it > # also hopes the move will boost Fiji's ability to compete with other pacific > # islands in the effort to attract tourists to witness the dawning of the new > -# millenium. > +# millennium. > > # http://www.fiji.gov.fj/press/2000_09/2000_09_13-05.shtml (2000-09-13) > # reports that Fiji has discontinued DST. > @@ -1359,7 +1359,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 > # Shanks & Pottenger say the transition was on 1968-10-01; go with Mundell. > > # From Eric Ulevik (1999-05-03): > -# Tonga's director of tourism, who is also secretary of the National Millenium > +# Tonga's director of tourism, who is also secretary of the National Millennium > # Committee, has a plan to get Tonga back in front. > # He has proposed a one-off move to tropical daylight saving for Tonga from > # October to March, which has won approval in principle from the Tongan > diff --git a/timezone/europe b/timezone/europe > index 3f39215bf6..76e2eb85f1 100644 > --- a/timezone/europe > +++ b/timezone/europe > @@ -489,7 +489,7 @@ Rule C-Eur 1944 only - Oct 2 2:00s 0 - > # > # I found what is probably a typo of 2:00 which should perhaps be 2:00s > # in the C-Eur rule from tz database version 2008d (this part was > -# corrected in version 2008d). The circumstancial evidence is simply the > +# corrected in version 2008d). The circumstantial evidence is simply the > # tz database itself, as seen below: > # > # Zone Europe/Paris 0:09:21 - LMT 1891 Mar 15 0:01 > @@ -512,7 +512,7 @@ Rule C-Eur 1944 only - Oct 2 2:00s 0 - > # It seems that Paris, Monaco, Rule France, Rule Belgium all agree on > # 2:00 standard time, e.g. 3:00 local time. However there are no > # countries that use C-Eur rules in September 1945, so the only items > -# affected are apparently these ficticious zones that translates acronyms > +# affected are apparently these fictitious zones that translates acronyms > # CET and MET: > # > # Zone CET 1:00 C-Eur CE%sT > @@ -2499,9 +2499,9 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents. > > # Ukraine > # > -# From Igor Karpov, who works for the Ukranian Ministry of Justice, > +# From Igor Karpov, who works for the Ukrainian Ministry of Justice, > # via Garrett Wollman (2003-01-27): > -# BTW, I've found the official document on this matter. It's goverment > +# BTW, I've found the official document on this matter. It's government > # regulations number 509, May 13, 1996. In my poor translation it says: > # "Time in Ukraine is set to second timezone (Kiev time). Each last Sunday > # of March at 3am the time is changing to 4am and each last Sunday of > diff --git a/timezone/southamerica b/timezone/southamerica > index 341e57ff90..15f1e06d80 100644 > --- a/timezone/southamerica > +++ b/timezone/southamerica > @@ -648,7 +648,7 @@ Zone America/La_Paz -4:32:36 - LMT 1890 > > # From Rodrigo Severo (2004-10-04): > # It's just the biannual change made necessary by the much hyped, supposedly > -# modern Brazilian eletronic voting machines which, apparently, can't deal > +# modern Brazilian electronic voting machines which, apparently, can't deal > # with a time change between the first and the second rounds of the elections. > > # From Steffen Thorsen (2007-09-20): > @@ -870,7 +870,7 @@ Rule Brazil 2007 only - Feb 25 0:00 0 - > # adopted by the same states as before. > Rule Brazil 2007 only - Oct Sun>=8 0:00 1:00 S > # From Frederico A. C. Neves (2008-09-10): > -# Acording to this decree > +# According to this decree > # <a href="http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm"> > # http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm > # </a> > diff --git a/wcsmbs/tst-btowc.c b/wcsmbs/tst-btowc.c > index 836058256a..1485076ca4 100644 > --- a/wcsmbs/tst-btowc.c > +++ b/wcsmbs/tst-btowc.c > @@ -48,7 +48,7 @@ fail_test (int c) > > if (wc != WEOF) > { > - printf ("%s: btowc('%c') succeded, returned L'\\x%x' instead of WEOF\n", > + printf ("%s: btowc('%c') succeeded, returned L'\\x%x' instead of WEOF\n", > current_locale, c, wc); > return 1; > } > diff --git a/wcsmbs/tst-mbrtowc.c b/wcsmbs/tst-mbrtowc.c > index f603ffc37a..f2386a8f50 100644 > --- a/wcsmbs/tst-mbrtowc.c > +++ b/wcsmbs/tst-mbrtowc.c > @@ -39,7 +39,7 @@ utf8_test_1 (void) > assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ > assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ > assert (wc == 42); /* no value has not been stored into &wc yet */ > - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ > + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ > assert (wc == 0x2260); /* E2 89 A0 = U+2260 (not equal) decoded correctly */ > assert (mbrtowc (&wc, "", 1, &s) == 0); /* test final byte processing */ > assert (wc == 0); /* test final byte decoding */ > @@ -88,7 +88,7 @@ utf8_test_2 (void) > memset (&s, 0, sizeof (s)); /* get s into initial state */ > assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ > assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ > - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ > + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ > assert (mbrtowc (NULL, "", 1, &s) == 0); /* valid terminator */ > assert (mbsinit (&s)); > > @@ -122,7 +122,7 @@ utf8_test_3 (void) > memset (&s, 0, sizeof (s)); /* get s into initial state */ > assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ > assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ > - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ > + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ > assert (mbrtowc (NULL, NULL, 0, &s) == 0); /* valid terminator */ > assert (mbsinit (&s)); > > -- > 2.40.1.698.g37aff9b760-goog >
On Sun, 21 May 2023, Paul Pluzhnikov via Libc-alpha wrote: > timezone/africa | 2 +- > timezone/antarctica | 2 +- > timezone/asia | 2 +- > timezone/australasia | 6 +-- > timezone/europe | 8 +-- > timezone/southamerica | 4 +- Making local changes to these files (test inputs from an old upstream version of tzdata) is questionable. In general, check against https://sourceware.org/glibc/wiki/SharedSourceFiles and https://sourceware.org/glibc/wiki/Regeneration for files that are either taken verbatim from upstream sources or are generated files.
On 5/22/23 14:24, Joseph Myers wrote: > On Sun, 21 May 2023, Paul Pluzhnikov via Libc-alpha wrote: > >> timezone/africa | 2 +- >> timezone/antarctica | 2 +- >> timezone/asia | 2 +- >> timezone/australasia | 6 +-- >> timezone/europe | 8 +-- >> timezone/southamerica | 4 +- > > Making local changes to these files (test inputs from an old upstream > version of tzdata) is questionable. In general, check against > https://sourceware.org/glibc/wiki/SharedSourceFiles and > https://sourceware.org/glibc/wiki/Regeneration for files that are either > taken verbatim from upstream sources or are generated files. For what it's worth, those spelling errors were corrected upstream some time ago. It might be simpler (for someone who knows how those test cases work) to reimport the current tzdb release than to worry about maintaining the old tzdata copy. In the meantime I'd leave those files alone.
diff --git a/INSTALL b/INSTALL index 91262cfe00..6d51475536 100644 --- a/INSTALL +++ b/INSTALL @@ -469,7 +469,7 @@ build the GNU C Library: * GNU 'make' 4.0 or newer - As of relase time, GNU 'make' 4.4 is the newest verified to work to + As of release time, GNU 'make' 4.4 is the newest verified to work to build the GNU C Library. * GCC 6.2 or newer diff --git a/Makerules b/Makerules index 31064470e5..2ccf26d320 100644 --- a/Makerules +++ b/Makerules @@ -200,7 +200,7 @@ endif ifndef subdir # If a makefile needs to do something conditional on something that # can only be figured out from headers, write a FOO.make.c input -# file that uses cpp contructs and contains @@@ LINE @@@ for each LINE +# file that uses cpp constructs and contains @@@ LINE @@@ for each LINE # to emit in the generated makefile, and use -include $(common-objpfx)FOO.make. # # We only generate these in the top-level makefile, to avoid any weirdness diff --git a/NEWS b/NEWS index a52c17c677..23051cf139 100644 --- a/NEWS +++ b/NEWS @@ -183,7 +183,7 @@ Major new features: * On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions have been added. The pidfd functionality provides access to a process - while avoiding the issue of PID reuse on tranditional Unix systems. + while avoiding the issue of PID reuse on traditional Unix systems. * On Linux, the process_madvise function has been added. It has the same functionality as madvise but alters the target process identified @@ -288,7 +288,7 @@ The following bugs are resolved with this release: inaccurate without /sys and /proc [28868] dynamic-link: Dynamic loader DFS algorithm segfaults on missing libraries - [28880] libc: Program crashes if date beyone 2038 + [28880] libc: Program crashes if date beyond 2038 [28883] libc: sysdeps/unix/sysv/linux/select.c: __select64 !__ASSUME_TIME64_SYSCALLS && !__ASSUME_PSELECT fails on Microblaze [28896] string: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non- @@ -529,7 +529,7 @@ Changes to build and runtime requirements: * The audit module interface version LAV_CURRENT is increased to enable proper bind-now support. The loader now advertises via the la_symbind flags that PLT trace is not possible. New audit modules require the - new dynamic loader supporing the latest LAV_CURRENT version. Old audit + new dynamic loader supporting the latest LAV_CURRENT version. Old audit modules are still loaded for all targets except aarch64. * The audit interface on aarch64 is extended to support both the indirect @@ -765,7 +765,7 @@ Major new features: to configure the size of the thread stack cache. * The function _Fork has been added as an async-signal-safe fork replacement - since Austin Group issue 62 droped the async-signal-safe requirement for + since Austin Group issue 62 dropped the async-signal-safe requirement for fork (and it will be included in the future POSIX standard). The new _Fork function does not run any atfork function neither resets any internal state or lock (such as the malloc one), and only sets up a minimal state required @@ -1122,7 +1122,7 @@ Changes to build and runtime requirements: * On Linux, the system administrator needs to configure /dev/pts with the intended access modes for pseudo-terminals. glibc no longer - attemps to adjust permissions of terminal devices. The previous glibc + attempts to adjust permissions of terminal devices. The previous glibc defaults ("tty" group, user read/write and group write) already corresponded to what most systems used, so that grantpt did not perform any adjustments. @@ -1183,7 +1183,7 @@ The following bugs are resolved with this release: [26100] libc: Race in syslog(3) with regards to tag printing. [26124] libc: Export <cpu-features.h> [26130] nscd: Inconsistent nscd cache during pruning - [26203] libc: GLRO(dl_x86_cpu_features) may not be intialized + [26203] libc: GLRO(dl_x86_cpu_features) may not be initialized [26224] locale: iconv hangs when converting some invalid inputs from several IBM character sets (CVE-2020-27618) [26341] libc: realpath cyclically call __alloca(path_max) to consume @@ -1472,7 +1472,7 @@ The following bugs are resolved with this release: [20338] libc: Parsing of /etc/gshadow can return bad pointers causing segfaults in applications [20543] libc: Please move from .gnu.linkonce to comdat - [22489] network: gcc warns about implicit convertion in + [22489] network: gcc warns about implicit conversion in ICMP6_FILTER_SETPASS with -Wsign-conversion [22525] localedata: or_IN LC_COLLATE does not use copy "iso14651_t1" [23294] math: Complex _FloatN functions are redirected to the wrong @@ -3513,7 +3513,7 @@ The following bugs are resolved with this release: frame-pointer on i386 [21049] libc: segfault in longjmp_chk() due to clobbered processor register - [21075] libc: unused assigment to %g4 in sparc/sparc{64,32}/clone.S + [21075] libc: unused assignment to %g4 in sparc/sparc{64,32}/clone.S [21088] libc: Build fails with --enable-static-nss [21094] math: cosf(1.57079697) has 3 ulp error on targets where the generic c code is used @@ -3920,7 +3920,7 @@ The following bugs are resolved with this release: [17730] malloc: thread-local storage is sometimes improperly free()'d after being __libc_memalign()'d [18241] stdio: failed fseek on memstream does not set errno and can fail - when it shouldnt + when it shouldn't [18243] nptl: sem_wait, sem_timedwait are cancellation points shm_open is not [18463] nptl: pthread_cond_broadcast issue when surrounded by @@ -4384,7 +4384,7 @@ Version 2.23 glibc 2.10 via --enable-experimental-malloc (2009), could result in the unnecessary serialization of memory allocation requests across threads. The defect is now corrected. Users should see a substantial increase in - the concurent throughput of allocation requests for applications which + the concurrent throughput of allocation requests for applications which trigger this bug. Affected applications typically create and destroy threads frequently. (Bug 19048 was reported and analyzed by Ericsson.) @@ -4462,7 +4462,7 @@ The following bugs are resolved with this release: [2898] libc: [improve] warning: the use of `mktemp' is dangerous, better use `mkstemp' [4404] localedata: German translation of "Alarm clock" is misleading - [6799] math: nextafter() and nexttoward() doen't set errno on + [6799] math: nextafter() and nexttoward() doesn't set errno on overflow/underflow errors [6803] math: scalb(), scalbln(), scalbn() do not set errno on overflow/underflow @@ -4641,7 +4641,7 @@ The following bugs are resolved with this release: [19094] math: lrint, llrint missing exceptions close to overflow threshold [19095] math: dbl-64 lrint incorrect for 64-bit long [19122] dynamic-link: Unnecessary PLT relocations in librtld.os - [19124] dynamic-link: ld.so failed to build with older assmebler + [19124] dynamic-link: ld.so failed to build with older assembler [19125] math: [powerpc32] llroundf, llround incorrect exceptions [19129] dynamic-link: [arm] Concurrent lazy TLSDESC resolution can crash [19134] math: [powerpc32] lround, lroundf spurious exceptions @@ -5809,7 +5809,7 @@ Version 2.8 * ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX). Implemented by Ulrich Drepper. -* Faster sqrt and sqrtf implemention for some PPC variants. +* Faster sqrt and sqrtf implementation for some PPC variants. Implemented by Steven Munroe. Version 2.7 @@ -6090,7 +6090,7 @@ Version 2.3.2 * The `btowc' function should work at least twice as fast due to specialized callbacks in the iconv modules. Implemented by Bruno Haible. -* With approriate thread add-ons cancelable functions are now implemented +* With appropriate thread add-ons cancelable functions are now implemented in libc.so as well. No need to call the function in libpthread. This change allowed to finally disable the incorrect and expensive handling of weak definition in ld.so. @@ -6421,7 +6421,7 @@ Version 2.1 * Eric Youngdale and Ulrich Drepper implemented versioning of objects on symbol level. -* Miles Bader provided the `argp' function family to support hierachical +* Miles Bader provided the `argp' function family to support hierarchical command line argument parsing, layered on top of getopt. * strtod accepts new hexadecimal floating-point format from ISO C 9X. @@ -6965,7 +6965,7 @@ Version 2.0 * Ulrich Drepper has contributed a new suite of functions for operation on wide-character and multibyte-character strings, in <wchar.h>; and classification and case conversion of wide characters, in <wctype.h>. - These new functions are conforming to the ISO C, Amendement 1 specification. + These new functions are conforming to the ISO C, Amendment 1 specification. * There is now a second implementation of the standard I/O library available. It comes from GNU libg++ as was written by Per Bothner, heavily modified diff --git a/argp/argp-help.c b/argp/argp-help.c index aef380a573..d019ed58d2 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -1560,7 +1560,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state, } /* Print the documentation for ARGP to STREAM; if POST is false, then - everything preceeding a `\v' character in the documentation strings (or + everything preceding a `\v' character in the documentation strings (or the whole string, for those with none) is printed, otherwise, everything following the `\v' character (nothing for strings without). Each separate bit of documentation is separated a blank line, and if PRE_BLANK is true, diff --git a/argp/argp-parse.c b/argp/argp-parse.c index 1711684294..a44b50f8e4 100644 --- a/argp/argp-parse.c +++ b/argp/argp-parse.c @@ -228,7 +228,7 @@ struct group particular short options is from. */ char *short_end; - /* The number of non-option args sucessfully handled by this parser. */ + /* The number of non-option args successfully handled by this parser. */ unsigned args_processed; /* This group's parser's parent's group. */ diff --git a/argp/tst-argp1.c b/argp/tst-argp1.c index 4d1c54dc74..766c776b17 100644 --- a/argp/tst-argp1.c +++ b/argp/tst-argp1.c @@ -30,7 +30,7 @@ static const struct argp_option test_options[] = { { NULL, 0, NULL, 0, "\ -This is a test for threads so we allow ther user to selection the number of \ +This is a test for threads so we allow the user to select the number of \ threads which are used at any one time. Independently the total number of \ rounds can be selected. This is the total number of threads which will have \ run when the process terminates:" }, diff --git a/benchtests/bench-pthread-locks.c b/benchtests/bench-pthread-locks.c index c20bb4f6dd..8d5d6d62c6 100644 --- a/benchtests/bench-pthread-locks.c +++ b/benchtests/bench-pthread-locks.c @@ -351,7 +351,7 @@ test_producer_thread (void *v) for (j = iters; j >= 0; --j) { - /* Aquire lock on the queue. */ + /* Acquire lock on the queue. */ pthread_mutex_lock (&m); /* if something's already there, wait. */ while (queued > 0) @@ -388,7 +388,7 @@ test_consumer_producer (long iters, int filler) for (long j = iters; j >= 0; --j) { - /* Aquire lock on the queue. */ + /* Acquire lock on the queue. */ pthread_mutex_lock (&m); /* Wait for something to be on the queue. */ while (queued == 0) diff --git a/benchtests/bench-util.c b/benchtests/bench-util.c index d684b78054..4996f8c4ac 100644 --- a/benchtests/bench-util.c +++ b/benchtests/bench-util.c @@ -22,12 +22,12 @@ static volatile unsigned int dontoptimize = 0; void bench_start (void) { - /* This loop should cause CPU to switch to maximal freqency. + /* This loop should cause CPU to switch to maximal frequency. This makes subsequent measurement more accurate. We need a side effect to prevent the loop being deleted by compiler. This should be enough to cause CPU to speed up and it is simpler than running loop for constant time. This is used when user does not have root - access to set a constant freqency. */ + access to set a constant frequency. */ for (int k = 0; k < START_ITER; k++) dontoptimize += 23 * dontoptimize + 2; diff --git a/benchtests/scripts/plot_strings.py b/benchtests/scripts/plot_strings.py index 1fb934d112..56b98da8a8 100755 --- a/benchtests/scripts/plot_strings.py +++ b/benchtests/scripts/plot_strings.py @@ -276,7 +276,7 @@ def plotRecursive(json_iter, routine, ifuncs, bench_variant, title, outpath, domain = np.unique(np.array(domain)) averages = [] - # Compute geometric mean if there are multple timings for each + # Compute geometric mean if there are multiple timings for each # parameter value. for parameter in domain: averages.append(gmean(timings[parameter])) diff --git a/bits/siginfo-consts.h b/bits/siginfo-consts.h index 8743fd5cf6..98cf3c1416 100644 --- a/bits/siginfo-consts.h +++ b/bits/siginfo-consts.h @@ -93,7 +93,7 @@ enum { BUS_ADRALN = 1, /* Invalid address alignment. */ # define BUS_ADRALN BUS_ADRALN - BUS_ADRERR, /* Non-existant physical address. */ + BUS_ADRERR, /* Non-existent physical address. */ # define BUS_ADRERR BUS_ADRERR BUS_OBJERR /* Object specific hardware error. */ # define BUS_OBJERR BUS_OBJERR diff --git a/bits/socket.h b/bits/socket.h index 1b5938e9ad..a22ff3b07b 100644 --- a/bits/socket.h +++ b/bits/socket.h @@ -143,7 +143,7 @@ enum __socket_type #define AF_MAX PF_MAX /* Maximum queue length specifiable by listen. */ -#define SOMAXCONN 128 /* 5 on the origional 4.4 BSD. */ +#define SOMAXCONN 128 /* 5 on the original 4.4 BSD. */ /* Get the definition of the macro to define the common sockaddr members. */ #include <bits/sockaddr.h> diff --git a/configure.ac b/configure.ac index 88df3e5eed..21879c933c 100644 --- a/configure.ac +++ b/configure.ac @@ -1372,7 +1372,7 @@ AC_SUBST(libc_cv_mtls_dialect_gnu2) LIBC_CONFIG_VAR([have-mtls-dialect-gnu2], [$libc_cv_mtls_dialect_gnu2]) dnl clang emits an warning for a double alias redirection, to warn the -dnl original symbol is sed even when weak definition overriddes it. +dnl original symbol is sed even when weak definition overrides it. dnl It is a usual pattern for weak_alias, where multiple alias point to dnl same symbol. AC_CACHE_CHECK([if -Wno-ignored-attributes is required for aliases], diff --git a/crypt/badsalttest.c b/crypt/badsalttest.c index b8239a695b..5e1c65d5c2 100644 --- a/crypt/badsalttest.c +++ b/crypt/badsalttest.c @@ -29,7 +29,7 @@ static const char *tests[][2] = { "first char bad", "!x" }, { "second char bad", "Z%" }, { "both chars bad", ":@" }, - { "un$upported algorithm", "$2$" }, + { "unsupported algorithm", "$2$" }, { "unsupported_algorithm", "_1" }, }; diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c index d095ab04a4..daca4f72dc 100644 --- a/crypt/crypt_util.c +++ b/crypt/crypt_util.c @@ -204,7 +204,7 @@ static const ufc_long longmask[32] = { * do_pc1: permform pc1 permutation in the key schedule generation. * * The first index is the byte number in the 8 byte ASCII key - * - second - - the two 28 bits halfs of the result + * - second - - the two 28 bits halves of the result * - third - selects the 7 bits actually used of each byte * * The result is kept with 28 bit per 32 bit with the 4 most significant diff --git a/csu/check_fds.c b/csu/check_fds.c index de6dd716f9..4402762bd1 100644 --- a/csu/check_fds.c +++ b/csu/check_fds.c @@ -68,7 +68,7 @@ check_one_fd (int fd, int mode) Note that the following code assumes that STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO are the three lowest file - decsriptor numbers, in this order. */ + descriptor numbers, in this order. */ struct __stat64_t64 st; if (__glibc_unlikely (nullfd != fd) || __glibc_likely (__fstat64_time64 (fd, &st) != 0) diff --git a/csu/init-first.c b/csu/init-first.c index 4544eb6d2c..228bed53cf 100644 --- a/csu/init-first.c +++ b/csu/init-first.c @@ -28,7 +28,7 @@ #include <ldsodefs.h> -/* Remember the command line argument and enviroment contents for +/* Remember the command line argument and environment contents for later calls of initializers for dynamic libraries. */ int __libc_argc attribute_hidden; char **__libc_argv attribute_hidden; diff --git a/debug/explicit_bzero_chk.c b/debug/explicit_bzero_chk.c index 4045aef6cb..77a5255ef8 100644 --- a/debug/explicit_bzero_chk.c +++ b/debug/explicit_bzero_chk.c @@ -18,7 +18,7 @@ /* This is the generic definition of __explicit_bzero_chk. The __explicit_bzero_chk symbol is used as the implementation of - explicit_bzero throughout glibc. If this file is overriden by an + explicit_bzero throughout glibc. If this file is overridden by an architecture, both __explicit_bzero_chk and __explicit_bzero_chk_internal have to be defined (the latter not as an IFUNC). */ diff --git a/debug/pcprofiledump.c b/debug/pcprofiledump.c index 9f98aa8218..0bf3e501f5 100644 --- a/debug/pcprofiledump.c +++ b/debug/pcprofiledump.c @@ -108,7 +108,7 @@ main (int argc, char *argv[]) } /* Read the first 4-byte word. It contains the information about - the word size and the endianess. */ + the word size and the endianness. */ uint32_t word; if (TEMP_FAILURE_RETRY (read (fd, &word, 4)) != 4) error (EXIT_FAILURE, errno, _("cannot read header")); diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c index 7850a4e558..9f962f2a75 100644 --- a/debug/tst-fortify.c +++ b/debug/tst-fortify.c @@ -1509,7 +1509,7 @@ do_test (void) CHK_FAIL_END #endif - /* Bug 29030 regresion check */ + /* Bug 29030 regression check */ cp = "HelloWorld"; if (mbsrtowcs (NULL, &cp, (size_t)-1, &s) != 10) FAIL (); diff --git a/dlfcn/moddummy2.c b/dlfcn/moddummy2.c index cb4edc8da7..babc8f3380 100644 --- a/dlfcn/moddummy2.c +++ b/dlfcn/moddummy2.c @@ -6,7 +6,7 @@ int dummy2 (void) { printf ("Called dummy2()\n"); - /* If the outer dlopen is not dummy1 (becuase of some error) + /* If the outer dlopen is not dummy1 (because of some error) then tst-rec-dlopen will see a value of -1 as the returned result and fail. */ return -1; diff --git a/elf/Makefile b/elf/Makefile index e262f3e6b1..6f0e4414c9 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -2719,7 +2719,7 @@ $(objpfx)tst-tls-manydynamic0mod-dep.so: $(objpfx)tst-tls-manydynamic1mod-dep.so # Double dependencies. $(objpfx)tst-tls-manydynamic2mod-dep.so: $(objpfx)tst-tls-manydynamic3mod-dep.so \ $(objpfx)tst-tls-manydynamic4mod-dep.so -# Double dependencies with each dependency depent of another module. +# Double dependencies with each dependency dependent of another module. $(objpfx)tst-tls-manydynamic5mod-dep.so: $(objpfx)tst-tls-manydynamic6mod-dep.so \ $(objpfx)tst-tls-manydynamic7mod-dep.so $(objpfx)tst-tls-manydynamic6mod-dep.so: $(objpfx)tst-tls-manydynamic8mod-dep.so @@ -2729,7 +2729,7 @@ $(objpfx)tst-tls-manydynamic9mod-dep.so: $(objpfx)tst-tls-manydynamic10mod-dep.s $(objpfx)tst-tls-manydynamic11mod-dep.so $(objpfx)tst-tls-manydynamic10mod-dep.so: $(objpfx)tst-tls-manydynamic12mod-dep.so $(objpfx)tst-tls-manydynamic12mod-dep.so: $(objpfx)tst-tls-manydynamic13mod-dep.so -# Long chain with two double depedencies in the middle +# Long chain with two double dependencies in the middle $(objpfx)tst-tls-manydynamic14mod-dep.so: $(objpfx)tst-tls-manydynamic15mod-dep.so $(objpfx)tst-tls-manydynamic15mod-dep.so: $(objpfx)tst-tls-manydynamic16mod-dep.so \ $(objpfx)tst-tls-manydynamic17mod-dep.so @@ -2743,7 +2743,7 @@ LDFLAGS-tst-tls-manydynamic0mod-dep-bad.so = -Wl,--no-as-needed $(objpfx)tst-tls-manydynamic1mod-dep-bad.so: $(objpfx)tst-tls-manydynamic2mod-dep-bad.so \ $(objpfx)tst-tls20mod-bad.so LDFLAGS-tst-tls-manydynamic1mod-dep-bad.so = -Wl,--no-as-needed -# Double dependencies with each dependency depent of another module. +# Double dependencies with each dependency dependent of another module. $(objpfx)tst-tls-manydynamic3mod-dep-bad.so: $(objpfx)tst-tls-manydynamic4mod-dep-bad.so \ $(objpfx)tst-tls-manydynamic5mod-dep-bad.so LDFLAGS-tst-tls-manydynamic3mod-dep-bad.so = -Wl,--no-as-needed @@ -2759,7 +2759,7 @@ $(objpfx)tst-tls-manydynamic7mod-dep-bad.so: $(objpfx)tst-tls-manydynamic9mod-de LDFLAGS-tst-tls-manydynamic7mod-dep-bad.so = -Wl,--no-as-needed $(objpfx)tst-tls-manydynamic9mod-dep-bad.so: $(objpfx)tst-tls20mod-bad.so LDFLAGS-tst-tls-manydynamic9mod-dep-bad.so = -Wl,--no-as-needed -# Long chain with two double depedencies in the middle +# Long chain with two double dependencies in the middle $(objpfx)tst-tls-manydynamic10mod-dep-bad.so: $(objpfx)tst-tls-manydynamic11mod-dep-bad.so LDFLAGS-tst-tls-manydynamic10mod-dep-bad.so = -Wl,--no-as-needed $(objpfx)tst-tls-manydynamic11mod-dep-bad.so: $(objpfx)tst-tls-manydynamic12mod-dep-bad.so \ diff --git a/elf/cache.c b/elf/cache.c index 83e6b71349..8149f889ba 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -66,7 +66,7 @@ glibc_hwcaps_subdirectory_name (const struct glibc_hwcaps_subdirectory *dir) return dir->name->string; } -/* Linked list of known hwcaps subdirecty names. */ +/* Linked list of known hwcaps subdirectory names. */ static struct glibc_hwcaps_subdirectory *hwcaps; struct glibc_hwcaps_subdirectory * diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 631286832d..804bf23222 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -457,7 +457,7 @@ _dl_load_cache_lookup (const char *name) /* The old-format part of the cache is bogus as well if the endianness does not match. (But it is unclear how the new header can be located if the - endianess does not match.) */ + endianness does not match.) */ cache = (void *) -1; cache_new = (void *) -1; __munmap (file, cachesize); diff --git a/elf/dl-catch.c b/elf/dl-catch.c index a47ed4892d..0aa04ce594 100644 --- a/elf/dl-catch.c +++ b/elf/dl-catch.c @@ -109,7 +109,7 @@ _dl_signal_exception (int errcode, struct dl_exception *exception, rtld_hidden_def (_dl_signal_exception) void -_dl_signal_error (int errcode, const char *objname, const char *occation, +_dl_signal_error (int errcode, const char *objname, const char *occasion, const char *errstring) { struct rtld_catch *lcatch = get_catch (); @@ -126,7 +126,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation, __longjmp (lcatch->env[0].__jmpbuf, 1); } else - fatal_error (errcode, objname, occation, errstring); + fatal_error (errcode, objname, occasion, errstring); } rtld_hidden_def (_dl_signal_error) @@ -162,12 +162,12 @@ _dl_signal_cexception (int errcode, struct dl_exception *exception, } void -_dl_signal_cerror (int errcode, const char *objname, const char *occation, +_dl_signal_cerror (int errcode, const char *objname, const char *occasion, const char *errstring) { if (__builtin_expect (GLRO(dl_debug_mask) & ~(DL_DEBUG_STATISTICS), 0)) - _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occation, + _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occasion, errstring, receiver ? "continued" : "fatal"); if (receiver) @@ -178,7 +178,7 @@ _dl_signal_cerror (int errcode, const char *objname, const char *occation, (*receiver) (errcode, objname, errstring); } else - _dl_signal_error (errcode, objname, occation, errstring); + _dl_signal_error (errcode, objname, occasion, errstring); } void diff --git a/elf/dl-dst.h b/elf/dl-dst.h index b40d5b0f55..6940f140ec 100644 --- a/elf/dl-dst.h +++ b/elf/dl-dst.h @@ -1,4 +1,4 @@ -/* Handling of dynamic sring tokens. +/* Handling of dynamic string tokens. Copyright (C) 1999-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/elf/dl-find_object.c b/elf/dl-find_object.c index 2ced2f3510..928eb499cc 100644 --- a/elf/dl-find_object.c +++ b/elf/dl-find_object.c @@ -312,7 +312,7 @@ _dlfo_mappings_active_segment (uint64_t start_version) return _dlfo_loaded_mappings[start_version & 1]; } -/* Searches PC amoung the address-sorted array [FIRST1, FIRST1 + +/* Searches PC among the address-sorted array [FIRST1, FIRST1 + SIZE). Assumes PC >= FIRST1->map_start. Returns a pointer to the element that contains PC, or NULL if there is no such element. */ static inline struct dl_find_object_internal * diff --git a/elf/dl-fptr.c b/elf/dl-fptr.c index 35b5b96cf9..536ad17089 100644 --- a/elf/dl-fptr.c +++ b/elf/dl-fptr.c @@ -230,7 +230,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 diff --git a/elf/dl-load.c b/elf/dl-load.c index 39c63ff1b3..ff44f30efa 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -44,7 +44,7 @@ long respectively. I.e., even with a file which has 10 program header entries we only have to read 372B/624B respectively. Add to this a bit of margin for program notes and reading 512B and 832B - for 32-bit and 64-bit files respecitvely is enough. If this + for 32-bit and 64-bit files respectively is enough. If this heuristic should really fail for some file the code in `_dl_map_object_from_fd' knows how to recover. */ struct filebuf @@ -270,7 +270,7 @@ _dl_dst_count (const char *input) least equal to the value returned by DL_DST_REQUIRED. Note that it is possible for a DT_NEEDED, DT_AUXILIARY, and DT_FILTER entries to have colons, but we treat those as literal colons here, not as path - list delimeters. */ + list delimiters. */ char * _dl_dst_substitute (struct link_map *l, const char *input, char *result) { diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index abda453c92..578bf84c20 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -77,7 +77,7 @@ __rtld_malloc_init_real (struct link_map *main_map) /* We cannot use relocations and initializers for this because the changes made by __rtld_malloc_init_stubs break REL-style (non-RELA) relocations that depend on the previous pointer - contents. Also avoid direct relocation depedencies for the + contents. Also avoid direct relocation dependencies for the malloc symbols so this function can be called before the final rtld relocation (which enables RELRO, after which the pointer variables cannot be written to). */ diff --git a/elf/dl-profile.c b/elf/dl-profile.c index d8345da22e..8be0065fbd 100644 --- a/elf/dl-profile.c +++ b/elf/dl-profile.c @@ -38,7 +38,7 @@ /* The LD_PROFILE feature has to be implemented different to the normal profiling using the gmon/ functions. The problem is that an - arbitrary amount of processes simulataneously can be run using + arbitrary amount of processes simultaneously can be run using profiling and all write the results in the same file. To provide this mechanism one could implement a complicated mechanism to merge the content of two profiling runs or one could extend the file @@ -177,7 +177,7 @@ static unsigned int log_hashfraction; -/* Set up profiling data to profile object desribed by MAP. The output +/* Set up profiling data to profile object described by MAP. The output file is found (or created) in OUTPUT_DIR. */ void _dl_start_profile (void) @@ -218,7 +218,7 @@ _dl_start_profile (void) } /* Now we can compute the size of the profiling data. This is done - with the same formulars as in `monstartup' (see gmon.c). */ + with the same formulas as in `monstartup' (see gmon.c). */ running = 0; lowpc = ROUNDDOWN (mapstart + GL(dl_profile_map)->l_addr, HISTFRACTION * sizeof (HISTCOUNTER)); diff --git a/elf/dl-support.c b/elf/dl-support.c index 322599916f..44a54dea07 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -206,7 +206,7 @@ struct link_map *_dl_sysinfo_map; #include <dl-vdso-setup.c> /* 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 diff --git a/elf/dl-tls.c b/elf/dl-tls.c index 4ef7bc3f1e..99b83ca696 100644 --- a/elf/dl-tls.c +++ b/elf/dl-tls.c @@ -233,7 +233,7 @@ _dl_determine_tlsoffset (void) and an alignment requirement. The GNU ld computes the alignment requirements for the data at the positions *in the file*, though. I.e, it is not simply possible to allocate a block with the size - of the TLS program header entry. The data is layed out assuming + of the TLS program header entry. The data is laid out assuming that the first byte of the TLS block fulfills p_vaddr mod p_align == &TLS_BLOCK mod p_align diff --git a/elf/dl-version.c b/elf/dl-version.c index 3dbc6aa798..5b8693de04 100644 --- a/elf/dl-version.c +++ b/elf/dl-version.c @@ -160,7 +160,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode) /* Pointer to dynamic section with definitions. */ ElfW(Dyn) *def; /* We need to find out which is the highest version index used - in a dependecy. */ + in a dependency. */ unsigned int ndx_high = 0; struct dl_exception exception; /* Initialize to make the compiler happy. */ diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h index ccb78525ed..e7f755fc75 100644 --- a/elf/dynamic-link.h +++ b/elf/dynamic-link.h @@ -73,7 +73,7 @@ elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], /* On some machines, notably SPARC, DT_REL* includes DT_JMPREL in its range. Note that according to the ELF spec, this is completely legal! - We are guarenteed that we have one of three situations. Either DT_JMPREL + We are guaranteed that we have one of three situations. Either DT_JMPREL comes immediately after DT_REL*, or there is overlap and DT_JMPREL consumes precisely the very end of the DT_REL*, or DT_JMPREL and DT_REL* are completely separate and there is a gap between them. */ diff --git a/elf/elf.h b/elf/elf.h index 94ca23c1bb..60483af7a3 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -210,7 +210,7 @@ typedef struct #define EM_68HC12 53 /* Motorola M68HC12 */ #define EM_MMA 54 /* Fujitsu MMA Multimedia Accelerator */ #define EM_PCP 55 /* Siemens PCP */ -#define EM_NCPU 56 /* Sony nCPU embeeded RISC */ +#define EM_NCPU 56 /* Sony nCPU embedded RISC */ #define EM_NDR1 57 /* Denso NDR1 microprocessor */ #define EM_STARCORE 58 /* Motorola Start*Core processor */ #define EM_ME16 59 /* Toyota ME16 processor */ @@ -559,7 +559,7 @@ typedef struct /* Possible bitmasks for si_flags. */ #define SYMINFO_FLG_DIRECT 0x0001 /* Direct bound symbol */ -#define SYMINFO_FLG_PASSTHRU 0x0002 /* Pass-thru symbol for translator */ +#define SYMINFO_FLG_PASSTHRU 0x0002 /* Pass-through symbol for translator */ #define SYMINFO_FLG_COPY 0x0004 /* Symbol is a copy-reloc */ #define SYMINFO_FLG_LAZYLOAD 0x0008 /* Symbol bound to object to be lazy loaded */ diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 2fc45ad825..349b735670 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -631,7 +631,7 @@ out: - search for libraries which will be added to the cache - create symbolic links to the soname for each library - This has to be done separatly for each directory. + This has to be done separately for each directory. To keep track of which libraries to add to the cache and which links to create, we save a list of all libraries. @@ -875,7 +875,7 @@ search_dir (const struct dir_entry *entry) or downgrade. The problems will arise because ldconfig will, depending on directory ordering, creat symlinks against libfoo.so e.g. libfoo.so.1.2 -> libfoo.so, but when libfoo.so is removed - (typically by the removal of a development pacakge not required + (typically by the removal of a development package not required for the runtime) it will break the libfoo.so.1.2 symlink and the application will fail to start. */ const char *real_base_name = basename (real_file_name); diff --git a/elf/reldep.c b/elf/reldep.c index adabc0d5d5..f4e2eedf19 100644 --- a/elf/reldep.c +++ b/elf/reldep.c @@ -93,7 +93,7 @@ main (void) exit (1); } - /* The variable now must have its originial value. */ + /* The variable now must have its original value. */ if (*vp != 0) { puts ("variable \"some_var\" not reset"); diff --git a/elf/reldep2.c b/elf/reldep2.c index ba5ab222f9..f5416debb0 100644 --- a/elf/reldep2.c +++ b/elf/reldep2.c @@ -78,7 +78,7 @@ main (void) exit (1); } - /* The variable now must have its originial value. */ + /* The variable now must have its original value. */ if (*vp != 42) { puts ("variable \"some_var\" reset"); diff --git a/elf/reldep3.c b/elf/reldep3.c index 05013d3509..ea6a10bd0d 100644 --- a/elf/reldep3.c +++ b/elf/reldep3.c @@ -78,7 +78,7 @@ main (void) exit (1); } - /* The variable now must have its originial value. */ + /* The variable now must have its original value. */ if (*vp != 0) { puts ("variable \"some_var\" not reset"); diff --git a/elf/reldep5.c b/elf/reldep5.c index 881d519ff6..236f9f85e2 100644 --- a/elf/reldep5.c +++ b/elf/reldep5.c @@ -57,7 +57,7 @@ main (void) puts ("function \"call_me\" the second time returned wrong result"); exit (1); } - puts ("second call suceeded as well"); + puts ("second call succeeded as well"); /* Close the second object, we are done. */ if (dlclose (h2) != 0) diff --git a/elf/rtld.c b/elf/rtld.c index c1e383b055..8e1f5966c6 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -454,7 +454,7 @@ _dl_start_final (void *arg, struct dl_start_final_info *info) ElfW(Addr) start_addr; /* Do not use an initializer for these members because it would - intefere with __rtld_static_init. */ + interfere with __rtld_static_init. */ GLRO (dl_find_object) = &_dl_find_object; /* If it hasn't happen yet record the startup time. */ @@ -1067,7 +1067,7 @@ load_audit_modules (struct link_map *main_map, struct audit_list *audit_list) } } -/* Check if the executable is not actualy dynamically linked, and +/* Check if the executable is not actually dynamically linked, and invoke it directly in that case. */ static void rtld_chain_load (struct link_map *main_map, char *argv0) @@ -1167,7 +1167,7 @@ rtld_setup_main_map (struct link_map *main_map) /* _dl_rtld_libname.next = NULL; Already zero. */ GL(dl_rtld_map).l_libname = &_dl_rtld_libname; - /* Ordinarilly, we would get additional names for the loader from + /* Ordinarily, we would get additional names for the loader from our DT_SONAME. This can't happen if we were actually linked as a static executable (detect this case when we have no DYNAMIC). If so, assume the filename component of the interpreter path to diff --git a/elf/sprof.c b/elf/sprof.c index dfca16b7a6..3eaa4758d6 100644 --- a/elf/sprof.c +++ b/elf/sprof.c @@ -119,7 +119,7 @@ static enum /* Nozero for testing. */ static int do_test; -/* Strcuture describing calls. */ +/* Structure describing calls. */ struct here_fromstruct { struct here_cg_arc_record volatile *here; @@ -413,7 +413,7 @@ load_shobj (const char *name) /* Since we use dlopen() we must be prepared to work around the sometimes strange lookup rules for the shared objects. If we have a file foo.so - in the current directory and the user specfies foo.so on the command + in the current directory and the user specifies foo.so on the command line (without specifying a directory) we should load the file in the current directory even if a normal dlopen() call would read the other file. We do this by adding a directory portion to the name. */ @@ -809,7 +809,7 @@ load_profdata (const char *name, struct shobj *shobj) return NULL; } - /* We don't need the file desriptor anymore. */ + /* We don't need the file descriptor anymore. */ if (close (fd) < 0) { error (0, errno, _("error while closing the profiling data file")); diff --git a/elf/tst-leaks1.c b/elf/tst-leaks1.c index 75bc92d25f..e9038fc932 100644 --- a/elf/tst-leaks1.c +++ b/elf/tst-leaks1.c @@ -9,7 +9,7 @@ do_test (void) void *h; int ret = 0; /* Carry out *one* failing call to dlopen before starting mtrace to - force any one-time inintialization that may happen to the + force any one-time initialization that may happen to the executable link map e.g. expansion and caching of $ORIGIN. */ h = dlopen ("$ORIGIN/tst-leaks1.o", RTLD_LAZY); if (h != NULL) diff --git a/elf/tst-nodelete-dlclose-dso.c b/elf/tst-nodelete-dlclose-dso.c index 6869fc9995..e502c87526 100644 --- a/elf/tst-nodelete-dlclose-dso.c +++ b/elf/tst-nodelete-dlclose-dso.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -/* This is the primary DSO that is loaded by the appliation. This DSO +/* This is the primary DSO that is loaded by the application. This DSO then loads a plugin with RTLD_NODELETE. This plugin depends on this DSO. This dependency chain means that at application shutdown the plugin will be destructed first. Thus by the time this DSO is diff --git a/elf/tst-nodelete-dlclose-plugin.c b/elf/tst-nodelete-dlclose-plugin.c index 096eb5e6dd..d693aaf5dd 100644 --- a/elf/tst-nodelete-dlclose-plugin.c +++ b/elf/tst-nodelete-dlclose-plugin.c @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ /* This DSO simulates a plugin with a dependency on the - primary DSO loaded by the appliation. */ + primary DSO loaded by the application. */ #include <stdio.h> extern void primary_reference (void); diff --git a/elf/tst-pldd.c b/elf/tst-pldd.c index 82b7e47ef1..a6ecaabf57 100644 --- a/elf/tst-pldd.c +++ b/elf/tst-pldd.c @@ -71,7 +71,7 @@ pldd_process (void *arg) } /* The test runs in a container because pldd does not support tracing - a binary started by the loader iself (as with testrun.sh). */ + a binary started by the loader itself (as with testrun.sh). */ static bool in_str_list (const char *libname, const char *const strlist[]) diff --git a/elf/tst-protected1a.c b/elf/tst-protected1a.c index 715c842029..f10ab265f4 100644 --- a/elf/tst-protected1a.c +++ b/elf/tst-protected1a.c @@ -25,7 +25,7 @@ <https://www.gnu.org/licenses/>. */ /* This file must be compiled as PIE to avoid copy relocation when - accessing protected symbols defined in shared libaries since copy + accessing protected symbols defined in shared libraries since copy relocation doesn't work with protected symbols and linker in binutils 2.26 enforces this rule. */ diff --git a/elf/tst-protected1b.c b/elf/tst-protected1b.c index 2312a0f129..8550b9509c 100644 --- a/elf/tst-protected1b.c +++ b/elf/tst-protected1b.c @@ -25,7 +25,7 @@ <https://www.gnu.org/licenses/>. */ /* This file must be compiled as PIE to avoid copy relocation when - accessing protected symbols defined in shared libaries since copy + accessing protected symbols defined in shared libraries since copy relocation doesn't work with protected symbols and linker in binutils 2.26 enforces this rule. */ diff --git a/elf/tst-tls-manydynamic.c b/elf/tst-tls-manydynamic.c index 5f5afc85dd..80a5f93aee 100644 --- a/elf/tst-tls-manydynamic.c +++ b/elf/tst-tls-manydynamic.c @@ -117,7 +117,7 @@ do_test (void) init_functions (); struct value values[COUNT]; - /* Initialze the TLS variables. */ + /* Initialize the TLS variables. */ for (int i = 0; i < COUNT; ++i) { for (int j = 0; j < PER_VALUE_COUNT; ++j) diff --git a/elf/tst-tls20.c b/elf/tst-tls20.c index 86e68c5eb1..907dfe2ca2 100644 --- a/elf/tst-tls20.c +++ b/elf/tst-tls20.c @@ -153,11 +153,11 @@ do_test_no_depedency (void) mod0 -> mod1 2. Double dependency: mod2 -> [mod3,mod4] - 3. Double dependency with each dependency depent of another module: + 3. Double dependency with each dependency dependent of another module: mod5 -> [mod6,mod7] -> mod8 4. Long chain with one double dependency in the middle: mod9 -> [mod10, mod11] -> mod12 -> mod13 - 5. Long chain with two double depedencies in the middle: + 5. Long chain with two double dependencies in the middle: mod14 -> mod15 -> [mod16, mod17] mod15 -> [mod18, mod19] @@ -217,7 +217,7 @@ do_test_dependency (void) }; /* The gap configuration is defined as a bitmap: the bit set represents a - loaded module prior the tests execution, while a bit unsed is a module + loaded module prior the tests execution, while a bit unset is a module unloaded. Not all permtation will show gaps, but it is simpler than define each one independently. */ for (uint32_t g = 0; g < 64; g++) @@ -277,11 +277,11 @@ do_test_dependency (void) mod0 -> invalid 2. Double dependency: mod1 -> [mod2,invalid] - 3. Double dependency with each dependency depent of another module: + 3. Double dependency with each dependency dependent of another module: mod3 -> [mod4,mod5] -> invalid 4. Long chain with one double dependency in the middle: mod6 -> [mod7, mod8] -> mod12 -> invalid - 5. Long chain with two double depedencies in the middle: + 5. Long chain with two double dependencies in the middle: mod10 -> mod11 -> [mod12, mod13] mod12 -> [mod14, invalid] @@ -295,7 +295,7 @@ do_test_invalid_dependency (bool bind_now) static const int tlsmanydeps[] = { 0, 1, 3, 6, 10 }; /* The gap configuration is defined as a bitmap: the bit set represents a - loaded module prior the tests execution, while a bit unsed is a module + loaded module prior the tests execution, while a bit unset is a module unloaded. Not all permtation will show gaps, but it is simpler than define each one independently. */ for (uint32_t g = 0; g < 64; g++) diff --git a/elf/vismain.c b/elf/vismain.c index 4ee0130dc7..870ab151d5 100644 --- a/elf/vismain.c +++ b/elf/vismain.c @@ -16,7 +16,7 @@ <https://www.gnu.org/licenses/>. */ /* This file must be compiled as PIE to avoid copy relocation when - accessing protected symbols defined in shared libaries since copy + accessing protected symbols defined in shared libraries since copy relocation doesn't work with protected symbols and linker in binutils 2.26 enforces this rule. */ diff --git a/gmon/mcount.c b/gmon/mcount.c index f7180fdb83..07bf060331 100644 --- a/gmon/mcount.c +++ b/gmon/mcount.c @@ -91,7 +91,7 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ But we can simplify this if we assume the profiling data is always initialized by the functions in gmon.c. But then it is possible to avoid a runtime check and use the - smae `if' as in gmon.c. So keep these tests in sync. */ + same `if' as in gmon.c. So keep these tests in sync. */ if ((HASHFRACTION & (HASHFRACTION - 1)) == 0) { /* avoid integer divide if possible: */ i = frompc >> p->log_hashfraction; diff --git a/grp/initgroups.c b/grp/initgroups.c index d8a24628d5..2ebd623d7b 100644 --- a/grp/initgroups.c +++ b/grp/initgroups.c @@ -191,7 +191,7 @@ initgroups (const char *user, gid_t group) long int limit = __sysconf (_SC_NGROUPS_MAX); if (limit > 0) - /* We limit the size of the intially allocated array. */ + /* We limit the size of the initially allocated array. */ size = MIN (limit, 64); else /* No fixed limit on groups. Pick a starting buffer size. */ diff --git a/hesiod/README.hesiod b/hesiod/README.hesiod index 259ce8d447..5c44fae13e 100644 --- a/hesiod/README.hesiod +++ b/hesiod/README.hesiod @@ -139,7 +139,7 @@ information like encrypted passwords in the Hesiod database. There are some ways to improve security by using features provided by `named' (see the discussion about `secure zones' in the BIND documentation), but one should keep in mind that Hesiod was never -intended to distribute passwords. In the origional design +intended to distribute passwords. In the original design authenticating users was the job of the Kerberos service. diff --git a/htl/Makefile b/htl/Makefile index 67a2f7fe72..5de036acfd 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -188,7 +188,7 @@ subdir_install: $(inst_libdir)/libpthread2.a $(inst_libdir)/libpthread_syms.a # XXX: These rules are a hack. But it is better than messing with # ../Makeconf at the moment. Note that the linker scripts # $(srcdir)/libpthread.a and $(srcdir)/libpthread_pic.a get overwritten -# when building in $(srcdir) and not a seperate build directory. +# when building in $(srcdir) and not a separate build directory. $(inst_libdir)/libpthread2.a: $(inst_libdir)/libpthread.a mv $< $@ $(INSTALL_DATA) $(srcdir)/libpthread.a $< diff --git a/htl/pt-create.c b/htl/pt-create.c index 203b808591..261358696f 100644 --- a/htl/pt-create.c +++ b/htl/pt-create.c @@ -199,7 +199,7 @@ __pthread_create_internal (struct __pthread **thread, /* Set the new thread's signal mask and set the pending signals to empty. POSIX says: "The signal mask shall be inherited from the creating thread. The set of signals pending for the new thread - shall be empty." If the currnet thread is not a pthread then we + shall be empty." If the current thread is not a pthread then we just inherit the process' sigmask. */ if (GL (dl_pthread_num_threads) == 1) err = __sigprocmask (0, 0, &pthread->init_sigset); diff --git a/htl/pt-internal.h b/htl/pt-internal.h index 5179428ce7..6e43f78457 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -303,7 +303,7 @@ extern void __pthread_destroy_specific (struct __pthread *thread); structures. */ extern error_t __pthread_sigstate_init (struct __pthread *thread); -/* Destroy the signal state data structures associcated with thread +/* Destroy the signal state data structures associated with thread *THREAD. */ extern void __pthread_sigstate_destroy (struct __pthread *thread); diff --git a/hurd/fd-close.c b/hurd/fd-close.c index 91cf95d93a..90be1e66c9 100644 --- a/hurd/fd-close.c +++ b/hurd/fd-close.c @@ -33,7 +33,7 @@ _hurd_fd_close (struct hurd_fd *fd) else { /* Clear the descriptor's port cells. - This deallocates the ports if noone else is still using them. */ + This deallocates the ports if no one else is still using them. */ _hurd_port_set (&fd->ctty, MACH_PORT_NULL); _hurd_port_locked_set (&fd->port, MACH_PORT_NULL); err = 0; diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index 89cf7ac87c..96b6fae007 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -146,7 +146,7 @@ extern struct hurd_sigstate *_hurd_global_sigstate; extern void _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss); /* A thread can either use its own action vector and pending signal set - or use the global ones, depending on wether it has been marked as a + or use the global ones, depending on whether it has been marked as a global receiver. The accessors below take that into account. */ extern void _hurd_sigstate_lock (struct hurd_sigstate *ss); diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c index f8f174e4a2..e358d846c8 100644 --- a/hurd/hurdexec.c +++ b/hurd/hurdexec.c @@ -234,7 +234,7 @@ retry: __mutex_lock (&_hurd_id.lock); err = _hurd_check_ids (); - /* Avoid leaking the rid_auth port reference to the new progam */ + /* Avoid leaking the rid_auth port reference to the new program */ if (_hurd_id.rid_auth != MACH_PORT_NULL) { __mach_port_deallocate (__mach_task_self (), _hurd_id.rid_auth); diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 313e95aeec..ce56d28520 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -917,7 +917,7 @@ post_signal (struct hurd_sigstate *ss, | __sigmask (SIGTSTP)))) { /* If we would ordinarily stop for a job control signal, but we are - orphaned so noone would ever notice and continue us again, we just + orphaned so no one would ever notice and continue us again, we just quietly die, alone and in the dark. */ detail->code = signo; signo = SIGKILL; diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c index 62f94bbc92..9a9b2718c0 100644 --- a/hurd/lookup-retry.c +++ b/hurd/lookup-retry.c @@ -144,7 +144,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port) refusing symlinks while accepting mount points. Note that we actually permit something Linux doesn't: we follow root-owned symlinks; if that is deemed - undesireable, we can add a final check for that + undesirable, we can add a final check for that one exception to our general translator-based rule. */ struct stat64 st; err = __io_stat (*result, &st); diff --git a/iconv/gconv_charset.c b/iconv/gconv_charset.c index 5696058298..0cf3226be6 100644 --- a/iconv/gconv_charset.c +++ b/iconv/gconv_charset.c @@ -181,10 +181,10 @@ __gconv_create_spec (struct gconv_spec *conv_spec, const char *fromcode, implementation has always handled them. Only suffixes in the tocode are processed and handled. The reality is that invalid input in the input character set should only be ignored if the fromcode specifies IGNORE. - The current implementation ignores invalid intput in the input character + The current implementation ignores invalid input in the input character set if the tocode contains IGNORE. We preserve this behavior for backwards compatibility. In the future we may split the handling of - IGNORE to allow a finer grained specification of ignorning invalid input + IGNORE to allow a finer grained specification of ignoring invalid input and/or ignoring invalid output. */ conv_spec->translit = ptc.translit; conv_spec->ignore = ptc.ignore; diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h index 00744aad56..07815b0eee 100644 --- a/iconv/gconv_charset.h +++ b/iconv/gconv_charset.h @@ -48,7 +48,7 @@ /* This function copies in-order, characters from the source 's' that are - either alpha-numeric or one in one of these: "_-.,:/" - into the destination + either alphanumeric or one in one of these: "_-.,:/" - into the destination 'wp' while dropping all other characters. In the process, it converts all alphabetical characters to upper case. It then appends up to two '/' characters so that the total number of '/'es in the destination is 2. */ diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index c76011d6bc..ee9e97e1bd 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -153,7 +153,7 @@ static void add_alias (char *rp) { /* We now expect two more string. The strings are normalized - (converted to UPPER case) and strored in the alias database. */ + (converted to UPPER case) and stored in the alias database. */ char *from, *to, *wp; while (__isspace_l (*rp, _nl_C_locobj_ptr)) diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h index 4b247a815f..19d042faff 100644 --- a/iconv/gconv_int.h +++ b/iconv/gconv_int.h @@ -172,7 +172,7 @@ __libc_lock_define (extern, __gconv_lock attribute_hidden) }) -/* Return in *HANDLE, a decriptor for the transformation. The function expects +/* Return in *HANDLE, a descriptor for the transformation. The function expects the specification of the transformation in the structure pointed to by CONV_SPEC. It only reads *CONV_SPEC and does not take ownership of it. */ extern int __gconv_open (struct gconv_spec *conv_spec, diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c index c60cffad4c..e936e171d7 100644 --- a/iconv/gconv_simple.c +++ b/iconv/gconv_simple.c @@ -56,7 +56,7 @@ __gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c) /* Transform from the internal, UCS4-like format, to UCS4. The difference between the internal ucs4 format and the real UCS4 - format is, if any, the endianess. The Unicode/ISO 10646 says that + format is, if any, the endianness. The Unicode/ISO 10646 says that unless some higher protocol specifies it differently, the byte order is big endian.*/ #define DEFINE_INIT 0 @@ -100,7 +100,7 @@ internal_ucs4_loop (struct __gconv_step *step, *inptrp = inptr + n_convert * 4; *outptrp = __mempcpy (outptr, inptr, n_convert * 4); #else -# error "This endianess is not supported." +# error "This endianness is not supported." #endif /* Determine the status. */ @@ -153,7 +153,7 @@ internal_ucs4_loop_single (struct __gconv_step *step, (*outptrp)[2] = state->__value.__wchb[2]; (*outptrp)[3] = state->__value.__wchb[3]; #else -# error "This endianess is not supported." +# error "This endianness is not supported." #endif *outptrp += 4; @@ -347,7 +347,7 @@ internal_ucs4le_loop (struct __gconv_step *step, *inptrp = inptr + n_convert * 4; *outptrp = __mempcpy (outptr, inptr, n_convert * 4); #else -# error "This endianess is not supported." +# error "This endianness is not supported." #endif /* Determine the status. */ diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 1d90938d71..bee898c63c 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -537,7 +537,7 @@ incomplete character or shift sequence at end of buffer")); static int process_fd (iconv_t cd, int fd, FILE **output, const char *output_file) { - /* we have a problem with reading from a desriptor since we must not + /* we have a problem with reading from a descriptor since we must not provide the iconv() function an incomplete character or shift sequence at the end of the buffer. Since we have to deal with arbitrary encodings we must read the whole text in a buffer and diff --git a/iconv/iconvconfig.c b/iconv/iconvconfig.c index a319e2f762..f3f4baa4e7 100644 --- a/iconv/iconvconfig.c +++ b/iconv/iconvconfig.c @@ -445,7 +445,7 @@ static void add_alias (char *rp) { /* We now expect two more string. The strings are normalized - (converted to UPPER case) and strored in the alias database. */ + (converted to UPPER case) and stored in the alias database. */ char *from; char *to; char *wp; diff --git a/iconvdata/bug-iconv8.c b/iconvdata/bug-iconv8.c index e32d891b5c..1ebb674c91 100644 --- a/iconvdata/bug-iconv8.c +++ b/iconvdata/bug-iconv8.c @@ -29,7 +29,7 @@ do_test (void) /* * result: -1 84 0 0 (84=EILSEQ) * - * Error is returnd but inbuf is consumed. + * Error is returned but inbuf is consumed. * * \x83\xd9 is valid shift-jis sequence but no character is assigned * to it. diff --git a/iconvdata/ibm1364.c b/iconvdata/ibm1364.c index 4d6ec71139..5203f30e79 100644 --- a/iconvdata/ibm1364.c +++ b/iconvdata/ibm1364.c @@ -91,7 +91,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c index 2939d4d29e..fe2fe1f15b 100644 --- a/iconvdata/ibm930.c +++ b/iconvdata/ibm930.c @@ -80,7 +80,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/ibm933.c b/iconvdata/ibm933.c index 95935b8b36..4db0699a68 100644 --- a/iconvdata/ibm933.c +++ b/iconvdata/ibm933.c @@ -79,7 +79,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/ibm935.c b/iconvdata/ibm935.c index 1d8240a758..3c3d697a24 100644 --- a/iconvdata/ibm935.c +++ b/iconvdata/ibm935.c @@ -80,7 +80,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c index 9e02aba122..1586036c1e 100644 --- a/iconvdata/ibm937.c +++ b/iconvdata/ibm937.c @@ -80,7 +80,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/ibm939.c b/iconvdata/ibm939.c index ce719cb29f..9b053c696e 100644 --- a/iconvdata/ibm939.c +++ b/iconvdata/ibm939.c @@ -80,7 +80,7 @@ /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_curcs = *curcsp; \ diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c index d0c3ca4f03..36727f0865 100644 --- a/iconvdata/iso-2022-cn-ext.c +++ b/iconvdata/iso-2022-cn-ext.c @@ -154,7 +154,7 @@ enum /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_set = *setp; \ diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c index 73eb5e77c6..5660ead668 100644 --- a/iconvdata/iso-2022-cn.c +++ b/iconvdata/iso-2022-cn.c @@ -102,7 +102,7 @@ enum /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_set = *setp; \ diff --git a/iconvdata/iso-2022-jp-3.c b/iconvdata/iso-2022-jp-3.c index d341a14f51..c722bdbfc3 100644 --- a/iconvdata/iso-2022-jp-3.c +++ b/iconvdata/iso-2022-jp-3.c @@ -156,7 +156,7 @@ enum /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ saved_state = *statep; \ diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c index f31dfb92e6..b023d3cf8e 100644 --- a/iconvdata/iso-2022-jp.c +++ b/iconvdata/iso-2022-jp.c @@ -249,7 +249,7 @@ gconv_end (struct __gconv_step *data) /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_set = *setp; \ @@ -679,7 +679,7 @@ static const cvlist_t conversion_lists[4] = the character is unknown. \ The CJK character sets partially overlap when seen as subsets \ of ISO 10646; therefore there is no single correct result. \ - We use a preferrence order which depends on the language tag. */ \ + We use a preference order which depends on the language tag. */ \ \ if (ch <= 0x7f) \ { \ diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c index e71198aee9..fd785fd8f9 100644 --- a/iconvdata/iso-2022-kr.c +++ b/iconvdata/iso-2022-kr.c @@ -100,7 +100,7 @@ enum /* Since we might have to reset input pointer we must be able to save - and retore the state. */ + and restore the state. */ #define SAVE_RESET_STATE(Save) \ if (Save) \ save_set = *setp; \ diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c index f7111a3759..1800dc8fdb 100644 --- a/iconvdata/iso646.c +++ b/iconvdata/iso646.c @@ -21,7 +21,7 @@ zillions of ISO 646 derivates and supporting them all in a separate module is overkill since these coded character sets are hardly ever used anymore (except ANSI_X3.4-1968 == ASCII, which is compatible - with ISO 8859-1). The European variants are superceded by the + with ISO 8859-1). The European variants are superseded by the various ISO 8859-? standards and the Asian variants are embedded in larger character sets. Therefore this implementation is simply here to make it possible to do the conversion if it is necessary. diff --git a/iconvdata/sjis.c b/iconvdata/sjis.c index 93c28db13e..5ab821bbff 100644 --- a/iconvdata/sjis.c +++ b/iconvdata/sjis.c @@ -2001,7 +2001,7 @@ static const char from_ucs4_greek[193][2] = /* The mapping of the Kanji is horrible. The glyphs covered by Shift JIS - are spreaded all around the Unicode CJK area. We use one big table + are spread all around the Unicode CJK area. We use one big table since using the gaps will not buy us much. The following table can be generated using diff --git a/iconvdata/tst-table.sh b/iconvdata/tst-table.sh index d5b1f3c87d..bc6f542b24 100755 --- a/iconvdata/tst-table.sh +++ b/iconvdata/tst-table.sh @@ -44,7 +44,7 @@ if test ${charset} = GB18030; then mv ${objpfx}tst-${charset}.truncated.table ${objpfx}tst-${charset}.charmap.table fi -# Precomputed expexted differences between the charmap and iconv forward. +# Precomputed expected differences between the charmap and iconv forward. precomposed=${charset}.precomposed # Precompute expected differences between the charmap and iconv backward. diff --git a/include/alloc_buffer.h b/include/alloc_buffer.h index 748a5f0dbf..5dcd009405 100644 --- a/include/alloc_buffer.h +++ b/include/alloc_buffer.h @@ -304,7 +304,7 @@ __alloc_buffer_next (struct alloc_buffer *buf, size_t align) } /* Like alloc_buffer_alloc, but do not advance the pointer beyond the - object (so a subseqent call to alloc_buffer_next or + object (so a subsequent call to alloc_buffer_next or alloc_buffer_alloc returns the same pointer). Note that the buffer is still aligned according to the requirements of TYPE, potentially consuming buffer space. The effect of this function is similar to diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index 0ef5ab409f..70c634a69d 100644 --- a/include/arpa/nameser.h +++ b/include/arpa/nameser.h @@ -126,7 +126,7 @@ ns_rr_cursor_qtype (const struct ns_rr_cursor *c) return c->first_rr[-4] * 256 + c->first_rr[-3]; } -/* Returns the clss of the first and only question (usally C_IN). */ +/* Returns the clss of the first and only question (usually C_IN). */ static inline const int ns_rr_cursor_qclass (const struct ns_rr_cursor *c) { diff --git a/include/file_change_detection.h b/include/file_change_detection.h index 241b45d123..c9b86b727e 100644 --- a/include/file_change_detection.h +++ b/include/file_change_detection.h @@ -55,7 +55,7 @@ bool __file_change_detection_for_path (struct file_change_detection *file, const char *path); /* Writes file change information for the stream FP to *FILE. Returns - ture on success, false on failure. If FP is NULL, treat the file + true on success, false on failure. If FP is NULL, treat the file as non-existing. */ bool __file_change_detection_for_fp (struct file_change_detection *file, FILE *fp); diff --git a/include/libc-pointer-arith.h b/include/libc-pointer-arith.h index 1faf0209c4..aa57e598d5 100644 --- a/include/libc-pointer-arith.h +++ b/include/libc-pointer-arith.h @@ -64,7 +64,7 @@ #define PTR_IS_ALIGNED(base, size) \ ((((uintptr_t) (base)) & (size - 1)) == 0) -/* Returns the ptrdiff_t diference between P1 and P2. */ +/* Returns the ptrdiff_t difference between P1 and P2. */ #define PTR_DIFF(p1, p2) \ ((ptrdiff_t)((uintptr_t)(p1) - (uintptr_t)(p2))) diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 37c91bb3a4..5794614488 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -338,7 +338,7 @@ for linking") _set_symbol_version (real, #name "@@" #version) # endif -/* Evalutes to a string literal for VERSION in LIB. */ +/* Evaluates to a string literal for VERSION in LIB. */ # define symbol_version_string(lib, version) \ _symbol_version_stringify_1 (VERSION_##lib##_##version) # define _symbol_version_stringify_1(arg) _symbol_version_stringify_2 (arg) @@ -712,7 +712,7 @@ for linking") If you have an implementation for foo which e.g. uses a special hardware feature which isn't available on all machines where this libc.so will be - used but decideable if available at runtime e.g. via hwcaps, you can provide + used but decidable if available at runtime e.g. via hwcaps, you can provide two or multiple implementations of foo: int __foo_default (int __bar) @@ -765,7 +765,7 @@ for linking") : __foo_default); This will define the ifunc'ed symbol foo like above. The redirection of foo - in header file is needed to omit an additional defintion of __GI_foo which + in header file is needed to omit an additional definition of __GI_foo which would end in a linker error while linking libc.so. You have to specify __redirect_foo as first parameter which is used within libc_ifunc_redirected macro in conjunction with typeof to define the ifunc'ed symbol foo. diff --git a/include/printf_buffer.h b/include/printf_buffer.h index 4d787e4b2c..21f3882b88 100644 --- a/include/printf_buffer.h +++ b/include/printf_buffer.h @@ -156,7 +156,7 @@ void __printf_buffer_pad_1 (struct __printf_buffer *buf, char ch, size_t count) attribute_hidden; /* __printf_buffer_pad with fast path for no padding. COUNT is - ssize_t to accomodate signed uses in printf and elsewhere. */ + ssize_t to accommodate signed uses in printf and elsewhere. */ static inline void __printf_buffer_pad (struct __printf_buffer *buf, char ch, ssize_t count) { diff --git a/include/sys/socket.h b/include/sys/socket.h index 6e4cf5077f..b9fbc4925c 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -44,7 +44,7 @@ extern ssize_t __libc_sendto (int __fd, const void *__buf, size_t __n, socklen_t __addr_len); /* 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. */ extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n, @@ -78,7 +78,7 @@ extern ssize_t __sendto (int __fd, const void *__buf, size_t __n, socklen_t __addr_len) attribute_hidden; /* 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. */ extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n, diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 004f0a0565..dffb711137 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -78,7 +78,7 @@ extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW __attribute_deprecated_msg__ ("Use inet_ntop instead"); /* Convert network number for interface type AF in buffer starting at - CP to presentation format. The result will specifiy BITS bits of + CP to presentation format. The result will specify BITS bits of the number. */ extern char *inet_net_ntop (int __af, const void *__cp, int __bits, char *__buf, size_t __len) __THROW; diff --git a/inet/idna_name_classify.c b/inet/idna_name_classify.c index 8b34d89104..a48c72b2fc 100644 --- a/inet/idna_name_classify.c +++ b/inet/idna_name_classify.c @@ -40,7 +40,7 @@ __idna_name_classify (const char *name) break; else if (result == (size_t) -2) /* Incomplete trailing multi-byte character. This is an - encoding error becaue we received the full name. */ + encoding error because we received the full name. */ return idna_name_encoding_error; else if (result == (size_t) -1) { diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h index e4d9928e3b..50141712fc 100644 --- a/inet/netinet/igmp.h +++ b/inet/netinet/igmp.h @@ -110,7 +110,7 @@ struct igmp { #define IGMP_v2_ROUTER 2 /* - * The following four defininitions are for backwards compatibility. + * The following four definitions are for backwards compatibility. * They should be removed as soon as all applications are updated to * use the new constant names. */ diff --git a/inet/rexec.c b/inet/rexec.c index 1985fa4418..d479753fc2 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -154,7 +154,7 @@ retry: struct iovec iov[3] = { [0] = { .iov_base = (void *) name, .iov_len = strlen (name) + 1 }, - /* should public key encypt the password here */ + /* should public key encrypt the password here */ [1] = { .iov_base = (void *) pass, .iov_len = strlen (pass) + 1 }, [2] = { .iov_base = (void *) cmd, .iov_len = strlen (cmd) + 1 } }; diff --git a/io/file_change_detection.c b/io/file_change_detection.c index d7b861694a..4f53aa76ac 100644 --- a/io/file_change_detection.c +++ b/io/file_change_detection.c @@ -86,7 +86,7 @@ __file_change_detection_for_path (struct file_change_detection *file, /* Other errors are fatal. */ return false; } - else /* stat64 was successfull. */ + else /* stat64 was successful. */ { __file_change_detection_for_stat (file, &st); return true; diff --git a/io/tst-fts.c b/io/tst-fts.c index 41121db4cf..b65b285aeb 100644 --- a/io/tst-fts.c +++ b/io/tst-fts.c @@ -201,7 +201,7 @@ do_test (void) } } /* fts_read returns NULL when done (and clears errno) - or when an error occured (with errno set). */ + or when an error occurred (with errno set). */ if (errno != 0) { printf ("FAIL: fts_read: %m\n"); diff --git a/libio/oldfmemopen.c b/libio/oldfmemopen.c index e320a860fc..61d02fc662 100644 --- a/libio/oldfmemopen.c +++ b/libio/oldfmemopen.c @@ -32,7 +32,7 @@ * - I never used the "original" fmemopen(). I am sure that "my" * fmemopen() behaves differently than the original version. * - * - The documentation doesn't say wether a string stream allows + * - The documentation doesn't say whether a string stream allows * seeks. I checked the old fmemopen implementation in glibc's stdio * directory, wasn't quite able to see what is going on in that * source, but as far as I understand there was no seek there. For diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c index 67c49d74cc..089c61bf41 100644 --- a/libio/tst-fopenloc.c +++ b/libio/tst-fopenloc.c @@ -47,7 +47,7 @@ do_bz17916 (void) FILE *fp = fopen (inputfile, ccs); if (fp != NULL) { - printf ("unxpected success\n"); + printf ("unexpected success\n"); return 1; } free (ccs); diff --git a/libio/tst-memstream.h b/libio/tst-memstream.h index de9bb549f7..2a9743fa62 100644 --- a/libio/tst-memstream.h +++ b/libio/tst-memstream.h @@ -28,7 +28,7 @@ #ifdef TEST_WCHAR # include <wchar.h> -/* Straighforward implementation so tst-memstream3 could use check +/* Straightforward implementation so tst-memstream3 could use check fwrite on open_memstream. */ static size_t __attribute__ ((used)) fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) diff --git a/libio/tst-setvbuf1.c b/libio/tst-setvbuf1.c index 9222d4050d..44ae15815a 100644 --- a/libio/tst-setvbuf1.c +++ b/libio/tst-setvbuf1.c @@ -1,4 +1,4 @@ -/* Dereived from the test case in BZ #2337. */ +/* Derived from the test case in BZ #2337. */ #include <errno.h> #include <error.h> #include <fcntl.h> diff --git a/libio/tst-vtables-interposed.c b/libio/tst-vtables-interposed.c index e656f2b203..6f7d99a0ea 100644 --- a/libio/tst-vtables-interposed.c +++ b/libio/tst-vtables-interposed.c @@ -20,7 +20,7 @@ /* Provide an interposed definition of the standard file handles with our own vtable. stdout/stdin/stderr will not work as a result, but - a succesful test does not print anything, so this is fine. */ + a successful test does not print anything, so this is fine. */ #include "libioP.h" #undef _IO_file_jumps #define _IO_file_jumps jumps diff --git a/libio/tst-wmemstream3.c b/libio/tst-wmemstream3.c index e22326820d..5edc01144c 100644 --- a/libio/tst-wmemstream3.c +++ b/libio/tst-wmemstream3.c @@ -18,7 +18,7 @@ #include <wchar.h> -/* Straighforward implementation so tst-memstream3 could use check +/* Straightforward implementation so tst-memstream3 could use check fwrite on open_memstream. */ static size_t fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c index 950e927200..f85654b9d1 100644 --- a/login/programs/utmpdump.c +++ b/login/programs/utmpdump.c @@ -28,7 +28,7 @@ print_entry (struct utmp *up) /* Mixed 32-/64-bit systems may have timeval structs of different sixe but need struct utmp to be the same size. So in 64-bit up->ut_tv may not be a timeval but a struct of __int32_t's. This would cause a compile - time warning and a formating error when 32-bit int is passed where + time warning and a formatting error when 32-bit int is passed where a 64-bit long is expected. So copy up->up_tv to a temporary timeval. This is 32-/64-bit agnostic and expands the timeval fields to the expected size as needed. */ diff --git a/login/utmp_file.c b/login/utmp_file.c index 1ef0782139..7055041d5f 100644 --- a/login/utmp_file.c +++ b/login/utmp_file.c @@ -153,7 +153,7 @@ __libc_setutent (void) return 1; } -/* Preform initialization if necessary. */ +/* Perform initialization if necessary. */ static bool maybe_setutent (void) { diff --git a/mach/Machrules b/mach/Machrules index d52f672d32..bbba63b2e0 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -54,7 +54,7 @@ $(objpfx)dummy.mk: MIGFLAGS = -DSTANDALONE -DTypeCheck=0 \ $(+includes) $(migdefines) -subrprefix __ -# Putting CC in the enivronment makes the mig wrapper script +# Putting CC in the environment makes the mig wrapper script # use the same compiler setup we are using to run cpp. MIG := CC='${CC}' CPP='${CPP} -x c' $(MIG) diff --git a/mach/errorlib.h b/mach/errorlib.h index ff0c55eb36..5c145b8af8 100644 --- a/mach/errorlib.h +++ b/mach/errorlib.h @@ -42,7 +42,7 @@ * Author: Douglas Orr, Carnegie Mellon University * Date: Mar. 1988 * - * Error bases for subsytems errors. + * Error bases for subsystems errors. */ #include <mach/error.h> diff --git a/malloc/arena.c b/malloc/arena.c index e98b779dbb..6f03955ff2 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -39,7 +39,7 @@ mmap threshold, so that requests with a size just below that threshold can be fulfilled without creating too many heaps. */ -/* When huge pages are used to create new arenas, the maximum and minumum +/* When huge pages are used to create new arenas, the maximum and minimum size are based on the runtime defined huge page size. */ static inline size_t diff --git a/malloc/malloc-debug.c b/malloc/malloc-debug.c index da9d2340d3..f9d131d22f 100644 --- a/malloc/malloc-debug.c +++ b/malloc/malloc-debug.c @@ -588,7 +588,7 @@ malloc_set_state (void *msptr) __malloc_debug_disable (MALLOC_CHECK_HOOK); /* We do not need to perform locking here because malloc_set_state - must be called before the first call into the malloc subsytem (usually via + must be called before the first call into the malloc subsystem (usually via __malloc_initialize_hook). pthread_create always calls calloc and thus must be called only afterwards, so there cannot be more than one thread when we reach this point. Also handle initialization if either we ended diff --git a/malloc/malloc.c b/malloc/malloc.c index 5d8b61d66c..b8c0f4f580 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -271,7 +271,7 @@ is fairly extensive, and will slow down execution noticeably. Calling malloc_stats or mallinfo with MALLOC_DEBUG set will attempt to check every non-mmapped allocated and free chunk in - the course of computing the summmaries. (By nature, mmapped regions + the course of computing the summaries. (By nature, mmapped regions cannot be checked very much automatically.) Setting MALLOC_DEBUG may also be helpful if you are trying to modify @@ -672,7 +672,7 @@ void* __libc_valloc(size_t); arena: current total non-mmapped bytes allocated from system ordblks: the number of free chunks smblks: the number of fastbin blocks (i.e., small chunks that - have been freed but not use resused or consolidated) + have been freed but not reused or consolidated) hblks: current number of mmapped regions hblkhd: total bytes held in mmapped regions usmblks: always 0 @@ -1017,7 +1017,7 @@ libc_hidden_proto (__libc_mallopt) In 2001, the kernel had a maximum size for brk() which was about 800 megabytes on 32 bit x86, at that point brk() would hit the first - mmaped shared libaries and couldn't expand anymore. With current 2.6 + mmaped shared libraries and couldn't expand anymore. With current 2.6 kernels, the VA space layout is different and brk() and mmap both can span the entire heap at will. @@ -1486,7 +1486,7 @@ tag_new_usable (void *ptr) and consolidated sets of chunks, which is what these bins hold, so they can be found quickly. All procedures maintain the invariant that no consolidated chunk physically borders another one, so each - chunk in a list is known to be preceeded and followed by either + chunk in a list is known to be preceded and followed by either inuse chunks or the ends of memory. Chunks in bins are kept in size order, with ties going to the @@ -2475,7 +2475,7 @@ sysmalloc_mmap (INTERNAL_SIZE_T nb, size_t pagesize, int extra_flags, mstate av) /* Allocate memory using mmap() based on S and NB requested size, aligning to PAGESIZE if required. The EXTRA_FLAGS is used on mmap() call. If the call - succeedes S is updated with the allocated size. This is used as a fallback + succeeds S is updated with the allocated size. This is used as a fallback if MORECORE fails. */ static void * @@ -2557,7 +2557,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av) char *mm; if (mp_.hp_pagesize > 0 && nb >= mp_.hp_pagesize) { - /* There is no need to isse the THP madvise call if Huge Pages are + /* There is no need to issue the THP madvise call if Huge Pages are used directly. */ mm = sysmalloc_mmap (nb, mp_.hp_pagesize, mp_.hp_flags, av); if (mm != MAP_FAILED) @@ -3439,7 +3439,7 @@ __libc_realloc (void *oldmem, size_t bytes) } /* Little security check which won't hurt performance: the allocator - never wrapps around at the end of the address space. Therefore + never wraps around at the end of the address space. Therefore we can exclude some size values which might appear here by accident or by "design" from some intruder. */ if ((__builtin_expect ((uintptr_t) oldp > (uintptr_t) -oldsize, 0) @@ -4486,7 +4486,7 @@ _int_free (mstate av, mchunkptr p, int have_lock) size = chunksize (p); /* Little security check which won't hurt performance: the - allocator never wrapps around at the end of the address space. + allocator never wraps around at the end of the address space. Therefore we can exclude some size values which might appear here by accident or by "design" from some intruder. */ if (__builtin_expect ((uintptr_t) p > (uintptr_t) -size, 0) diff --git a/malloc/tst-mallocfork2.c b/malloc/tst-mallocfork2.c index 6ef0f180e9..8a2979ad07 100644 --- a/malloc/tst-mallocfork2.c +++ b/malloc/tst-mallocfork2.c @@ -147,7 +147,7 @@ do_test (void) { atexit (kill_children); - /* shared->barrier is intialized along with sigusr1_sender_pids + /* shared->barrier is initialized along with sigusr1_sender_pids below. */ shared = support_shared_allocate (sizeof (*shared)); @@ -175,7 +175,7 @@ do_test (void) signal_sender (SIGUSR2, true); /* Send SIGUSR1 signals from several processes. Hopefully, one - signal will hit one of the ciritical functions. Use a barrier to + signal will hit one of the critical functions. Use a barrier to avoid sending signals while not running fork/free/malloc. */ { pthread_barrierattr_t attr; diff --git a/malloc/tst-mallocfork3.c b/malloc/tst-mallocfork3.c index 254f71d2a1..80fc2dd06c 100644 --- a/malloc/tst-mallocfork3.c +++ b/malloc/tst-mallocfork3.c @@ -142,7 +142,7 @@ do_test (void) sigusr2_sender = xpthread_create (NULL, signal_sender, &sigusr2_args); /* Send SIGUSR1 signals from several threads. Hopefully, one - signal will hit one of the ciritical functions. Use a barrier to + signal will hit one of the critical functions. Use a barrier to avoid sending signals while not running fork/free/malloc. */ struct signal_send_args sigusr1_args = { self, SIGUSR1, false }; xpthread_barrier_init (&barrier, NULL, diff --git a/malloc/tst-mallocstate.c b/malloc/tst-mallocstate.c index 704ec88a6e..340a394d1a 100644 --- a/malloc/tst-mallocstate.c +++ b/malloc/tst-mallocstate.c @@ -45,7 +45,7 @@ enum allocation_action action_free, /* Dumped and freed. */ action_realloc, /* Dumped and realloc'ed. */ action_realloc_same, /* Dumped and realloc'ed, same size. */ - action_realloc_smaller, /* Dumped and realloc'ed, shrinked. */ + action_realloc_smaller, /* Dumped and realloc'ed, shrunk. */ action_count }; diff --git a/manual/README.pretty-printers b/manual/README.pretty-printers index a2ba89843c..a696406ce5 100644 --- a/manual/README.pretty-printers +++ b/manual/README.pretty-printers @@ -140,7 +140,7 @@ its name to the 'tests-printers-libs' variable in your submodule's Makefile. Known issues ------------ -* Pretty printers are inherently coupled to the code they're targetting, thus +* Pretty printers are inherently coupled to the code they're targeting, thus any changes to the target code must also update the corresponding printers. On the plus side, the printer code itself may serve as a kind of documentation for the target code. diff --git a/manual/arith.texi b/manual/arith.texi index 002621f11e..fa7110e992 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -111,7 +111,7 @@ minimum possible values for each integer data type. The macro names follow these examples: @code{INT32_MAX}, @code{UINT8_MAX}, @code{INT_FAST32_MIN}, @code{INT_LEAST64_MIN}, @code{UINTMAX_MAX}, @code{INTMAX_MAX}, @code{INTMAX_MIN}. Note that there are no macros for -unsigned integer minima. These are always zero. Similiarly, there +unsigned integer minima. These are always zero. Similarly, there are macros such as @code{INTMAX_WIDTH} for the width of these types. Those macros for integer type widths come from TS 18661-1:2014. @cindex maximum possible integer diff --git a/manual/install.texi b/manual/install.texi index a1f01a1ec0..a44a552d1f 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -509,7 +509,7 @@ build @theglibc{}: @item GNU @code{make} 4.0 or newer -As of relase time, GNU @code{make} 4.4 is the newest verified to work +As of release time, GNU @code{make} 4.4 is the newest verified to work to build @theglibc{}. @item diff --git a/manual/intro.texi b/manual/intro.texi index 9bdfd09c83..ff43c5a7fb 100644 --- a/manual/intro.texi +++ b/manual/intro.texi @@ -1294,14 +1294,14 @@ this manual. @c Pattern Matching (10) @c Input/Output Overview (11) @c Input/Output on Streams (12) -@c Low-level Input/Ooutput (13) +@c Low-level Input/Output (13) @c File System Interface (14) @c Pipes and FIFOs (15) @c Sockets (16) @c Low-Level Terminal Interface (17) @c Syslog (18) @c Mathematics (19) -@c Aritmetic Functions (20) +@c Arithmetic Functions (20) @c Date and Time (21) @c Non-Local Exist (23) @c Signal Handling (24) diff --git a/manual/ipc.texi b/manual/ipc.texi index be74664af9..6a6e5ad410 100644 --- a/manual/ipc.texi +++ b/manual/ipc.texi @@ -62,7 +62,7 @@ by @theglibc{}. @safety{@prelim{}@mtsafe{}@asunsafe{@asuinit{}}@acunsafe{@acuinit{}}} @c pthread_once asuinit @c -@c We are AC-Unsafe becuase we use pthread_once to initialize +@c We are AC-Unsafe because we use pthread_once to initialize @c a global variable that holds the location of the mounted @c shmfs on Linux. @end deftypefun diff --git a/manual/llio.texi b/manual/llio.texi index 1b801ee817..0b61d491f5 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -320,7 +320,7 @@ is used. @item ENOMEM Either there is not enough memory for the operation, or the process is -out of address space. It can only happnes when @code{CLOSE_RANGE_UNSHARED} +out of address space. It can only happen when @code{CLOSE_RANGE_UNSHARED} flag is used. @item EMFILE diff --git a/manual/memory.texi b/manual/memory.texi index 8952ff2bfa..5781a64f35 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -1746,7 +1746,7 @@ are no problems with the code, all allocated memory was freed afterwards. If we call @code{mtrace} on the example trace given above we would get a -different outout: +different output: @example drepper$ mtrace errlog diff --git a/manual/pattern.texi b/manual/pattern.texi index 4fa4c25525..250fa1e265 100644 --- a/manual/pattern.texi +++ b/manual/pattern.texi @@ -258,7 +258,7 @@ containing a given name. The @code{glob} function reads the @code{struct dirent} members listed above and makes a copy of the file name in the @code{d_name} member immediately after the @code{gl_readdir} callback function returns. -Future invocations of any of the callback functions may dealloacte or +Future invocations of any of the callback functions may deallocate or reuse the buffer. It is the responsibility of the caller of the @code{glob} function to allocate and deallocate the buffer, around the call to @code{glob} or using the callback functions. For example, an diff --git a/manual/process.texi b/manual/process.texi index 9307379194..c8413a5a58 100644 --- a/manual/process.texi +++ b/manual/process.texi @@ -254,7 +254,7 @@ It is declared in the header file @file{unistd.h}. @c handlers, and unlocks the internal lock. The child bumps the fork @c generation, sets the thread-local pid, resets cpu clocks, initializes @c the robust mutex list, the stream locks, the IO_list lock, the dynamic -@c loader lock, runs the child handlers, reseting ref counters to 1, and +@c loader lock, runs the child handlers, resetting ref counters to 1, and @c initializes the fork lock. These are all safe, unless atfork @c handlers themselves are unsafe. The @code{fork} function creates a new process. diff --git a/manual/socket.texi b/manual/socket.texi index 68c930b552..f0e35d9e13 100644 --- a/manual/socket.texi +++ b/manual/socket.texi @@ -821,7 +821,7 @@ here. The address is stored in network byte order. This combines the IPv6 traffic class and flow label values, as found in the IPv6 header. This field is stored in network byte order. Only the 28 lower bits (of the number in network byte order) are used; the -remainig bits must be zero. The lower 20 bits are the flow label, and +remaining bits must be zero. The lower 20 bits are the flow label, and bits 20 to 27 are the the traffic class. Typically, this field is zero. diff --git a/manual/threads.texi b/manual/threads.texi index a721c7f464..e5544ff3da 100644 --- a/manual/threads.texi +++ b/manual/threads.texi @@ -945,7 +945,7 @@ undefined behavior.) In any case, an application must not write to @code{__libc_single_threaded} even if it has joined the last application-created thread because future versions of @theglibc{} may create background threads after the first thread has been created, and -the application has no way of knowning that these threads are present. +the application has no way of knowing that these threads are present. @node Restartable Sequences @subsubsection Restartable Sequences diff --git a/manual/time.texi b/manual/time.texi index 0c7a942b4c..3aabdc4953 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -503,7 +503,7 @@ Systems may support more than just these two clocks. @deftypefun int clock_gettime (clockid_t @var{clock}, struct timespec *@var{ts}) @standards{POSIX.1, time.h} -Get the current time accoding to the clock identified by @var{clock}, +Get the current time according to the clock identified by @var{clock}, storing it as seconds and nanoseconds in @code{*@var{ts}}. @xref{Time Types}, for a description of @code{struct timespec}. diff --git a/manual/tunables.texi b/manual/tunables.texi index 130f94b2bc..4ca0e42a11 100644 --- a/manual/tunables.texi +++ b/manual/tunables.texi @@ -446,7 +446,7 @@ stack cache exceeds this size, unused thread stacks are returned to the kernel, to bring the cache size below this limit. The value is measured in bytes. The default is @samp{41943040} -(fourty mibibytes). +(forty mibibytes). @end deftp @deftp Tunable glibc.pthread.rseq @@ -625,7 +625,7 @@ and the process manage memory. @deftp Tunable glibc.mem.tagging If the hardware supports memory tagging, this tunable can be used to control the way @theglibc{} uses this feature. At present this is only -supported on AArch64 systems with the MTE extention; it is ignored for +supported on AArch64 systems with the MTE extension; it is ignored for all other systems. This tunable takes a value between 0 and 255 and acts as a bitmask diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index f27ffddee1..a0388c907e 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -271,7 +271,7 @@ __MATHCALL (nextdown,, (_Mdouble_ __x)); __MATHCALL (nextup,, (_Mdouble_ __x)); # endif -/* Return the remainder of integer divison X / Y with infinite precision. */ +/* Return the remainder of integer division X / Y with infinite precision. */ __MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y)); # ifdef __USE_ISOC99 diff --git a/math/fenv.h b/math/fenv.h index 6bb6e2d2ac..2279244372 100644 --- a/math/fenv.h +++ b/math/fenv.h @@ -25,7 +25,7 @@ #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #include <bits/libc-header-start.h> -/* Get the architecture dependend definitions. The following definitions +/* Get the architecture dependent definitions. The following definitions are expected to be done: fenv_t type for object representing an entire floating-point diff --git a/math/libm-test-support.c b/math/libm-test-support.c index a827e95361..8fe3082929 100644 --- a/math/libm-test-support.c +++ b/math/libm-test-support.c @@ -83,7 +83,7 @@ functions. Inline functions: Inlining functions should give an improvement in - speed - but not in precission. The inlined functions return + speed - but not in precision. The inlined functions return reasonable values for a reasonable range of input values. The result is not necessarily correct for all values and exceptions are not correctly raised in all cases. Problematic input and return diff --git a/math/math.h b/math/math.h index 6dc0604132..6427c72276 100644 --- a/math/math.h +++ b/math/math.h @@ -1301,7 +1301,7 @@ iszero (__T __val) these operations. Generic support in GCC for these as builtins went in 2.97, but not all cpus added their patterns until 3.1. Therefore we enable the builtins from 3.1 onwards and use a generic implementation - othwerwise. */ + otherwise. */ # define isgreater(x, y) __builtin_isgreater(x, y) # define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) # define isless(x, y) __builtin_isless(x, y) diff --git a/math/test-fenv.c b/math/test-fenv.c index 5b5f461dcd..0af7141ba7 100644 --- a/math/test-fenv.c +++ b/math/test-fenv.c @@ -761,7 +761,7 @@ initial_tests (void) test_exceptions ("Initially all exceptions should be cleared", NO_EXC, 0); #ifdef FE_TONEAREST - test_rounding ("Rounding direction should be initalized to nearest", + test_rounding ("Rounding direction should be initialized to nearest", FE_TONEAREST); #endif } diff --git a/math/tgmath.h b/math/tgmath.h index 0bcfb7ca85..ca90c5b4da 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -961,7 +961,7 @@ #define nexttoward(Val1, Val2) \ __TGMATH_BINARY_FIRST_REAL_STD_ONLY (Val1, Val2, nexttoward) -/* Return the remainder of integer divison X / Y with infinite precision. */ +/* Return the remainder of integer division X / Y with infinite precision. */ #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder) /* Return X times (2 to the Nth power). */ diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c index 05085d3eb5..35b4328ae7 100644 --- a/misc/hsearch_r.c +++ b/misc/hsearch_r.c @@ -160,7 +160,7 @@ __hsearch_r (ENTRY item, ACTION action, ENTRY **retval, if (hval == 0) ++hval; - /* First hash function: simply take the modul but prevent zero. */ + /* First hash function: simply take the modulo but prevent zero. */ idx = hval % htab->size + 1; if (htab->table[idx].used) diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c index 3d838d97cc..4570b13524 100644 --- a/misc/preadv64v2.c +++ b/misc/preadv64v2.c @@ -19,7 +19,7 @@ #include <errno.h> #include <sys/uio.h> -/* Same as preadv64 but with an addional flag argument. */ +/* Same as preadv64 but with an additional flag argument. */ ssize_t preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset, int flags) diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c index 7f7c70816e..0be19d7b4d 100644 --- a/misc/pwritev64v2.c +++ b/misc/pwritev64v2.c @@ -19,7 +19,7 @@ #include <errno.h> #include <sys/uio.h> -/* Same as preadv64 but with an addional flag argument. */ +/* Same as preadv64 but with an additional flag argument. */ ssize_t pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset, int flags) diff --git a/misc/search.h b/misc/search.h index 0ca868e12a..30191d40cc 100644 --- a/misc/search.h +++ b/misc/search.h @@ -78,7 +78,7 @@ struct _ENTRY; /* Family of hash table handling functions. The functions also have reentrant counterparts ending with _r. The non-reentrant - functions all work on a signle internal hashing table. */ + functions all work on a single internal hashing table. */ /* Search for entry matching ITEM.key in internal hash table. If ACTION is `FIND' return found entry or signal error by returning diff --git a/misc/tst-efgcvt-template.c b/misc/tst-efgcvt-template.c index b924659a3d..dc37f5598f 100644 --- a/misc/tst-efgcvt-template.c +++ b/misc/tst-efgcvt-template.c @@ -208,13 +208,13 @@ special (void) res = ECVT_R (123.456, 10, &decpt, &sign, buf, 1); if (res == 0) { - printf (NAME (ECVT_R) " with a too small buffer was succesful.\n"); + printf (NAME (ECVT_R) " with a too small buffer was successful.\n"); support_record_failure (); } res = FCVT_R (123.456, 10, &decpt, &sign, buf, 1); if (res == 0) { - printf (NAME (FCVT_R) " with a too small buffer was succesful.\n"); + printf (NAME (FCVT_R) " with a too small buffer was successful.\n"); support_record_failure (); } } diff --git a/misc/tst-mntent-blank-corrupt.c b/misc/tst-mntent-blank-corrupt.c index 5cde4ced47..ef7fe03a6d 100644 --- a/misc/tst-mntent-blank-corrupt.c +++ b/misc/tst-mntent-blank-corrupt.c @@ -34,7 +34,7 @@ do_test (void) /* The corruption happens here ... */ getmntent (fp); - /* ... but trigers here. */ + /* ... but triggers here. */ endmntent (fp); /* If the test failed, we would crash, and not hit this point. */ diff --git a/nptl/TODO b/nptl/TODO index 70b8fe4f76..357ee790b0 100644 --- a/nptl/TODO +++ b/nptl/TODO @@ -26,6 +26,6 @@ syscall needed. post if they get canceled. - possibly add counter field. This requires reviving the - differences between old and new semaphose funtions. The old ones - stay as they are now. The new once can use an additional field - wich is the counter for the number of waiters + differences between old and new semaphore functions. The old ones + stay as they are now. The new ones can use an additional field + which is the counter for the number of waiters diff --git a/nptl/descr.h b/nptl/descr.h index f8b5ac7c22..746a4b9e4a 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -119,7 +119,7 @@ struct robust_list_head }; -/* Data strcture used to handle thread priority protection. */ +/* Data structure used to handle thread priority protection. */ struct priority_protection_data { int priomax; diff --git a/nptl/futex-internal.c b/nptl/futex-internal.c index 9815060646..5a64d14338 100644 --- a/nptl/futex-internal.c +++ b/nptl/futex-internal.c @@ -59,7 +59,7 @@ __futex_abstimed_wait_common64 (unsigned int* futex_word, FUTEX_BITSET_MATCH_ANY); else return INTERNAL_SYSCALL_CALL (futex_time64, futex_word, op, expected, - abstime, NULL /* Ununsed. */, + abstime, NULL /* Unused. */, FUTEX_BITSET_MATCH_ANY); } diff --git a/nptl/perf.c b/nptl/perf.c index 1f50c1035d..1f29a678b7 100644 --- a/nptl/perf.c +++ b/nptl/perf.c @@ -50,7 +50,7 @@ static const struct argp_option options[] = { { NULL, 0, NULL, 0, "\ -This is a test for threads so we allow ther user to selection the number of \ +This is a test for threads so we allow the user to select the number of \ threads which are used at any one time. Independently the total number of \ rounds can be selected. This is the total number of threads which will have \ run when the process terminates:" }, @@ -387,7 +387,7 @@ main (int argc, char *argv[]) tmain = pthread_self (); /* We use signal SIGUSR1 for communication between the threads and - the main thread. We only want sychronous notification. */ + the main thread. We only want synchronous notification. */ if (sync_method == sync_signal) { sigemptyset (&ss); diff --git a/nptl/pthread_cond_common.c b/nptl/pthread_cond_common.c index 3ca9ab92b9..7440bb18e6 100644 --- a/nptl/pthread_cond_common.c +++ b/nptl/pthread_cond_common.c @@ -230,7 +230,7 @@ __condvar_quiesce_and_switch_g1 (pthread_cond_t *cond, uint64_t wseq, /* First, set the closed flag on __g_signals. This tells waiters that are about to wait that they shouldn't do that anymore. This basically - serves as an advance notificaton of the upcoming change to __g1_start; + serves as an advance notification of the upcoming change to __g1_start; waiters interpret it as if __g1_start was larger than their waiter sequence position. This allows us to change __g1_start after waiting for all existing waiters with group references to leave, which in turn diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 15bbd8b7e8..806c432d13 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -583,7 +583,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex, the futex. We also need to do that if we skipped adding a signal because the group is being closed because while __condvar_quiesce_and_switch_g1 could have closed - the group, it might stil be waiting for futex waiters to + the group, it might still be waiting for futex waiters to leave (and one of those waiters might be the one we stole the signal from, which cause it to block using the futex). */ @@ -603,7 +603,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex, __condvar_confirm_wakeup (cond, private); /* Woken up; now re-acquire the mutex. If this doesn't fail, return RESULT, - which is set to ETIMEDOUT if a timeout occured, or zero otherwise. */ + which is set to ETIMEDOUT if a timeout occurred, or zero otherwise. */ err = __pthread_mutex_cond_lock (mutex); /* XXX Abort on errors that are disallowed by POSIX? */ return (err != 0) ? err : result; diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index a3619da1e2..1ac8862ed2 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -218,7 +218,7 @@ late_init (void) __pthread_current_priority reuse the same lock, PD->lock, for a similar purpose e.g. synchronizing the setting of similar thread attributes. These functions are never called before the thread is - created, so don't participate in startup syncronization, but given + created, so don't participate in startup synchronization, but given that the lock is present already and in the unlocked state, reusing it saves space. diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c index de7edfa092..65647bda57 100644 --- a/nptl/pthread_getattr_np.c +++ b/nptl/pthread_getattr_np.c @@ -43,7 +43,7 @@ __pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr) lll_lock (thread->lock, LLL_PRIVATE); /* The thread library is responsible for keeping the values in the - thread desriptor up-to-date in case the user changes them. */ + thread descriptor up-to-date in case the user changes them. */ memcpy (&iattr->schedparam, &thread->schedparam, sizeof (struct sched_param)); iattr->schedpolicy = thread->schedpolicy; diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c index d4f96c70ef..643841472f 100644 --- a/nptl/pthread_mutex_lock.c +++ b/nptl/pthread_mutex_lock.c @@ -234,7 +234,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex) /* The previous owner died. Try locking the mutex. */ int newval = id; #ifdef NO_INCR - /* We are not taking assume_other_futex_waiters into accoount + /* We are not taking assume_other_futex_waiters into account here simply because we'll set FUTEX_WAITERS anyway. */ newval |= FUTEX_WAITERS; #else @@ -438,7 +438,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex) int private = (robust ? PTHREAD_ROBUST_MUTEX_PSHARED (mutex) : PTHREAD_MUTEX_PSHARED (mutex)); - int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* ununsed */, + int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* unused */, NULL, private); if (e == ESRCH || e == EDEADLK) { diff --git a/nptl/sem_waitcommon.c b/nptl/sem_waitcommon.c index 647132c1ea..30200c941f 100644 --- a/nptl/sem_waitcommon.c +++ b/nptl/sem_waitcommon.c @@ -325,7 +325,7 @@ __sem_wait_32_finish (struct new_sem *sem) unsigned int wguess = atomic_load_relaxed (&sem->nwaiters); if (wguess == 1) /* We might be the last waiter, so unset. This needs acquire MO so that - it syncronizes with the release MO when setting the bit above; if we + it synchronizes with the release MO when setting the bit above; if we overwrite someone else that set the bit, we'll read in the following decrement of nwaiters at least from that release sequence, so we'll see if the other waiter is still active or if another writer entered diff --git a/nptl/tst-dlsym1.c b/nptl/tst-dlsym1.c index 19ba8f5640..bdf252b353 100644 --- a/nptl/tst-dlsym1.c +++ b/nptl/tst-dlsym1.c @@ -53,7 +53,7 @@ do_test (void) } if (pthread_join (tid3, NULL) != 0) { - puts ("2rd join failed"); + puts ("2nd join failed"); exit (1); } diff --git a/nptl/tst-rwlock20.c b/nptl/tst-rwlock20.c index 0904d4b658..0ea18fc428 100644 --- a/nptl/tst-rwlock20.c +++ b/nptl/tst-rwlock20.c @@ -26,7 +26,7 @@ #include <atomic.h> #include <support/xthread.h> -/* We realy want to set threads to 2 to reproduce this issue. The goal +/* We really want to set threads to 2 to reproduce this issue. The goal is to have one primary writer and a single reader, and to hit the bug that happens in the interleaving of those two phase transitions. However, on most hardware, adding a second writer seems to help the diff --git a/nptl/tst-stack4.c b/nptl/tst-stack4.c index 565eea4ebd..a27cfacb9c 100644 --- a/nptl/tst-stack4.c +++ b/nptl/tst-stack4.c @@ -1,4 +1,4 @@ -/* Test DTV size oveflow when pthread_create reuses old DTV and TLS is +/* Test DTV size overflow when pthread_create reuses old DTV and TLS is used by dlopened shared object. Copyright (C) 2014-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -23,7 +23,7 @@ #include <assert.h> #include <pthread.h> -/* The choices of thread count, and file counts are arbitary. +/* The choices of thread count, and file counts are arbitrary. The point is simply to run enough threads that an exiting thread has it's stack reused by another thread at the same time as new libraries have been loaded. */ diff --git a/nptl/tst-tls3.c b/nptl/tst-tls3.c index b1a40c624a..fdb376eed0 100644 --- a/nptl/tst-tls3.c +++ b/nptl/tst-tls3.c @@ -28,7 +28,7 @@ #define THE_SIG SIGUSR1 -/* The stack size can be overriden. With a sufficiently large stack +/* The stack size can be overridden. With a sufficiently large stack size, thread stacks for terminated threads are freed, but this does not happen with the default size of 1 MiB. */ enum { default_stack_size_in_mb = 1 }; diff --git a/nptl/tst-tsd3.c b/nptl/tst-tsd3.c index c755c0ceb4..0b3b01fe47 100644 --- a/nptl/tst-tsd3.c +++ b/nptl/tst-tsd3.c @@ -36,7 +36,7 @@ destr1 (void *arg) { puts ("set key2"); - /* Use an arbirary but valid pointer to avoid GCC warnings. */ + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ if (pthread_setspecific (key2, (void *) &left) != 0) { puts ("destr1: setspecific failed"); @@ -53,7 +53,7 @@ destr2 (void *arg) { puts ("set key1"); - /* Use an arbirary but valid pointer to avoid GCC warnings. */ + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ if (pthread_setspecific (key1, (void *) &left) != 0) { puts ("destr2: setspecific failed"); @@ -69,7 +69,7 @@ tf (void *arg) /* Let the destructors work. */ left = 7; - /* Use an arbirary but valid pointer to avoid GCC warnings. */ + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ if (pthread_setspecific (key1, (void *) &left) != 0 || pthread_setspecific (key2, (void *) &left) != 0) { diff --git a/nptl/tst-tsd4.c b/nptl/tst-tsd4.c index f832f4bc17..2ae577a642 100644 --- a/nptl/tst-tsd4.c +++ b/nptl/tst-tsd4.c @@ -33,7 +33,7 @@ destr (void *arg) { ++rounds; - /* Use an arbirary but valid pointer to avoid GCC warnings. */ + /* Use an arbitrary but valid pointer to avoid GCC warnings. */ if (pthread_setspecific (key, (void *) &rounds) != 0) { puts ("destr: setspecific failed"); @@ -45,7 +45,7 @@ destr (void *arg) static void * tf (void *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, (void *) &rounds) != 0) { puts ("tf: setspecific failed"); diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c index 1021039b4f..786abe3115 100644 --- a/nptl_db/td_thr_get_info.c +++ b/nptl_db/td_thr_get_info.c @@ -85,7 +85,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop) if (err != TD_OK) return err; - /* Fill in information. Clear first to provide reproducable + /* Fill in information. Clear first to provide reproducible results for the fields we do not fill in. */ memset (infop, '\0', sizeof (td_thrinfo_t)); diff --git a/nptl_db/thread_dbP.h b/nptl_db/thread_dbP.h index 8845722109..2cc2cb7dd3 100644 --- a/nptl_db/thread_dbP.h +++ b/nptl_db/thread_dbP.h @@ -32,7 +32,7 @@ #include <gnu/lib-names.h> #include <libc-diag.h> -/* Indeces for the symbol names. */ +/* Indices for the symbol names. */ enum { # define DB_STRUCT(type) SYM_SIZEOF_##type, diff --git a/nscd/connections.c b/nscd/connections.c index b1231a96db..a405a44a9b 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -1454,7 +1454,7 @@ cannot change to old working directory: %s; disabling paranoia mode"), paranoia = 0; free (cmdline); - /* Reenable the databases. */ + /* Re-enable the databases. */ time_t now = time (NULL); for (int cnt = 0; cnt < lastdb; ++cnt) if (dbs[cnt].enabled) @@ -1532,11 +1532,11 @@ nscd_run_prune (void *p) if (e == ETIMEDOUT || now >= dbs[my_number].wakeup_time || dbs[my_number].clear_cache) { - /* We will determine the new timout values based on the + /* We will determine the new timeout values based on the cache content. Should there be concurrent additions to the cache which are not accounted for in the cache pruning we want to know about it. Therefore set the - timeout to the maximum. It will be descreased when adding + timeout to the maximum. It will be decreased when adding new entries to the cache, if necessary. */ dbs[my_number].wakeup_time = MAX_TIMEOUT_VALUE; diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c index b8060da64f..be44951bd6 100644 --- a/nscd/initgrcache.c +++ b/nscd/initgrcache.c @@ -93,7 +93,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req, long int size; if (limit > 0) - /* We limit the size of the intially allocated array. */ + /* We limit the size of the initially allocated array. */ size = MIN (limit, 64); else /* No fixed limit on groups. Pick a starting buffer size. */ diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 7275ccb665..5588ade982 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -389,7 +389,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen, request_type type, void *response, size_t responselen) attribute_hidden; -/* Try to get a file descriptor for the shared meory segment +/* Try to get a file descriptor for the shared memory segment containing the database. */ extern struct mapped_database *__nscd_get_mapping (request_type type, const char *key, diff --git a/nscd/nscd.c b/nscd/nscd.c index 424106421f..eb79136b0f 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -600,7 +600,7 @@ check_pid (const char *file) /* If we cannot parse the file default to assuming nscd runs. If the PID is alive, assume it is running. That all unless - the PID is the same as the current process' since tha latter + the PID is the same as the current process' since the latter can mean we re-exec. */ if ((n != 1 || kill (pid, 0) == 0) && pid != getpid ()) return 1; diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c index 6a498b363c..aa41dc158d 100644 --- a/nscd/nscd_helper.c +++ b/nscd/nscd_helper.c @@ -251,7 +251,7 @@ __nscd_unmap (struct mapped_database *mapped) } -/* Try to get a file descriptor for the shared meory segment +/* Try to get a file descriptor for the shared memory segment containing the database. */ struct mapped_database * __nscd_get_mapping (request_type type, const char *key, @@ -443,7 +443,7 @@ __nscd_get_map_ref (request_type type, const char *name, #define MINIMUM_HASHENTRY_SIZE \ (offsetof (struct hashentry, dellist) + sizeof (int32_t)) -/* Don't return const struct datahead *, as eventhough the record +/* Don't return const struct datahead *, as even though the record is normally constant, it can change arbitrarily during nscd garbage collection. */ struct datahead * diff --git a/nscd/nscd_setup_thread.c b/nscd/nscd_setup_thread.c index ca363e66fe..5d6eff7a59 100644 --- a/nscd/nscd_setup_thread.c +++ b/nscd/nscd_setup_thread.c @@ -1,4 +1,4 @@ -/* Setup of nscd worker threads. Stub verison. +/* Setup of nscd worker threads. Stub version. Copyright (C) 2004-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c index 1db4bee2ff..a1c2053234 100644 --- a/nscd/nscd_stat.c +++ b/nscd/nscd_stat.c @@ -275,7 +275,7 @@ receive_print_stats (void) if (enabled[0] == '\0') /* The locale does not provide this information so we have to translate it ourself. Since we should avoid short translation - terms we artifically increase the length. */ + terms we artificially increase the length. */ enabled = data.dbs[i].enabled ? yesstr : nostr; if (check_file[0] == '\0') check_file = data.dbs[i].check_file ? yesstr : nostr; diff --git a/nss/nss_compat/compat-grp.c b/nss/nss_compat/compat-grp.c index 5d8a768a6e..92d099eb23 100644 --- a/nss/nss_compat/compat-grp.c +++ b/nss/nss_compat/compat-grp.c @@ -213,7 +213,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer, return NSS_STATUS_SUCCESS; } -/* This function handle the +group entrys in /etc/group */ +/* This function handle the +group entries in /etc/group */ static enum nss_status getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_compat/compat-pwd.c b/nss/nss_compat/compat-pwd.c index 5e07274db5..f9ad94006d 100644 --- a/nss/nss_compat/compat-pwd.c +++ b/nss/nss_compat/compat-pwd.c @@ -437,7 +437,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer, return NSS_STATUS_SUCCESS; } -/* This function handle the +user entrys in /etc/passwd */ +/* This function handle the +user entries in /etc/passwd */ static enum nss_status getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_compat/compat-spwd.c b/nss/nss_compat/compat-spwd.c index 44220ad577..c3ce41b186 100644 --- a/nss/nss_compat/compat-spwd.c +++ b/nss/nss_compat/compat-spwd.c @@ -387,7 +387,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent, } -/* This function handle the +user entrys in /etc/shadow */ +/* This function handle the +user entries in /etc/shadow */ static enum nss_status getspnam_plususer (const char *name, struct spwd *result, ent_t *ent, char *buffer, size_t buflen, int *errnop) diff --git a/nss/nss_database.c b/nss/nss_database.c index 2edcab4b9d..128b73afeb 100644 --- a/nss/nss_database.c +++ b/nss/nss_database.c @@ -331,7 +331,7 @@ nss_database_reload (struct nss_database_data *staging, if (fp != NULL) ok = nss_database_reload_1 (staging, fp); - /* Now we have non-NULL entries where the user explictly listed the + /* Now we have non-NULL entries where the user explicitly listed the service in nsswitch.conf. */ /* Apply defaults. */ diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c index 136706001d..a5279dc08d 100644 --- a/nss/nss_db/db-open.c +++ b/nss/nss_db/db-open.c @@ -27,7 +27,7 @@ #include "nss_db.h" -/* Open the database stored in FILE. If succesful, store either a +/* Open the database stored in FILE. If successful, store either a pointer to the mapped file or a file handle for the file in H and return NSS_STATUS_SUCCESS. On failure, return the appropriate lookup status. */ diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h index 6e77b4c419..a408b89ef1 100644 --- a/nss/nss_db/nss_db.h +++ b/nss/nss_db/nss_db.h @@ -57,7 +57,7 @@ struct nss_db_map }; -/* Open the database stored in FILE. If succesful, store the database +/* Open the database stored in FILE. If successful, store the database handle in *MAPPINGP or a file descriptor for the file in *FDP and return NSS_STATUS_SUCCESS. On failure, return the appropriate lookup status. */ diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c index 4b1ab0537f..c010d21fde 100644 --- a/nss/nss_files/files-network.c +++ b/nss/nss_files/files-network.c @@ -42,7 +42,7 @@ LINE_PARSER STRING_FIELD (addr, isspace, 1); /* 'inet_network' does not add zeroes at the end if the network number - does not four byte values. We add them outselves if necessary. */ + does not four byte values. We add them ourselves if necessary. */ cp = strchr (addr, '.'); if (cp != NULL) { diff --git a/nss/nss_parse_line_result.c b/nss/nss_parse_line_result.c index 1d257af4fb..8f9917168d 100644 --- a/nss/nss_parse_line_result.c +++ b/nss/nss_parse_line_result.c @@ -29,7 +29,7 @@ __nss_parse_line_result (FILE *fp, off64_t offset, int parse_line_result) switch (__builtin_expect (parse_line_result, 1)) { case 1: - /* Sucess. */ + /* Success. */ return 0; case 0: /* Parse error. */ diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf index 40030d1dd7..07c3476e9c 100644 --- a/nss/nsswitch.conf +++ b/nss/nsswitch.conf @@ -50,7 +50,7 @@ # shadow: db files # group: db files -# In alphabetical order. Re-order as required to optimize peformance. +# In alphabetical order. Re-order as required to optimize performance. aliases: files ethers: files group: files diff --git a/nss/test-netdb.c b/nss/test-netdb.c index e835ba6a53..d76eea4b48 100644 --- a/nss/test-netdb.c +++ b/nss/test-netdb.c @@ -157,7 +157,7 @@ test_hosts (void) } else if (strcmp (hptr1->h_name, hptr2->h_name) != 0) { - printf ("localhost and LocalHost have different canoncial name\n"); + printf ("localhost and LocalHost have different canonical name\n"); printf ("gethostbyname (\"localhost\")->%s\n", hptr1->h_name); printf ("gethostbyname (\"LocalHost\")->%s\n", hptr2->h_name); ++error_count; diff --git a/posix/BOOST.tests b/posix/BOOST.tests index 98fd3b6abf..756fa00486 100644 --- a/posix/BOOST.tests +++ b/posix/BOOST.tests @@ -93,7 +93,7 @@ aa\) ! . \0 0 1 ; -; now move on to the repetion ops, +; now move on to the repetition ops, ; starting with operator * - match_default normal REG_EXTENDED a* b 0 0 @@ -275,7 +275,7 @@ a(b*)c\1d abbcbbbd -1 -1 ^(.)\1 abc -1 -1 a([bc])\1d abcdabbd 4 8 5 6 ; strictly speaking this is at best ambiguous, at worst wrong, this is what most -; re implimentations will match though. +; re implementations will match though. a(([bc])\2)*d abbccd 0 6 3 5 3 4 a(([bc])\2)*d abbcbd -1 -1 diff --git a/posix/PTESTS b/posix/PTESTS index 65e5084915..601cef8d72 100644 --- a/posix/PTESTS +++ b/posix/PTESTS @@ -3,7 +3,7 @@ # other plain ASCII character had been used by a test. Characters # outside the plain ASCII range have a risk of being mangled by modern # editors. So, avoid using | in a test, or if needed, select a new -# delimeter. +# delimiter. # 2.8.2 Regular Expression General Requirement 2|4|bb*|abbbc| 2|2|bb*|ababbbc| diff --git a/posix/globtest.c b/posix/globtest.c index 2bba5228f5..d1712656dd 100644 --- a/posix/globtest.c +++ b/posix/globtest.c @@ -106,7 +106,7 @@ main (int argc, char *argv[]) if ((glob_flags & GLOB_DOOFFS) && g.gl_pathv[0] == NULL) g.gl_pathv[0] = (char *) "abc"; - /* Print out the names. Unless otherwise specified, qoute them. */ + /* Print out the names. Unless otherwise specified, quote them. */ if (g.gl_pathv) { for (i = 0; i < g.gl_offs + g.gl_pathc; ++i) diff --git a/posix/regexbug1.c b/posix/regexbug1.c index 17643e7e4d..165bc07b2f 100644 --- a/posix/regexbug1.c +++ b/posix/regexbug1.c @@ -26,7 +26,7 @@ main (void) error (0, 0, "\"0*[0-9][0-9]\" does not match \"002\""); res = 1; } - puts ("Succesful match with \"0*[0-9][0-9]\""); + puts ("Successful match with \"0*[0-9][0-9]\""); regfree (&re); @@ -43,7 +43,7 @@ main (void) error (0, 0, "\"[0a]*[0-9][0-9]\" does not match \"002\""); res = 1; } - puts ("Succesful match with \"[0a]*[0-9][0-9]\""); + puts ("Successful match with \"[0a]*[0-9][0-9]\""); regfree (&re); diff --git a/posix/runptests.c b/posix/runptests.c index 02fe0061ff..acb800b57a 100644 --- a/posix/runptests.c +++ b/posix/runptests.c @@ -77,7 +77,7 @@ main (int argc, char *argv[]) } else if (tests[cnt].start == -2) { - puts ("compiling suceeds, FAIL"); + puts ("compiling succeeds, FAIL"); errors++; continue; } diff --git a/posix/runtests.c b/posix/runtests.c index d44bf36266..b40b785572 100644 --- a/posix/runtests.c +++ b/posix/runtests.c @@ -81,7 +81,7 @@ run_a_test (int id, const struct a_test * t) else if (t->expected == 2) { printf ("test %d\n", id); - printf ("pattern \"%s\" successfull compilation not expected\n", + printf ("pattern \"%s\" successful compilation not expected\n", t->pattern); return 1; } diff --git a/posix/rxspencer/tests b/posix/rxspencer/tests index 3ad46e2a61..810e4be79c 100644 --- a/posix/rxspencer/tests +++ b/posix/rxspencer/tests @@ -183,7 +183,7 @@ a\(***\)b bC BADRPT # The following two tests are not correct: #{ & { { #{abc & {abc {abc -# '{' is always a special char outside bracket expressions. So test ony BRE: +# '{' is always a special char outside bracket expressions. So test only BRE: { b { { {abc b {abc {abc {1 C BADRPT diff --git a/posix/spawn.h b/posix/spawn.h index 0a6a070523..04cc525fa5 100644 --- a/posix/spawn.h +++ b/posix/spawn.h @@ -220,7 +220,7 @@ posix_spawn_file_actions_addclosefrom_np (posix_spawn_file_actions_t *, int __from) __THROW __nonnull ((1)); -/* Add an action to set the process group of the forground process group +/* Add an action to set the process group of the foreground process group associated with the terminal TCFD. */ extern int posix_spawn_file_actions_addtcsetpgrp_np (posix_spawn_file_actions_t *, diff --git a/posix/tst-exec.c b/posix/tst-exec.c index a8c0ba2e05..2ba4dcdaa3 100644 --- a/posix/tst-exec.c +++ b/posix/tst-exec.c @@ -131,7 +131,7 @@ do_test (int argc, char *argv[]) - three parameters left if called through re-execution + file descriptor number which is supposed to be closed + the open file descriptor - + the name of the closed desriptor + + the name of the closed descriptor */ if (restart) diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c index 59157ff217..c1aba3886b 100644 --- a/posix/tst-execveat.c +++ b/posix/tst-execveat.c @@ -111,14 +111,14 @@ do_test (void) call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__); fd = xopen ("/usr", O_PATH | O_DIRECTORY, 0); /* Same check for absolute pathname, but with input file descriptor - openend with different flags. The dirfd should be ignored. */ + opened with different flags. The dirfd should be ignored. */ call_execveat (fd, "/bin/sh", 0, 0, __LINE__); xclose (fd); #endif fd = xopen ("/usr", O_RDONLY, 0); /* Same check for absolute pathname, but with input file descriptor - openend with different flags. The dirfd should be ignored. */ + opened with different flags. The dirfd should be ignored. */ call_execveat (fd, "/bin/sh", 0, 0, __LINE__); xclose (fd); diff --git a/posix/tst-glob_lstat_compat.c b/posix/tst-glob_lstat_compat.c index 79d83e0ec0..937ad77da3 100644 --- a/posix/tst-glob_lstat_compat.c +++ b/posix/tst-glob_lstat_compat.c @@ -43,7 +43,7 @@ compat_symbol_reference (libc, glob, glob, GLIBC_2_0); #endif /* Compat glob should not call gl_lstat since for some old binaries it - might be unitialized (for instance GNUmake). Check if it is indeed + might be uninitialized (for instance GNUmake). Check if it is indeed not called. */ static bool stat_called; static bool lstat_called; diff --git a/posix/tst-pcre.c b/posix/tst-pcre.c index 220baa3bab..e7a33a36a8 100644 --- a/posix/tst-pcre.c +++ b/posix/tst-pcre.c @@ -177,7 +177,7 @@ main (int argc, char **argv) if (!rm_valid) { - printf ("%zd: No preceeding pattern or search string\n", linenum); + printf ("%zd: No preceding pattern or search string\n", linenum); ret = 1; continue; } diff --git a/posix/tst-posix_fadvise-common.c b/posix/tst-posix_fadvise-common.c index fb461d30d2..2a4e4d6a7f 100644 --- a/posix/tst-posix_fadvise-common.c +++ b/posix/tst-posix_fadvise-common.c @@ -53,7 +53,7 @@ do_prepare (int argc, char **argv) FAIL_EXIT1 ("cannot open fifo: %m"); } -/* Effectivelly testing posix_fadvise is hard because side effects are not +/* Effectively testing posix_fadvise is hard because side effects are not observed without checking either performance or any kernel specific supplied information. Also, the syscall is meant to be an advisory, so the kernel is free to use this information in any way it deems fit, diff --git a/posix/tst-regcomp-truncated.c b/posix/tst-regcomp-truncated.c index cd8f1c5bca..c601ae62d8 100644 --- a/posix/tst-regcomp-truncated.c +++ b/posix/tst-regcomp-truncated.c @@ -82,7 +82,7 @@ do_test (void) /* Arbitrary Unicode codepoint at which we stop generating characters. We do not probe the whole range because that would - take too long due to combinatorical exploision as the result of + take too long due to combinatorial explosion as the result of combination with other flags. */ static const wchar_t last_character = 0xfff; diff --git a/posix/tst-regex.c b/posix/tst-regex.c index a10785464c..745e10ffc5 100644 --- a/posix/tst-regex.c +++ b/posix/tst-regex.c @@ -511,7 +511,7 @@ run_test_backwards (const char *expr, const char *mem, size_t memlen, return cnt != expected; } -/* If --timing is used we will need a larger timout. */ +/* If --timing is used we will need a larger timeout. */ #define TIMEOUT 50 #define CMDLINE_OPTIONS \ {"timing", no_argument, &timing, 1 }, diff --git a/posix/tst-regex.input b/posix/tst-regex.input index c48660d23a..1de30b3d52 100644 --- a/posix/tst-regex.input +++ b/posix/tst-regex.input @@ -251,9 +251,9 @@ 1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - * libio/iofopen64.c: Fix typo. Avoid unnessary casts. + * libio/iofopen64.c: Fix typo. Avoid unnecessary casts. * libio/iopopen.c: Unlink file before freeing it if command - creation failed. Avoid unnessary casts. + creation failed. Avoid unnecessary casts. * libio/iofdopen.c: Avoid unnecessary cast. * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to _IO_funlockfile. @@ -276,7 +276,7 @@ 1998-08-07 Cristian Gafton <gafton@redhat.com> - * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. + * pwd/putpwent.c (putpwent): Avoid writing (none) in the passwd file. * shadow/putspent.c (putspent): Likewise. * grp/putgrent.c: New file. * grp/Makefile (routines): Add putgrent. @@ -300,7 +300,7 @@ 1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> * misc/mktemp.c: Add include <stlib.h> for prototype, remove - unneccessary includes. + unnecessary includes. * misc/mkstemp.c: Likewise. 1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com> @@ -402,7 +402,7 @@ as real name for system call and make setresuid a weak alias. Set caller to seteuid. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using - `setresuid' syscall if availble. Fixes problems with sendmail + `setresuid' syscall if available. Fixes problems with sendmail which expects `seteuid' to not set the saved user ID. 1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> @@ -2330,7 +2330,7 @@ * sysdeps/mach/hurd/ftruncate.c: Really define function as __ftruncate. * sysdeps/mach/hurd/truncate.c: Include <unistd.h>. - (truncate): Fix function defenition to match prototype. + (truncate): Fix function definition to match prototype. 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl> @@ -3619,7 +3619,7 @@ 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> - * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the + * sysdeps/unix/bsd/vax/vfork.S: Missed double occurrences of "the the" in one line - fixed it. * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. @@ -3771,7 +3771,7 @@ 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com> - * manual/memory.texi: Add back accidently removed line. + * manual/memory.texi: Add back accidentally removed line. 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl> @@ -3833,7 +3833,7 @@ 1998-05-15 Ulrich Drepper <drepper@cygnus.com> - * iconv/loop.c: Let user add code to use and set paramaters. + * iconv/loop.c: Let user add code to use and set parameters. * iconvdata/iso-2022-kr.c: Correct to-loop. @@ -4313,7 +4313,7 @@ $(objpfx)sysd-dirs): Move them... * Makeconfig: ... here. * Makerules (subdirs-stamps, subdirs-stamp-o): Always define. - (stubs): Fix circular depedency. + (stubs): Fix circular dependency. (do-makelib): Clean up. (lib): Don't depend on lib-noranlib. ($(objpfx)stamp.oS): Remove special case for empty @@ -4533,7 +4533,7 @@ * intl/localealias.c (read_alias_file): Use unsigned char for local variables. Remove unused variable tp. * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * - for type of codeset. For loosing Solaris systems. + for type of codeset. For losing Solaris systems. * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable len if not needed. @@ -4951,7 +4951,7 @@ 1998-04-22 Gordon Matzigkeit <gord@profitpress.com> - * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'. + * Makerules: Change occurrences of `cd dir; cmd' to `cd dir && cmd'. * Makefile: Likewise. * posix/Makefile: Likewise. * sysdeps/mach/hurd/Makefile: Likewise. @@ -5381,7 +5381,7 @@ * iconv/gconv_builtin.h: Add UCS4 support. Change references to UCS4 into references to INTERNAL. * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters. - Add endianess support to UCS functions. Change references to + Add endianness support to UCS functions. Change references to UCS4 into references to INTERNAL. * iconv/gconv_int.h: Change references to UCS4 into references to INTERNAL. @@ -5633,7 +5633,7 @@ 1998-04-12 Ulrich Drepper <drepper@cygnus.com> - * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. + * iconvdata/sjis.c (gconv): Remove superfluous variable declarations. * iconvdata/Makefile: Add rules for big5 conversion. * iconvdata/gconv-modules: Likewise. @@ -5969,7 +5969,7 @@ 1998-04-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case - template is wrong. Remove unused varaible `ignored'. + template is wrong. Remove unused variable `ignored'. 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> @@ -6667,7 +6667,7 @@ * elf/ldd.bash.in: Collect output of ldd --verify in verify_out. * elf/ldd.sh.in: Likewise. * elf/ldsodefs.h: Declare _dl_correct_cache_id. - * elf/rtld.c (dl_main): In --verify mode allow platform specifc action. + * elf/rtld.c (dl_main): In --verify mode allow platform specific action. Use strsep correctly. (process_envvars): Allow platform specific variables. * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable. @@ -7324,7 +7324,7 @@ * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. Optimize memory handling. - * sysdeps/unix/closedir.c: Optmize memory handling. + * sysdeps/unix/closedir.c: Optimize memory handling. 1998-03-17 Ulrich Drepper <drepper@cygnus.com> @@ -8495,7 +8495,7 @@ (_mcleanup): Don't call write_gmon if in error state. Don't try to free array if not successfully allocated. - * elf/dl-load.c (STRING): Define to __STRING to enble expansion. + * elf/dl-load.c (STRING): Define to __STRING to enable expansion. Include elf.h to get macro definitions. Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE. @@ -9351,7 +9351,7 @@ * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target directory first and ignore install error. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract + * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Subtract 128 from ptyno and fix a typo for the BSD style pty. 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> @@ -9534,7 +9534,7 @@ [PR libc/441] * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first - occurence in cache. Reported by Rudolf Leitgeb + occurrence in cache. Reported by Rudolf Leitgeb <leitgeb@leland.stanford.edu>. [PR libc/440] @@ -10309,7 +10309,7 @@ * string/strsignal.c: Add support for real-time signals. * sysdeps/generic/_strerror.c: Fix Handling of unknown error in - presense of small buffer. + presence of small buffer. * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros. @@ -11253,7 +11253,7 @@ 1997-12-06 17:00 H.J. Lu <hjl@gnu.org> * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask - beyound its size. + beyond its size. * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto. * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto. @@ -11371,7 +11371,7 @@ declaration to __syscall_rt_sigaction. * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of - non-existant <sigcontext.h>. + non-existent <sigcontext.h>. 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de> @@ -11407,7 +11407,7 @@ * Makeconfig: Add shared-thread-library variable. - * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. + * math/Makefile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES here. * sysdeps/m68k/fpu/e_acos.c: Likewise. @@ -12313,7 +12313,7 @@ (CFLAGS-locfile.c): Likewise. Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>. - * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for + * misc/hsearch_r.c (hsearch_r): Avoid indefinitely search for non-existing entry if the table is full. * posix/regex.h: Pretty print. diff --git a/posix/tst-spawn5.c b/posix/tst-spawn5.c index 1bd1afabcc..6b3d11cf82 100644 --- a/posix/tst-spawn5.c +++ b/posix/tst-spawn5.c @@ -269,7 +269,7 @@ do_test (int argc, char *argv[]) + argv[1]: the application name + argv[2]: the lowest file descriptor expected + argv[3]: first expected open file descriptor optional - + argv[n]: last expected open file descritptor optional + + argv[n]: last expected open file descriptor optional * When built with --enable-hardcoded-path-in-tests or issued without using the loader directly. */ diff --git a/posix/wordexp.c b/posix/wordexp.c index b34c4a939b..994d79161f 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -817,8 +817,8 @@ exec_comm_child (char *comm, int *fildes, bool showerr, bool noexec) __posix_spawn_file_actions_init (&fa); /* Redirect output. For check syntax only (noexec being true), exec_comm - explicits sets fildes[1] to -1, so check its value to avoid a failure in - __posix_spawn_file_actions_adddup2. */ + explicitly sets fildes[1] to -1, so check its value to avoid a failure + in __posix_spawn_file_actions_adddup2. */ if (fildes[1] != -1) { if (__glibc_likely (fildes[1] != STDOUT_FILENO)) diff --git a/resolv/arpa/nameser_compat.h b/resolv/arpa/nameser_compat.h index f1c390f3b9..f929661250 100644 --- a/resolv/arpa/nameser_compat.h +++ b/resolv/arpa/nameser_compat.h @@ -44,7 +44,7 @@ typedef struct { /* fields in third byte */ unsigned qr: 1; /*%< response flag */ unsigned opcode: 4; /*%< purpose of message */ - unsigned aa: 1; /*%< authoritive answer */ + unsigned aa: 1; /*%< authoritative answer */ unsigned tc: 1; /*%< truncated message */ unsigned rd: 1; /*%< recursion desired */ /* fields in fourth byte */ @@ -58,7 +58,7 @@ typedef struct { /* fields in third byte */ unsigned rd :1; /*%< recursion desired */ unsigned tc :1; /*%< truncated message */ - unsigned aa :1; /*%< authoritive answer */ + unsigned aa :1; /*%< authoritative answer */ unsigned opcode :4; /*%< purpose of message */ unsigned qr :1; /*%< response flag */ /* fields in fourth byte */ diff --git a/resolv/bits/types/res_state.h b/resolv/bits/types/res_state.h index 2544a627f6..79e079c5c9 100644 --- a/resolv/bits/types/res_state.h +++ b/resolv/bits/types/res_state.h @@ -11,7 +11,7 @@ #define MAXRESOLVSORT 10 /* number of net to sort on */ struct __res_state { - int retrans; /* retransmition time interval */ + int retrans; /* retransmission time interval */ int retry; /* number of times to retransmit */ unsigned long options; /* option flags - see below. */ int nscount; /* number of name servers */ diff --git a/resolv/gai_misc.c b/resolv/gai_misc.c index 9e3b1d29b7..d02bd7ed23 100644 --- a/resolv/gai_misc.c +++ b/resolv/gai_misc.c @@ -85,11 +85,11 @@ static int idle_thread_count; /* These are the values used for optimization. We will probably - create a funcion to set these values. */ + create a function to set these values. */ static struct gaiinit optim = { 20, /* int gai_threads; Maximal number of threads. */ - 64, /* int gai_num; Number of expected simultanious requests. */ + 64, /* int gai_num; Number of expected simultaneous requests. */ 0, 0, 0, diff --git a/resolv/gai_misc.h b/resolv/gai_misc.h index 439bed361d..1e245a509c 100644 --- a/resolv/gai_misc.h +++ b/resolv/gai_misc.h @@ -58,7 +58,7 @@ struct requestlist struct gaiinit { int gai_threads; /* Maximal number of threads. */ - int gai_num; /* Number of expected simultanious requests. */ + int gai_num; /* Number of expected simultaneous requests. */ int gai_locks; /* Not used. */ int gai_usedba; /* Not used. */ int gai_debug; /* Not used. */ diff --git a/resolv/inet_net_pton.c b/resolv/inet_net_pton.c index aab9b7b582..63a47b7394 100644 --- a/resolv/inet_net_pton.c +++ b/resolv/inet_net_pton.c @@ -157,7 +157,7 @@ inet_net_pton_ipv4 (const char *src, u_char *dst, size_t size) goto emsgsize; } - /* Firey death and destruction unless we prefetched EOS. */ + /* Fiery death and destruction unless we prefetched EOS. */ if (ch != '\0') goto enoent; diff --git a/resolv/inet_pton.c b/resolv/inet_pton.c index fae52145cc..e84a83499c 100644 --- a/resolv/inet_pton.c +++ b/resolv/inet_pton.c @@ -121,7 +121,7 @@ inet_pton4 (const char *src, const char *end, unsigned char *dst) return 1; } -/* Return the value of CH as a hexademical digit, or -1 if it is a +/* Return the value of CH as a hexadecimal digit, or -1 if it is a different type of character. */ static int hex_digit_value (char ch) diff --git a/resolv/ns_print.c b/resolv/ns_print.c index 43f39edf61..cef2212fd2 100644 --- a/resolv/ns_print.c +++ b/resolv/ns_print.c @@ -491,7 +491,7 @@ ns_sprintrrf(const u_char *msg, size_t msglen, len = SPRINTF((tmp, "%lu ", t)); T(addstr(tmp, len, &buf, &buflen)); - /* Experation. */ + /* Expiration. */ t = ns_get32(rdata); rdata += NS_INT32SZ; len = SPRINTF((tmp, "%lu ", t)); T(addstr(tmp, len, &buf, &buflen)); diff --git a/resolv/ns_rr_cursor_next.c b/resolv/ns_rr_cursor_next.c index 5a188a3604..09f74d4c8a 100644 --- a/resolv/ns_rr_cursor_next.c +++ b/resolv/ns_rr_cursor_next.c @@ -54,7 +54,7 @@ __ns_rr_cursor_next (struct ns_rr_cursor *c, struct ns_rr_wire *rr) } memcpy (&metadata, c->current, sizeof (metadata)); c->current += sizeof (metadata); - /* Endianess conversion. */ + /* Endianness conversion. */ rr->rtype = ntohs (metadata.rtype); rr->rclass = ntohs (metadata.rclass); rr->ttl = ntohl (metadata.ttl); diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index ae1f8669d5..1d60c51f5e 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -715,7 +715,7 @@ getanswer_r (unsigned char *packet, size_t packetlen, uint16_t qtype, if (!__ns_rr_cursor_init (&c, packet, packetlen)) { /* This should not happen because __res_context_query already - perfroms response validation. */ + performs response validation. */ *h_errnop = NO_RECOVERY; return NSS_STATUS_UNAVAIL; } @@ -811,7 +811,7 @@ getanswer_ptr (unsigned char *packet, size_t packetlen, if (!__ns_rr_cursor_init (&c, packet, packetlen)) { /* This should not happen because __res_context_query already - perfroms response validation. */ + performs response validation. */ *h_errnop = NO_RECOVERY; return NSS_STATUS_UNAVAIL; } @@ -906,7 +906,7 @@ gaih_getanswer_slice (unsigned char *packet, size_t packetlen, if (!__ns_rr_cursor_init (&c, packet, packetlen)) { /* This should not happen because __res_context_query already - perfroms response validation. */ + performs response validation. */ *h_errnop = NO_RECOVERY; return NSS_STATUS_UNAVAIL; } diff --git a/resolv/res-noaaaa.c b/resolv/res-noaaaa.c index b079ad77ca..26ffcc63a1 100644 --- a/resolv/res-noaaaa.c +++ b/resolv/res-noaaaa.c @@ -33,7 +33,7 @@ qtype_matches (const unsigned char *p, int expected) } /* Handle RES_NOAAAA translation of AAAA queries. To produce a Name - Error (NXDOMAIN) repsonse for domain names that do not exist, it is + Error (NXDOMAIN) response for domain names that do not exist, it is still necessary to send a query. Using question type A is a conservative choice. In the returned answer, it is necessary to switch back the question type to AAAA. */ diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index c55f3c0366..2b98ac4920 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -58,7 +58,7 @@ res_use_inet6 (void) enum { - /* The advertized EDNS buffer size. The value 1200 is derived + /* The advertised EDNS buffer size. The value 1200 is derived from the IPv6 minimum MTU (1280 bytes) minus some arbitrary space for tunneling overhead. If the DNS server does not react to ICMP Fragmentation Needed But DF Set messages, this should diff --git a/resolv/resolv.h b/resolv/resolv.h index 3a79ffea57..f40d6c58ce 100644 --- a/resolv/resolv.h +++ b/resolv/resolv.h @@ -87,7 +87,7 @@ /* * Resolver configuration file. * Normally not present, but may contain the address of the - * inital name server(s) to query and the domain search list. + * initial name server(s) to query and the domain search list. */ #ifndef _PATH_RESCONF diff --git a/resolv/resolv_conf.c b/resolv/resolv_conf.c index 0ef66d49d3..bd5890773b 100644 --- a/resolv/resolv_conf.c +++ b/resolv/resolv_conf.c @@ -81,7 +81,7 @@ static struct resolv_conf_global *global; __libc_lock_define_initialized (static, lock); /* Ensure that GLOBAL is allocated and lock it. Return NULL if - memory allocation failes. */ + memory allocation fails. */ static struct resolv_conf_global * get_locked_global (void) { @@ -174,7 +174,7 @@ __resolv_conf_get_current (void) static struct resolv_conf * resolv_conf_get_1 (const struct __res_state *resp) { - /* Not initialized, and therefore no assoicated context. */ + /* Not initialized, and therefore no associated context. */ if (!(resp->options & RES_INIT)) return NULL; @@ -243,7 +243,7 @@ resolv_conf_matches (const struct __res_state *resp, const struct resolv_conf *conf) { /* NB: Do not compare the options, retrans, retry, ndots. These can - be changed by applicaiton. */ + be changed by application. */ /* Check that the name servers in *RESP have not been modified by the application. */ diff --git a/resolv/resolv_context.c b/resolv/resolv_context.c index aeb415b6d4..7bf7ce9df4 100644 --- a/resolv/resolv_context.c +++ b/resolv/resolv_context.c @@ -52,7 +52,7 @@ static __thread struct resolv_context *current attribute_tls_model_ie; /* The resolv_conf handling will gives us a ctx->conf pointer even if - these fields do not match because a mis-match does not cause a loss + these fields do not match because a mismatch does not cause a loss of state (_res objects can store the full information). This function checks to ensure that there is a full patch, to prevent overwriting a patched configuration. */ diff --git a/resolv/resolv_context.h b/resolv/resolv_context.h index c5d51a12a4..020b9bd775 100644 --- a/resolv/resolv_context.h +++ b/resolv/resolv_context.h @@ -78,7 +78,7 @@ void __resolv_context_put (struct resolv_context *ctx); libc_hidden_proto (__resolv_context_put) /* Like __resolv_context_get, but the _res structure can be partially - initialzed and those changes will not be overwritten. */ + initialized and those changes will not be overwritten. */ struct resolv_context *__resolv_context_get_preinit (void) __attribute__ ((warn_unused_result)); libc_hidden_proto (__resolv_context_get_preinit) diff --git a/resolv/tst-resolv-canonname.c b/resolv/tst-resolv-canonname.c index 2a28193c37..33bab6638d 100644 --- a/resolv/tst-resolv-canonname.c +++ b/resolv/tst-resolv-canonname.c @@ -153,7 +153,7 @@ response (const struct resolv_response_context *ctx, } break; case 103: - /* NODATA repsonse. */ + /* NODATA response. */ resolv_response_init (b, (struct resolv_response_flags) {}); resolv_response_add_question (b, qname, qclass, qtype); break; diff --git a/resolv/tst-resolv-edns.c b/resolv/tst-resolv-edns.c index a2245de948..6e0072b541 100644 --- a/resolv/tst-resolv-edns.c +++ b/resolv/tst-resolv-edns.c @@ -40,7 +40,7 @@ struct response_data response data. The test DNS server returns the index of the array element which contains the actual response data. This enables the test case to return arbitrary amounts of data with the limited - number of bits which fit into an IP addres. + number of bits which fit into an IP address. The volatile specifier is needed because the test case accesses these variables from a callback function called from a function diff --git a/resolv/tst-resolv-qtypes.c b/resolv/tst-resolv-qtypes.c index dee273c5cc..6c1ef3f7ec 100644 --- a/resolv/tst-resolv-qtypes.c +++ b/resolv/tst-resolv-qtypes.c @@ -25,7 +25,7 @@ #include <support/test-driver.h> #include <support/xmemstream.h> -/* If ture, the response function will send the actual response packet +/* If true, the response function will send the actual response packet over TCP instead of UDP. */ static volatile bool force_tcp; diff --git a/resolv/tst-resolv-res_init-skeleton.c b/resolv/tst-resolv-res_init-skeleton.c index 24d980071e..cbdf377b84 100644 --- a/resolv/tst-resolv-res_init-skeleton.c +++ b/resolv/tst-resolv-res_init-skeleton.c @@ -1,4 +1,4 @@ -/* Test parsing of /etc/resolv.conf. Genric version. +/* Test parsing of /etc/resolv.conf. Generic version. Copyright (C) 2017-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -669,7 +669,7 @@ struct test_case test_cases[] = "; nameserver[0]: [192.0.2.1]:53\n" "; nameserver[1]: [192.0.2.3]:53\n" }, - {.name = "RES_OPTIONS is cummulative", + {.name = "RES_OPTIONS is cumulative", .conf = "options timeout:7 ndots:2 use-vc\n" "nameserver 192.0.2.1\n", .expected = "options ndots:3 timeout:7 attempts:5 use-vc edns0\n" diff --git a/resolv/tst-resolv-res_ninit.c b/resolv/tst-resolv-res_ninit.c index e539828319..a274b5bf3a 100644 --- a/resolv/tst-resolv-res_ninit.c +++ b/resolv/tst-resolv-res_ninit.c @@ -55,8 +55,8 @@ do_test (void) TEST_VERIFY (conf != NULL); } else - /* The underyling configuration should be identical across all - res_state opjects because resolv.conf did not change. */ + /* The underlying configuration should be identical across all + res_state objects because resolv.conf did not change. */ TEST_VERIFY (ctx->conf == conf); } qsort (array, count, sizeof (*array), sort_res_state); diff --git a/rt/aio.h b/rt/aio.h index a9e6d7db29..8d014015a3 100644 --- a/rt/aio.h +++ b/rt/aio.h @@ -168,7 +168,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent, const struct timespec *__restrict __timeout) __nonnull ((1)); -/* Force all operations associated with file desriptor described by +/* Force all operations associated with file descriptor described by `aio_fildes' member of AIOCBP. */ extern int aio_fsync (int __operation, struct aiocb *__aiocbp) __THROW __nonnull ((2)); diff --git a/rt/aio_cancel.c b/rt/aio_cancel.c index 446b028213..6f275c6303 100644 --- a/rt/aio_cancel.c +++ b/rt/aio_cancel.c @@ -106,7 +106,7 @@ __aio_cancel (int fildes, struct aiocb *aiocbp) else { /* Find the beginning of the list of all requests for this - desriptor. */ + descriptor. */ req = __aio_find_req_fd (fildes); /* If any request is worked on by a thread it must be the first. diff --git a/rt/aio_misc.c b/rt/aio_misc.c index 4b850b1ab6..5d21943ff2 100644 --- a/rt/aio_misc.c +++ b/rt/aio_misc.c @@ -371,7 +371,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation) /* The current file descriptor is worked on. It makes no sense to start another thread since this new thread would fight with the running thread for the resources. But we also cannot - say that the thread processing this desriptor shall immediately + say that the thread processing this descriptor shall immediately after finishing the current job process this request if there are other threads in the running queue which have a higher priority. */ diff --git a/rt/timer_create.c b/rt/timer_create.c index a94bff693c..672bd14ef0 100644 --- a/rt/timer_create.c +++ b/rt/timer_create.c @@ -108,7 +108,7 @@ timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid) else pthread_attr_init (&newtimer->attr); - /* Ensure thread attributes call for deatched thread. */ + /* Ensure thread attributes call for detached thread. */ pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED); /* Try to find existing thread having the right attributes. */ diff --git a/rt/timer_gettime.c b/rt/timer_gettime.c index 474ae5e463..efc2a74ef7 100644 --- a/rt/timer_gettime.c +++ b/rt/timer_gettime.c @@ -22,7 +22,7 @@ #include "posix-timer.h" -/* Get current value of timer TIMERID and store it in VLAUE. */ +/* Get current value of timer TIMERID and store it in VALUE. */ int timer_gettime (timer_t timerid, struct itimerspec *value) { diff --git a/rt/tst-mqueue2.c b/rt/tst-mqueue2.c index fc04470629..c029f3c156 100644 --- a/rt/tst-mqueue2.c +++ b/rt/tst-mqueue2.c @@ -463,12 +463,12 @@ do_test (void) if (mq_unlink ("/tst-mqueue2-which-should-never-exist") != -1) { - puts ("mq_unlink of non-existant message queue unexpectedly succeeded"); + puts ("mq_unlink of non-existent message queue unexpectedly succeeded"); result = 1; } else if (errno != ENOENT) { - printf ("mq_unlink of non-existant message queue did not fail with " + printf ("mq_unlink of non-existent message queue did not fail with " "ENOENT: %m\n"); result = 1; } diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c index 126bfa45a2..d8b1422b1c 100644 --- a/rt/tst-mqueue3.c +++ b/rt/tst-mqueue3.c @@ -61,13 +61,13 @@ fct (union sigval s) /* Check the values. */ if (attr.mq_maxmsg != MAXMSG) { - printf ("%s: mq_maxmsg wrong: is %jd, expecte %d\n", + printf ("%s: mq_maxmsg wrong: is %jd, expected %d\n", __FUNCTION__, (intmax_t) attr.mq_maxmsg, MAXMSG); exit (1); } if (attr.mq_msgsize != MAXMSG) { - printf ("%s: mq_msgsize wrong: is %jd, expecte %d\n", + printf ("%s: mq_msgsize wrong: is %jd, expected %d\n", __FUNCTION__, (intmax_t) attr.mq_msgsize, MSGSIZE); exit (1); } diff --git a/rt/tst-mqueue4.c b/rt/tst-mqueue4.c index 841ce14ac6..fe456287a3 100644 --- a/rt/tst-mqueue4.c +++ b/rt/tst-mqueue4.c @@ -62,7 +62,7 @@ do_test (void) mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); if (q2 == (mqd_t) -1) { - printf ("mq_open with NAME_MAX long name compoment failed with: %m\n"); + printf ("mq_open with NAME_MAX long name component failed with: %m\n"); result = 1; } diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c index ea5ff65ae4..9416af28bd 100644 --- a/rt/tst-mqueue5.c +++ b/rt/tst-mqueue5.c @@ -522,7 +522,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3, result = 1; } - /* Reenable test signals before cleaning up the thread. */ + /* Re-enable test signals before cleaning up the thread. */ if (pthread_sigmask (SIG_UNBLOCK, &set, NULL)) { printf ("Failed to unblock SIGRTMIN in child: %m\n"); diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py index b069b5ad76..e4da3d64fd 100644 --- a/scripts/dso-ordering-test.py +++ b/scripts/dso-ordering-test.py @@ -1069,7 +1069,7 @@ def process_testcase(t): t.test_name)) t.sh.close() -# Decription file parsing +# Description file parsing def parse_description_file(filename): global default_tunable_options global current_input_lineno diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py index 6f48eee129..b52e83d613 100644 --- a/scripts/glibcelf.py +++ b/scripts/glibcelf.py @@ -275,7 +275,7 @@ class ElfClass(_TypedConstant): _register_elf_h(ElfClass, prefix='ELFCLASS') class ElfData(_TypedConstant): - """ELF endianess. Type of EI_DATA values.""" + """ELF endianness. Type of EI_DATA values.""" _register_elf_h(ElfData, prefix='ELFDATA') class Machine(_TypedConstant): diff --git a/scripts/glibcpp.py b/scripts/glibcpp.py index 5dc99f0120..4e1326c10b 100644 --- a/scripts/glibcpp.py +++ b/scripts/glibcpp.py @@ -222,7 +222,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition', args is None for a macro that is not function-like. Otherwise, it is a tuple that contains the macro argument name tokens. - body is a tuple that contains the tokens that constitue the body + body is a tuple that contains the tokens that constitute the body of the macro definition (excluding whitespace). error is None if no error was detected, or otherwise a problem @@ -242,7 +242,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition', @property def line(self): - """Return the line number of the macro defintion.""" + """Return the line number of the macro definition.""" return self.name_token.line @property @@ -387,7 +387,7 @@ def macro_eval(macro_defs, reporter): evaluated = OrderedDict() # String to macro definitions during evaluation. Nice error - # reporting relies on determinstic iteration order. + # reporting relies on deterministic iteration order. stack = OrderedDict() def eval_token(current, token): diff --git a/scripts/pylintrc b/scripts/pylintrc index c92f100b4b..d772cb0a7d 100644 --- a/scripts/pylintrc +++ b/scripts/pylintrc @@ -33,7 +33,7 @@ load-plugins= # can either give multiple identifiers separated by comma (,) or put this # option multiple times (only on the command line, not in the configuration # file where it should appear only once).You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if +# disable everything first and then re-enable specific checks. For example, if # you want to run only the similarities checker, you can use "--disable=all # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 870ba5e414..b67e71c43d 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -154,7 +154,7 @@ extern ssize_t sendto (int __fd, const void *__buf, size_t __n, socklen_t __addr_len); /* 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. diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c index d657834ae4..0c3dfb1a12 100644 --- a/stdio-common/printf_fphex.c +++ b/stdio-common/printf_fphex.c @@ -380,7 +380,7 @@ __printf_fphex_l_buffer (struct __printf_buffer *buf, locale_t loc, /* The wide buffer version is implemented by translating the output of - the multibyte verison. */ + the multibyte version. */ struct __printf_buffer_fphex_to_wide { diff --git a/stdio-common/tst-fmemopen2.c b/stdio-common/tst-fmemopen2.c index fc493aa4d7..6ff7a81c7a 100644 --- a/stdio-common/tst-fmemopen2.c +++ b/stdio-common/tst-fmemopen2.c @@ -157,7 +157,7 @@ do_test_without_buffer (void) return result; } -/* Check fmemopen with a buffer lenght of zero. */ +/* Check fmemopen with a buffer length of zero. */ static int do_test_length_zero (void) { diff --git a/stdio-common/tst-fmemopen3.c b/stdio-common/tst-fmemopen3.c index 3cc2832edc..bef87b712a 100644 --- a/stdio-common/tst-fmemopen3.c +++ b/stdio-common/tst-fmemopen3.c @@ -34,7 +34,7 @@ print_buffer (const char *s, size_t n) } } -/* This test check append mode initial position (a/a+) based on POSIX defition +/* This test check append mode initial position (a/a+) based on POSIX definition (BZ#6544 and BZ#13151). */ static int do_test_write_append (const char *mode) @@ -59,7 +59,7 @@ do_test_write_append (const char *mode) return 0; } -/* This test check append mode initial position (a/a+) based on POSIX defition +/* This test check append mode initial position (a/a+) based on POSIX definition (BZ#6544 and BZ#13151) for buffer without null byte end. */ static int do_test_write_append_without_null (const char *mode) @@ -94,7 +94,7 @@ do_test_write_append_without_null (const char *mode) return 0; } -/* This test check for initial position and feek value for fmemopen objects +/* This test check for initial position and seek value for fmemopen objects opened with append mode. */ static int do_test_read_append (void) diff --git a/stdio-common/tst-printf-bz25691.c b/stdio-common/tst-printf-bz25691.c index e6fa2433fa..db81fdf590 100644 --- a/stdio-common/tst-printf-bz25691.c +++ b/stdio-common/tst-printf-bz25691.c @@ -58,7 +58,7 @@ do_test (void) free (winput); } - /* For 's' converstion specifier the array is interpreted as a multibyte + /* For 's' conversion specifier the array is interpreted as a multibyte character sequence and converted to wide characters up to the precision specific value. */ { diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c index 2e1a5c07e5..0a90a7228f 100644 --- a/stdio-common/tst-sscanf.c +++ b/stdio-common/tst-sscanf.c @@ -237,7 +237,7 @@ do_test (void) The test will segfault during SSCANF if the buffer overflow is not fixed. The size of `s` is such that it forces the use of malloc internally and this triggers the incorrect computation. - Thus the value for SIZE is arbitrariy high enough that malloc + Thus the value for SIZE is arbitrarily high enough that malloc is used. */ { #define SIZE 131072 diff --git a/stdio-common/vfscanf-internal.c b/stdio-common/vfscanf-internal.c index d9675bd4b1..a3ebf63554 100644 --- a/stdio-common/vfscanf-internal.c +++ b/stdio-common/vfscanf-internal.c @@ -668,7 +668,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, /* We have a severe problem here. The ISO C standard contradicts itself in explaining the effect of the %n format in `scanf'. While in ISO C:1990 and the ISO C - Amendement 1:1995 the result is described as + Amendment 1:1995 the result is described as Execution of a %n directive does not effect the assignment count returned at the completion of @@ -2749,7 +2749,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, #endif if (__glibc_unlikely (now == read_in)) - /* We haven't succesfully read any character. */ + /* We haven't successfully read any character. */ conv_error (); if (!(flags & SUPPRESS)) @@ -2947,7 +2947,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr, #endif if (__glibc_unlikely (now == read_in)) - /* We haven't succesfully read any character. */ + /* We haven't successfully read any character. */ conv_error (); if (!(flags & SUPPRESS)) diff --git a/stdlib/inttypes.h b/stdlib/inttypes.h index 0ace21f54d..8f0fa8ab9f 100644 --- a/stdlib/inttypes.h +++ b/stdlib/inttypes.h @@ -294,7 +294,7 @@ typedef wchar_t __gwchar_t; # define SCNuMAX __PRI64_PREFIX "u" # define SCNxMAX __PRI64_PREFIX "x" -/* Macros for scaning `intptr_t' and `uintptr_t'. */ +/* Macros for scanning `intptr_t' and `uintptr_t'. */ # define SCNdPTR __PRIPTR_PREFIX "d" # define SCNiPTR __PRIPTR_PREFIX "i" # define SCNoPTR __PRIPTR_PREFIX "o" diff --git a/stdlib/lldiv.c b/stdlib/lldiv.c index f00d1599db..bd7c6b2a94 100644 --- a/stdlib/lldiv.c +++ b/stdlib/lldiv.c @@ -1,4 +1,4 @@ -/* `long long int' divison with remainder. +/* `long long int' division with remainder. Copyright (C) 1992-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/stdlib/longlong.h b/stdlib/longlong.h index fa1687f5f3..ae067d934d 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -1074,7 +1074,7 @@ extern UDItype __umulsidi3 (USItype, USItype); #elif __riscv_xlen == 64 #define MULUW3 "call __muldi3" #else -#error unsupport xlen +#error unsupported xlen #endif /* __riscv_xlen */ /* We rely on the fact that MULUW3 doesn't clobber the t-registers. It can get better register allocation result. */ diff --git a/stdlib/tst-arc4random-stats.c b/stdlib/tst-arc4random-stats.c index f0edffb16d..1808cf6524 100644 --- a/stdlib/tst-arc4random-stats.c +++ b/stdlib/tst-arc4random-stats.c @@ -117,7 +117,7 @@ generate_arc4random_uniform (unsigned char *key) /* Test adapter for arc4random_uniform with argument 257. This means that byte 0 happens more often, but we do not perform such a - statistcal check, so the test will still pass */ + statistical check, so the test will still pass */ static bool generate_arc4random_uniform_257 (unsigned char *key) { diff --git a/stdlib/tst-arc4random-thread.c b/stdlib/tst-arc4random-thread.c index 010828920e..d8863cf6d0 100644 --- a/stdlib/tst-arc4random-thread.c +++ b/stdlib/tst-arc4random-thread.c @@ -295,7 +295,7 @@ do_test_func (const char *fname, void (*func)(unsigned char *, size_t)) run_outer_threads (func); /* The forking thread delivers a non-deterministic number of - results, which is why expected_blobs is only a minimun number of + results, which is why expected_blobs is only a minimum number of results. */ printf ("info: %s: %zu blob results observed\n", fname, dynarray_blob_size (&global_result)); diff --git a/stdlib/tst-canon-bz26341.c b/stdlib/tst-canon-bz26341.c index 2d950d345b..bd0f575ccf 100644 --- a/stdlib/tst-canon-bz26341.c +++ b/stdlib/tst-canon-bz26341.c @@ -1,5 +1,5 @@ /* Check if realpath does not consume extra stack space based on symlink - existance in the path (BZ #26341) + existence in the path (BZ #26341) Copyright (C) 2021-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c index 794d12a385..516beecef5 100644 --- a/stdlib/tst-random.c +++ b/stdlib/tst-random.c @@ -7,14 +7,14 @@ is regenerated twice and checked against the stored values. First they are regenerated one sequence at a time, using srandom() - to set the initial state. A discrepency here would suggest that + to set the initial state. A discrepancy here would suggest that srandom() was failing to completely initialize the random number generator. Second the sequences are regenerated in an interleaved order. A state vector is created for each sequence using initstate(). setstate() is used to switch from sequence to sequence during - the interleaved generation. A discrepency here would suggest + the interleaved generation. A discrepancy here would suggest a problem with either initstate() failing to initialize the random number generator properly, or the failure of setstate() to correctly save and restore state information. Also, each @@ -54,7 +54,7 @@ do_test (void) int s; /* sequence index */ int i; /* element index */ - printf ("Begining random package test using %d sequences of length %d.\n", + printf ("Beginning random package test using %d sequences of length %d.\n", nseq, nrnd); /* 1. Generate and store the sequences. */ diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c index 9294472471..d65f3b9d6b 100644 --- a/stdlib/tst-setcontext.c +++ b/stdlib/tst-setcontext.c @@ -111,7 +111,7 @@ test_stack (volatile int a, volatile int b, if (e != 5) { - printf ("%s: getcontext clobbers varible e\n", __FUNCTION__); + printf ("%s: getcontext clobbers variable e\n", __FUNCTION__); exit (1); } diff --git a/string/memcmpeq.c b/string/memcmpeq.c index c38e7b0567..5397c05d53 100644 --- a/string/memcmpeq.c +++ b/string/memcmpeq.c @@ -16,7 +16,7 @@ <https://www.gnu.org/licenses/>. */ /* This file is intentionally left empty. It exists so that both - architectures which implement __memcmpeq seperately from memcmp and + architectures which implement __memcmpeq separately from memcmp and architectures which implement __memcmpeq by having it alias memcmp will build. diff --git a/string/strcoll_l.c b/string/strcoll_l.c index d60e1ba4a7..5f7b8606f6 100644 --- a/string/strcoll_l.c +++ b/string/strcoll_l.c @@ -103,7 +103,7 @@ get_next_seq (coll_seq *seq, int nrules, const unsigned char *rulesets, else { /* XXX Traverse BACKW sequences from the beginning of - BACKW_STOP to get the next sequence. Is ther a quicker way + BACKW_STOP to get the next sequence. Is there a quicker way to do this? */ size_t i = backw_stop; us = seq->back_us; diff --git a/string/test-memcmp.c b/string/test-memcmp.c index bc46a66bfd..7093a9a685 100644 --- a/string/test-memcmp.c +++ b/string/test-memcmp.c @@ -45,7 +45,7 @@ SIMPLE_MEMCMP (const wchar_t *s1, const wchar_t *s2, size_t n) int ret = 0; /* 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. */ while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;} return ret; diff --git a/string/test-strcasecmp.c b/string/test-strcasecmp.c index 805e8519fb..4ff680f264 100644 --- a/string/test-strcasecmp.c +++ b/string/test-strcasecmp.c @@ -99,7 +99,7 @@ do_test (size_t align1, size_t align2, size_t len, int max_char, else s2[len - 1] -= exp_result; - /* For some locals this is not guranteed yet. */ + /* For some locals this is not guaranteed yet. */ if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result) { if (exp_result == -1) diff --git a/string/test-strcmp.c b/string/test-strcmp.c index fa3161688c..fb52559400 100644 --- a/string/test-strcmp.c +++ b/string/test-strcmp.c @@ -48,7 +48,7 @@ # define CHAR__MIN WCHAR_MIN /* Wcscmp uses signed semantics for comparison, not unsigned */ -/* Avoid using substraction since possible overflow */ +/* Avoid using subtraction since possible overflow */ int simple_wcscmp (const wchar_t *s1, const wchar_t *s2) diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c index 6246fe5c1b..5f0654efc5 100644 --- a/string/test-strncasecmp.c +++ b/string/test-strncasecmp.c @@ -119,7 +119,7 @@ do_test (size_t align1, size_t align2, size_t n, size_t len, int max_char, else s2[len - 1] -= exp_result; - /* For some locals this is not guranteed yet. */ + /* For some locals this is not guaranteed yet. */ if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result) { if (exp_result == -1) diff --git a/string/test-strncmp.c b/string/test-strncmp.c index 35dc496eae..75e745a5ba 100644 --- a/string/test-strncmp.c +++ b/string/test-strncmp.c @@ -44,7 +44,7 @@ # define CHAR__MIN WCHAR_MIN /* Wcsncmp uses signed semantics for comparison, not unsigned. - Avoid using substraction since possible overflow */ + Avoid using subtraction since possible overflow */ int simple_wcsncmp (const CHAR *s1, const CHAR *s2, size_t n) { diff --git a/string/test-strnlen.c b/string/test-strnlen.c index ef73dd34f4..10e7540a1e 100644 --- a/string/test-strnlen.c +++ b/string/test-strnlen.c @@ -260,7 +260,7 @@ do_page_tests (void) } /* Tests meant to unveil fail on implementations that access bytes - beyond the maxium length. */ + beyond the maximum length. */ static void do_page_2_tests (void) diff --git a/string/tst-memmove-overflow.c b/string/tst-memmove-overflow.c index 97e19af757..d17a3aa795 100644 --- a/string/tst-memmove-overflow.c +++ b/string/tst-memmove-overflow.c @@ -1,4 +1,4 @@ -/* Test for signed comparision bug in memmove (bug 25620). +/* Test for signed comparison bug in memmove (bug 25620). Copyright (C) 2020-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 8ea4303d7d..b0b29e09a7 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -30,7 +30,7 @@ */ /* * The original source is from the RPCSRC 4.0 package from Sun Microsystems. - * The Interface to keyserver protocoll 2, RPC over AF_UNIX and Linux/doors + * The Interface to keyserver protocol 2, RPC over AF_UNIX and Linux/doors * was added by Thorsten Kukuk <kukuk@suse.de> * Since the Linux/doors project was stopped, I doubt that this code will * ever be useful <kukuk@suse.de>. diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h index f4d4a941c7..388efaf887 100644 --- a/sunrpc/rpc/clnt.h +++ b/sunrpc/rpc/clnt.h @@ -106,8 +106,8 @@ struct rpc_err { int RE_errno; /* related system error */ enum auth_stat RE_why; /* why the auth error occurred */ struct { - u_long low; /* lowest verion supported */ - u_long high; /* highest verion supported */ + u_long low; /* lowest version supported */ + u_long high; /* highest version supported */ } RE_vers; struct { /* maybe meaningful if RPC_FAILED */ long s1; diff --git a/sunrpc/tst-svc_register.c b/sunrpc/tst-svc_register.c index 434a5bedef..af61f11263 100644 --- a/sunrpc/tst-svc_register.c +++ b/sunrpc/tst-svc_register.c @@ -241,7 +241,7 @@ do_test (void) (NULL, test_server_thread, &args)); else test_server_thread (&args); - /* We cannnot use _exit here because we want to test the + /* We cannot use _exit here because we want to test the process cleanup. */ exit (0); } diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c index c9a1eaad63..dce0383039 100644 --- a/sunrpc/xdr_rec.c +++ b/sunrpc/xdr_rec.c @@ -102,7 +102,7 @@ typedef struct rec_strm caddr_t out_base; /* output buffer (points to frag header) */ caddr_t out_finger; /* next output position */ caddr_t out_boundry; /* data cannot up to this address */ - uint32_t *frag_header; /* beginning of curren fragment */ + uint32_t *frag_header; /* beginning of current fragment */ bool_t frag_sent; /* true if buffer sent in middle of record */ /* * in-coming bits diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c index eab3b74227..3f5904d4a2 100644 --- a/sunrpc/xdr_ref.c +++ b/sunrpc/xdr_ref.c @@ -51,7 +51,7 @@ * referenced by a pointer inside the structure that is currently being * translated. pp references a pointer to storage. If *pp is null * the necessary storage is allocated. - * size is the size of the referneced structure. + * size is the size of the referenced structure. * proc is the routine to handle the referenced structure. */ bool_t diff --git a/support/Makefile b/support/Makefile index 71d5148513..acc0bd5fec 100644 --- a/support/Makefile +++ b/support/Makefile @@ -236,7 +236,7 @@ CFLAGS-support_paths.c = \ # In support_timespec_check_in_range we may be passed a very tight # range for which we should produce a correct result for expected -# being withing the observed range. The code uses double internally +# being within the observed range. The code uses double internally # in support_timespec_check_in_range and for that computation we use # -fexcess-precision=standard. CFLAGS-timespec.c += -fexcess-precision=standard diff --git a/support/README b/support/README index ae2c41caa8..e9e74ad5cc 100644 --- a/support/README +++ b/support/README @@ -14,7 +14,7 @@ error. They are declared in these header files: In general, new wrappers should be added to support.h if possible. However, support.h must remain fully compatible with C90 and therefore -cannot include headers which use identifers not reserved in C90. If +cannot include headers which use identifiers not reserved in C90. If the wrappers need additional types, additional headers such as signal.h need to be introduced. diff --git a/support/delayed_exit.c b/support/delayed_exit.c index e5028bf13f..53aa40c275 100644 --- a/support/delayed_exit.c +++ b/support/delayed_exit.c @@ -33,7 +33,7 @@ delayed_exit_thread (void *seconds_as_ptr) struct timespec remaining = { 0 }; if (nanosleep (&delay, &remaining) != 0) FAIL_EXIT1 ("nanosleep: %m"); - /* Exit the process sucessfully. */ + /* Exit the process successfully. */ exit (0); return NULL; } diff --git a/support/resolv_test.c b/support/resolv_test.c index fd1f5e78bb..c5694631f2 100644 --- a/support/resolv_test.c +++ b/support/resolv_test.c @@ -91,7 +91,7 @@ ascii_tolower (unsigned char ch) } /* Compare both names, for use with tsearch. The order is arbitrary, - but the comparison is case-insenstive. */ + but the comparison is case-insensitive. */ static int compare_compressed_name (const void *left, const void *right) { @@ -119,7 +119,7 @@ compare_compressed_name (const void *left, const void *right) if (lenleft == 0) /* End of name reached without spotting a difference. */ return 0; - /* Compare the label in a case-insenstive manner. */ + /* Compare the label in a case-insensitive manner. */ const unsigned char *endnameleft = nameleft + lenleft; while (nameleft < endnameleft) { @@ -525,7 +525,7 @@ parse_query (struct query_info *info, _Static_assert (sizeof (rr) == 11, "EDNS record size"); if (remaining < 4 + sizeof (rr)) - FAIL_EXIT1 ("mailformed DNS query: no room for EDNS record"); + FAIL_EXIT1 ("malformed DNS query: no room for EDNS record"); memcpy (&rr, buffer + 12 + ret + 4, sizeof (rr)); if (rr.root != 0) FAIL_EXIT1 ("malformed DNS query: invalid OPT RNAME: %d\n", rr.root); @@ -843,7 +843,7 @@ writev_fully (int fd, struct iovec *buffers, size_t count) --count; continue; } - /* Try to rewrite the remaing buffers. */ + /* Try to rewrite the remaining buffers. */ ssize_t ret = writev (fd, buffers, count); if (ret < 0) FAIL_EXIT1 ("writev: %m"); @@ -969,7 +969,7 @@ server_thread_tcp (struct resolv_test *obj, int server_index) { while (true) { - /* Get the client conenction. */ + /* Get the client connection. */ int client_socket = xaccept (obj->servers[server_index].socket_tcp, NULL, NULL); diff --git a/support/resolv_test.h b/support/resolv_test.h index 8d05fc4e06..32673f0213 100644 --- a/support/resolv_test.h +++ b/support/resolv_test.h @@ -116,7 +116,7 @@ struct resolv_redirect_config const struct sockaddr *const *server_address_overrides; }; -/* Configure NSS to use, nss_dns only for aplicable databases, and try +/* Configure NSS to use, nss_dns only for applicable databases, and try to put the process into a network namespace for better isolation. This may have to be called before resolv_test_start, before the process creates any threads. Otherwise, initialization is @@ -125,7 +125,7 @@ void resolv_test_init (void); /* Initiate resolver testing. This updates the _res variable as needed. As a side effect, NSS is reconfigured to use nss_dns only - for aplicable databases, and the process may enter a network + for applicable databases, and the process may enter a network namespace for better isolation. */ struct resolv_test *resolv_test_start (struct resolv_redirect_config); diff --git a/support/support_record_failure.c b/support/support_record_failure.c index 27055bde0c..711f08801b 100644 --- a/support/support_record_failure.c +++ b/support/support_record_failure.c @@ -32,7 +32,7 @@ zero, the failure of a test can be detected. The init constructor function below puts *state on a shared - annonymous mapping, so that failure reports from subprocesses + anonymous mapping, so that failure reports from subprocesses propagate to the parent process. */ struct test_failures { diff --git a/support/support_test_main.c b/support/support_test_main.c index 94f02dfb4f..c20c19e774 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -469,7 +469,7 @@ support_test_main (int argc, char **argv, const struct test_config *config) exit (1); } - /* Process terminated normaly without timeout etc. */ + /* Process terminated normally without timeout etc. */ if (WIFEXITED (status)) { if (config->expected_status == 0) diff --git a/support/temp_file.c b/support/temp_file.c index 536f238175..74e3861d40 100644 --- a/support/temp_file.c +++ b/support/temp_file.c @@ -249,7 +249,7 @@ support_delete_temp_files (void) pid_t pid = getpid (); while (temp_name_list != NULL) { - /* Only perform the removal if the path was registed in the same + /* Only perform the removal if the path was registered in the same process, as identified by the PID. (This assumes that the parent process which registered the temporary file sticks around, to prevent PID reuse.) */ diff --git a/support/test-container.c b/support/test-container.c index e68f16eecf..8da7673950 100644 --- a/support/test-container.c +++ b/support/test-container.c @@ -279,7 +279,7 @@ devmount (const char *new_root_path, const char *which) concat (new_root_path, "/dev/", which, NULL)); } -/* Returns true if the string "looks like" an environement variable +/* Returns true if the string "looks like" an environment variable being set. */ static int is_env_setting (const char *a) @@ -800,7 +800,7 @@ main (int argc, char **argv) --argc; while (is_env_setting (argv[1])) { - /* If there are variables we do NOT want to propogate, this + /* If there are variables we do NOT want to propagate, this is where the test for them goes. */ { /* Need to keep these. Note that putenv stores a @@ -1175,7 +1175,7 @@ main (int argc, char **argv) /* To complete the containerization, we need to fork () at least once. We can't exec, nor can we somehow link the new child to - our parent. So we run the child and propogate it's exit status + our parent. So we run the child and propagate it's exit status up. */ child = fork (); if (child < 0) @@ -1233,11 +1233,11 @@ main (int argc, char **argv) { /* This happens if we're trying to create a nested container, like if the build is running under podman, and we lack - priviledges. + privileges. Ideally we would WARN here, but that would just add noise to *every* test-container test, and the ones that care should - have their own relevent diagnostics. + have their own relevant diagnostics. FAIL_EXIT1 ("Unable to mount /proc: "); */ } diff --git a/support/tst-timespec.c b/support/tst-timespec.c index aee191e5c0..08c2c71ef5 100644 --- a/support/tst-timespec.c +++ b/support/tst-timespec.c @@ -76,22 +76,22 @@ struct timespec_ns_test_case ns_cases[] = { {.time = {.tv_sec = -1, .tv_nsec = 1}, .time_ns = -TIMESPEC_HZ + 1, }, - /* Overflow bondary by 2 */ + /* Overflow boundary by 2 */ {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ, .tv_nsec = TIME_T_MAX % TIMESPEC_HZ - 1}, .time_ns = TIME_T_MAX - 1, }, - /* Overflow bondary */ + /* Overflow boundary */ {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ, .tv_nsec = TIME_T_MAX % TIMESPEC_HZ}, .time_ns = TIME_T_MAX, }, - /* Underflow bondary by 1 */ + /* Underflow boundary by 1 */ {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ, .tv_nsec = TIME_T_MIN % TIMESPEC_HZ + 1}, .time_ns = TIME_T_MIN + 1, }, - /* Underflow bondary */ + /* Underflow boundary */ {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ, .tv_nsec = TIME_T_MIN % TIMESPEC_HZ}, .time_ns = TIME_T_MIN, @@ -153,19 +153,19 @@ struct timespec_norm_test_case norm_cases[] = { {.time = {.tv_sec = -1, .tv_nsec = -TIMESPEC_HZ - 1}, .norm = {.tv_sec = -2, .tv_nsec = -1} }, - /* Overflow bondary by 2 */ + /* Overflow boundary by 2 */ {.time = {.tv_sec = TIME_T_MAX - 2, .tv_nsec = TIMESPEC_HZ + 1}, .norm = {.tv_sec = TIME_T_MAX - 1, 1}, }, - /* Overflow bondary by 1 */ + /* Overflow boundary by 1 */ {.time = {.tv_sec = TIME_T_MAX - 1, .tv_nsec = TIMESPEC_HZ + 1}, .norm = {.tv_sec = TIME_T_MAX, .tv_nsec = 1}, }, - /* Underflow bondary by 2 */ + /* Underflow boundary by 2 */ {.time = {.tv_sec = TIME_T_MIN + 2, .tv_nsec = -TIMESPEC_HZ - 1}, .norm = {.tv_sec = TIME_T_MIN + 1, -1}, }, - /* Underflow bondary by 1 */ + /* Underflow boundary by 1 */ {.time = {.tv_sec = TIME_T_MIN + 1, .tv_nsec = -TIMESPEC_HZ - 1}, .norm = {.tv_sec = TIME_T_MIN, .tv_nsec = -1}, }, diff --git a/sysdeps/aarch64/atomic-machine.h b/sysdeps/aarch64/atomic-machine.h index 0ea74866f0..6f48029d91 100644 --- a/sysdeps/aarch64/atomic-machine.h +++ b/sysdeps/aarch64/atomic-machine.h @@ -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) \ ({ \ diff --git a/sysdeps/aarch64/multiarch/memset_base64.S b/sysdeps/aarch64/multiarch/memset_base64.S index 43c0feb952..35296a6dec 100644 --- a/sysdeps/aarch64/multiarch/memset_base64.S +++ b/sysdeps/aarch64/multiarch/memset_base64.S @@ -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 diff --git a/sysdeps/alpha/alphaev67/strrchr.S b/sysdeps/alpha/alphaev67/strrchr.S index 678d256762..79a2cb9939 100644 --- a/sysdeps/alpha/alphaev67/strrchr.S +++ b/sysdeps/alpha/alphaev67/strrchr.S @@ -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 */ diff --git a/sysdeps/alpha/atomic-machine.h b/sysdeps/alpha/atomic-machine.h index a5690919d5..8051d67895 100644 --- a/sysdeps/alpha/atomic-machine.h +++ b/sysdeps/alpha/atomic-machine.h @@ -127,7 +127,7 @@ : "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; \ diff --git a/sysdeps/alpha/divq.S b/sysdeps/alpha/divq.S index 685819a859..57ac4a01e6 100644 --- a/sysdeps/alpha/divq.S +++ b/sysdeps/alpha/divq.S @@ -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. diff --git a/sysdeps/alpha/divqu.S b/sysdeps/alpha/divqu.S index 10d456130d..47bef5f5be 100644 --- a/sysdeps/alpha/divqu.S +++ b/sysdeps/alpha/divqu.S @@ -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. diff --git a/sysdeps/alpha/fpu/bits/fenv.h b/sysdeps/alpha/fpu/bits/fenv.h index cd89686634..cc7b0912f1 100644 --- a/sysdeps/alpha/fpu/bits/fenv.h +++ b/sysdeps/alpha/fpu/bits/fenv.h @@ -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 diff --git a/sysdeps/alpha/fpu/feupdateenv.c b/sysdeps/alpha/fpu/feupdateenv.c index 58bbaf6d57..a26f580e92 100644 --- a/sysdeps/alpha/fpu/feupdateenv.c +++ b/sysdeps/alpha/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/alpha/ots_cvtqux.c b/sysdeps/alpha/ots_cvtqux.c index 38400f4fab..2ad38c522d 100644 --- a/sysdeps/alpha/ots_cvtqux.c +++ b/sysdeps/alpha/ots_cvtqux.c @@ -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 diff --git a/sysdeps/alpha/ots_cvtqx.c b/sysdeps/alpha/ots_cvtqx.c index 3016e26c62..70fcc1f741 100644 --- a/sysdeps/alpha/ots_cvtqx.c +++ b/sysdeps/alpha/ots_cvtqx.c @@ -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 diff --git a/sysdeps/alpha/remq.S b/sysdeps/alpha/remq.S index 9e6f9229bd..2dc995b662 100644 --- a/sysdeps/alpha/remq.S +++ b/sysdeps/alpha/remq.S @@ -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. diff --git a/sysdeps/alpha/remqu.S b/sysdeps/alpha/remqu.S index a5cd1d11de..4df92563ef 100644 --- a/sysdeps/alpha/remqu.S +++ b/sysdeps/alpha/remqu.S @@ -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. diff --git a/sysdeps/alpha/stpncpy.S b/sysdeps/alpha/stpncpy.S index a646d97a97..191565273f 100644 --- a/sysdeps/alpha/stpncpy.S +++ b/sysdeps/alpha/stpncpy.S @@ -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 : diff --git a/sysdeps/alpha/strrchr.S b/sysdeps/alpha/strrchr.S index 8118d20c4f..0374b6e0a9 100644 --- a/sysdeps/alpha/strrchr.S +++ b/sysdeps/alpha/strrchr.S @@ -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: diff --git a/sysdeps/arc/fpu/fesetenv.c b/sysdeps/arc/fpu/fesetenv.c index 72bde77ba9..353345aad0 100644 --- a/sysdeps/arc/fpu/fesetenv.c +++ b/sysdeps/arc/fpu/fesetenv.c @@ -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. diff --git a/sysdeps/arm/armv6/rawmemchr.S b/sysdeps/arm/armv6/rawmemchr.S index cd3d2aee21..87987ca68a 100644 --- a/sysdeps/arm/armv6/rawmemchr.S +++ b/sysdeps/arm/armv6/rawmemchr.S @@ -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 diff --git a/sysdeps/arm/armv6/strchr.S b/sysdeps/arm/armv6/strchr.S index 415f6a5a2b..f49ea53667 100644 --- a/sysdeps/arm/armv6/strchr.S +++ b/sysdeps/arm/armv6/strchr.S @@ -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 diff --git a/sysdeps/arm/armv6/strcpy.S b/sysdeps/arm/armv6/strcpy.S index e9f63a56c1..14c6bd2fde 100644 --- a/sysdeps/arm/armv6/strcpy.S +++ b/sysdeps/arm/armv6/strcpy.S @@ -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) diff --git a/sysdeps/arm/armv6/strlen.S b/sysdeps/arm/armv6/strlen.S index b436b80e7e..29966ff34f 100644 --- a/sysdeps/arm/armv6/strlen.S +++ b/sysdeps/arm/armv6/strlen.S @@ -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 diff --git a/sysdeps/arm/armv6/strrchr.S b/sysdeps/arm/armv6/strrchr.S index 2b91e7abcc..e91fd38650 100644 --- a/sysdeps/arm/armv6/strrchr.S +++ b/sysdeps/arm/armv6/strrchr.S @@ -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. diff --git a/sysdeps/arm/atomic-machine.h b/sysdeps/arm/atomic-machine.h index f5231e8d7d..353b6ccbea 100644 --- a/sysdeps/arm/atomic-machine.h +++ b/sysdeps/arm/atomic-machine.h @@ -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; }) diff --git a/sysdeps/arm/dl-tlsdesc.h b/sysdeps/arm/dl-tlsdesc.h index 5c2d8b512b..bb647ccc87 100644 --- a/sysdeps/arm/dl-tlsdesc.h +++ b/sysdeps/arm/dl-tlsdesc.h @@ -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. diff --git a/sysdeps/arm/find_exidx.c b/sysdeps/arm/find_exidx.c index 1404f2ba28..e4ee106fb8 100644 --- a/sysdeps/arm/find_exidx.c +++ b/sysdeps/arm/find_exidx.c @@ -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 diff --git a/sysdeps/arm/nptl/Makefile b/sysdeps/arm/nptl/Makefile index cfbfac90e8..fa2c736c5c 100644 --- a/sysdeps/arm/nptl/Makefile +++ b/sysdeps/arm/nptl/Makefile @@ -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)) diff --git a/sysdeps/arm/stap-probe-machine.h b/sysdeps/arm/stap-probe-machine.h index 9555557a12..2a812c6ff8 100644 --- a/sysdeps/arm/stap-probe-machine.h +++ b/sysdeps/arm/stap-probe-machine.h @@ -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 diff --git a/sysdeps/csky/fpu/feupdateenv.c b/sysdeps/csky/fpu/feupdateenv.c index d061bdd05a..017c375e09 100644 --- a/sysdeps/csky/fpu/feupdateenv.c +++ b/sysdeps/csky/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index ba53176296..8b7e603c87 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -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; diff --git a/sysdeps/generic/sysdep.h b/sysdeps/generic/sysdep.h index 11a5bed338..e77be376f7 100644 --- a/sysdeps/generic/sysdep.h +++ b/sysdeps/generic/sysdep.h @@ -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 diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c index ae46c4eee3..ba91e75557 100644 --- a/sysdeps/generic/unwind-dw2-fde-glibc.c +++ b/sysdeps/generic/unwind-dw2-fde-glibc.c @@ -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++) diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h index 41ca11b5f5..1793724642 100644 --- a/sysdeps/gnu/netinet/tcp.h +++ b/sysdeps/gnu/netinet/tcp.h @@ -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? */ diff --git a/sysdeps/hppa/__longjmp.c b/sysdeps/hppa/__longjmp.c index 055cc26736..cbd701e286 100644 --- a/sysdeps/hppa/__longjmp.c +++ b/sysdeps/hppa/__longjmp.c @@ -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" diff --git a/sysdeps/hppa/dl-fptr.c b/sysdeps/hppa/dl-fptr.c index 5218f7c7c8..1c0d51ca9b 100644 --- a/sysdeps/hppa/dl-fptr.c +++ b/sysdeps/hppa/dl-fptr.c @@ -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 diff --git a/sysdeps/hppa/dl-trampoline.S b/sysdeps/hppa/dl-trampoline.S index ed9f7af7e7..689c6e1a40 100644 --- a/sysdeps/hppa/dl-trampoline.S +++ b/sysdeps/hppa/dl-trampoline.S @@ -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) diff --git a/sysdeps/hppa/nptl/bits/struct_mutex.h b/sysdeps/hppa/nptl/bits/struct_mutex.h index 9033fdfe75..899212a41b 100644 --- a/sysdeps/hppa/nptl/bits/struct_mutex.h +++ b/sysdeps/hppa/nptl/bits/struct_mutex.h @@ -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]; diff --git a/sysdeps/htl/bits/cancelation.h b/sysdeps/htl/bits/cancelation.h index 5fbc308e33..9e0309a370 100644 --- a/sysdeps/htl/bits/cancelation.h +++ b/sysdeps/htl/bits/cancelation.h @@ -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. diff --git a/sysdeps/htl/pt-cond-timedwait.c b/sysdeps/htl/pt-cond-timedwait.c index 9cea259e53..c537350933 100644 --- a/sysdeps/htl/pt-cond-timedwait.c +++ b/sysdeps/htl/pt-cond-timedwait.c @@ -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); diff --git a/sysdeps/htl/pt-key.h b/sysdeps/htl/pt-key.h index df3601e01d..262006de9f 100644 --- a/sysdeps/htl/pt-key.h +++ b/sysdeps/htl/pt-key.h @@ -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. diff --git a/sysdeps/htl/pt-rwlock-timedrdlock.c b/sysdeps/htl/pt-rwlock-timedrdlock.c index 882b195986..6041ce91a1 100644 --- a/sysdeps/htl/pt-rwlock-timedrdlock.c +++ b/sysdeps/htl/pt-rwlock-timedrdlock.c @@ -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; diff --git a/sysdeps/htl/pt-rwlock-timedwrlock.c b/sysdeps/htl/pt-rwlock-timedwrlock.c index a2c969fef8..6eb66aa5a8 100644 --- a/sysdeps/htl/pt-rwlock-timedwrlock.c +++ b/sysdeps/htl/pt-rwlock-timedwrlock.c @@ -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; diff --git a/sysdeps/htl/pt-rwlock-unlock.c b/sysdeps/htl/pt-rwlock-unlock.c index 5564c27dcf..7b5465dab5 100644 --- a/sysdeps/htl/pt-rwlock-unlock.c +++ b/sysdeps/htl/pt-rwlock-unlock.c @@ -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); diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h index 6de08f19db..cc9e7bf94d 100644 --- a/sysdeps/htl/pthread.h +++ b/sysdeps/htl/pthread.h @@ -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) -/* 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)); diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c index bfd4eabf43..bae0708f95 100644 --- a/sysdeps/htl/timer_routines.c +++ b/sysdeps/htl/timer_routines.c @@ -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. */ diff --git a/sysdeps/i386/fpu/feupdateenv.c b/sysdeps/i386/fpu/feupdateenv.c index 77f1054fb5..749061751e 100644 --- a/sysdeps/i386/fpu/feupdateenv.c +++ b/sysdeps/i386/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/i386/i686/dl-hash.h b/sysdeps/i386/i686/dl-hash.h index f8e0c29a9b..67d8d14e32 100644 --- a/sysdeps/i386/i686/dl-hash.h +++ b/sysdeps/i386/i686/dl-hash.h @@ -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. diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S index 51221331ac..e784e21176 100644 --- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S +++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S @@ -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 diff --git a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S index 7677da6f97..3e4dc1ee3d 100644 --- a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S +++ b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S @@ -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 diff --git a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S index 644ed4ea71..f14e54c975 100644 --- a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S +++ b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S @@ -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 diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S index 3966444bef..33d3c60188 100644 --- a/sysdeps/i386/strpbrk.S +++ b/sysdeps/i386/strpbrk.S @@ -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. diff --git a/sysdeps/ia64/dl-trampoline.S b/sysdeps/ia64/dl-trampoline.S index 0398850be3..54b33c8c02 100644 --- a/sysdeps/ia64/dl-trampoline.S +++ b/sysdeps/ia64/dl-trampoline.S @@ -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 diff --git a/sysdeps/ia64/fpu/e_acos.S b/sysdeps/ia64/fpu/e_acos.S index 641c3fd35a..b10fd2195c 100644 --- a/sysdeps/ia64/fpu/e_acos.S +++ b/sysdeps/ia64/fpu/e_acos.S @@ -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. // @@ -100,7 +100,7 @@ // 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 diff --git a/sysdeps/ia64/fpu/e_acosf.S b/sysdeps/ia64/fpu/e_acosf.S index 1507b46c81..7b32ffabc6 100644 --- a/sysdeps/ia64/fpu/e_acosf.S +++ b/sysdeps/ia64/fpu/e_acosf.S @@ -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 diff --git a/sysdeps/ia64/fpu/e_asin.S b/sysdeps/ia64/fpu/e_asin.S index a9ff25afbf..29db6ab331 100644 --- a/sysdeps/ia64/fpu/e_asin.S +++ b/sysdeps/ia64/fpu/e_asin.S @@ -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 diff --git a/sysdeps/ia64/fpu/e_asinf.S b/sysdeps/ia64/fpu/e_asinf.S index 841f815293..546de3b9e6 100644 --- a/sysdeps/ia64/fpu/e_asinf.S +++ b/sysdeps/ia64/fpu/e_asinf.S @@ -56,12 +56,12 @@ // 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 diff --git a/sysdeps/ia64/fpu/e_log.S b/sysdeps/ia64/fpu/e_log.S index 61c8e2c6a8..0275c7baec 100644 --- a/sysdeps/ia64/fpu/e_log.S +++ b/sysdeps/ia64/fpu/e_log.S @@ -121,7 +121,7 @@ // 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. // diff --git a/sysdeps/ia64/fpu/e_logf.S b/sysdeps/ia64/fpu/e_logf.S index 7330b305c2..f317c567da 100644 --- a/sysdeps/ia64/fpu/e_logf.S +++ b/sysdeps/ia64/fpu/e_logf.S @@ -118,7 +118,7 @@ // 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. // @@ -171,7 +171,7 @@ // 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 diff --git a/sysdeps/ia64/fpu/e_pow.S b/sysdeps/ia64/fpu/e_pow.S index 7157b28838..3d87d6172d 100644 --- a/sysdeps/ia64/fpu/e_pow.S +++ b/sysdeps/ia64/fpu/e_pow.S @@ -108,7 +108,7 @@ // // 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)) @@ -357,7 +357,7 @@ // +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 diff --git a/sysdeps/ia64/fpu/e_powf.S b/sysdeps/ia64/fpu/e_powf.S index 0e8aad192b..e353b08658 100644 --- a/sysdeps/ia64/fpu/e_powf.S +++ b/sysdeps/ia64/fpu/e_powf.S @@ -108,7 +108,7 @@ // // 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)) @@ -353,7 +353,7 @@ // +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 diff --git a/sysdeps/ia64/fpu/libm_lgammaf.S b/sysdeps/ia64/fpu/libm_lgammaf.S index 7697cc69ed..1a1a68a9c4 100644 --- a/sysdeps/ia64/fpu/libm_lgammaf.S +++ b/sysdeps/ia64/fpu/libm_lgammaf.S @@ -161,7 +161,7 @@ // precision number. // // -// Claculation of logarithm +// Calculation of logarithm // ------------------------ // Consider x = 2^N * xf so // ln(x) = ln(frcpa(x)*x/frcpa(x)) diff --git a/sysdeps/ia64/fpu/libm_lgammal.S b/sysdeps/ia64/fpu/libm_lgammal.S index d82e4fcaf9..aab45690ed 100644 --- a/sysdeps/ia64/fpu/libm_lgammal.S +++ b/sysdeps/ia64/fpu/libm_lgammal.S @@ -219,7 +219,7 @@ // 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 } diff --git a/sysdeps/ia64/fpu/libm_reduce.S b/sysdeps/ia64/fpu/libm_reduce.S index fd7d06d263..01f16e423c 100644 --- a/sysdeps/ia64/fpu/libm_reduce.S +++ b/sysdeps/ia64/fpu/libm_reduce.S @@ -133,7 +133,7 @@ // ============== // // 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 @@ -158,7 +158,7 @@ // // 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 // diff --git a/sysdeps/ia64/fpu/libm_sincos_large.S b/sysdeps/ia64/fpu/libm_sincos_large.S index 031bf083da..5835ea2d7b 100644 --- a/sysdeps/ia64/fpu/libm_sincos_large.S +++ b/sysdeps/ia64/fpu/libm_sincos_large.S @@ -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 diff --git a/sysdeps/ia64/fpu/libm_sincosl.S b/sysdeps/ia64/fpu/libm_sincosl.S index 1eec445ed6..a5f0ad5d14 100644 --- a/sysdeps/ia64/fpu/libm_sincosl.S +++ b/sysdeps/ia64/fpu/libm_sincosl.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_cosl.S b/sysdeps/ia64/fpu/s_cosl.S index f5052dd508..559cdb6607 100644 --- a/sysdeps/ia64/fpu/s_cosl.S +++ b/sysdeps/ia64/fpu/s_cosl.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_erfcl.S b/sysdeps/ia64/fpu/s_erfcl.S index 09d7c2aef1..2d3cdc1849 100644 --- a/sysdeps/ia64/fpu/s_erfcl.S +++ b/sysdeps/ia64/fpu/s_erfcl.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_modf.S b/sysdeps/ia64/fpu/s_modf.S index 79935fb55f..1d9b3b82b3 100644 --- a/sysdeps/ia64/fpu/s_modf.S +++ b/sysdeps/ia64/fpu/s_modf.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_modff.S b/sysdeps/ia64/fpu/s_modff.S index 3bdcf26e5f..9eb3f74c46 100644 --- a/sysdeps/ia64/fpu/s_modff.S +++ b/sysdeps/ia64/fpu/s_modff.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_modfl.S b/sysdeps/ia64/fpu/s_modfl.S index 5fdfdb6447..23057c841a 100644 --- a/sysdeps/ia64/fpu/s_modfl.S +++ b/sysdeps/ia64/fpu/s_modfl.S @@ -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 diff --git a/sysdeps/ia64/fpu/s_tanhl.S b/sysdeps/ia64/fpu/s_tanhl.S index 5a05c91552..9c657c87b7 100644 --- a/sysdeps/ia64/fpu/s_tanhl.S +++ b/sysdeps/ia64/fpu/s_tanhl.S @@ -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 // diff --git a/sysdeps/ia64/fpu/w_tgamma_compat.S b/sysdeps/ia64/fpu/w_tgamma_compat.S index 8440a0c7b3..0afda2b0a0 100644 --- a/sysdeps/ia64/fpu/w_tgamma_compat.S +++ b/sysdeps/ia64/fpu/w_tgamma_compat.S @@ -169,7 +169,7 @@ // 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 diff --git a/sysdeps/ia64/fpu/w_tgammaf_compat.S b/sysdeps/ia64/fpu/w_tgammaf_compat.S index 67eed2722f..c1f7ad596f 100644 --- a/sysdeps/ia64/fpu/w_tgammaf_compat.S +++ b/sysdeps/ia64/fpu/w_tgammaf_compat.S @@ -170,7 +170,7 @@ // 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. // // //********************************************************************* diff --git a/sysdeps/ia64/memchr.S b/sysdeps/ia64/memchr.S index 7cdc9386c8..393058c4ad 100644 --- a/sysdeps/ia64/memchr.S +++ b/sysdeps/ia64/memchr.S @@ -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 diff --git a/sysdeps/ia64/strchr.S b/sysdeps/ia64/strchr.S index 27d5cacea8..13b04dc725 100644 --- a/sysdeps/ia64/strchr.S +++ b/sysdeps/ia64/strchr.S @@ -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 diff --git a/sysdeps/ieee754/dbl-64/branred.c b/sysdeps/ieee754/dbl-64/branred.c index 8f0bf385a3..7fb96e7fa8 100644 --- a/sysdeps/ieee754/dbl-64/branred.c +++ b/sysdeps/ieee754/dbl-64/branred.c @@ -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 */ } diff --git a/sysdeps/ieee754/dbl-64/e_lgamma_r.c b/sysdeps/ieee754/dbl-64/e_lgamma_r.c index 5ef289e8e8..72c68b6682 100644 --- a/sysdeps/ieee754/dbl-64/e_lgamma_r.c +++ b/sysdeps/ieee754/dbl-64/e_lgamma_r.c @@ -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) diff --git a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c index 83eb82190b..a02e661183 100644 --- a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c +++ b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c @@ -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) diff --git a/sysdeps/ieee754/ldbl-96/e_lgammal_r.c b/sysdeps/ieee754/ldbl-96/e_lgammal_r.c index c6f0e77057..148c21bb8d 100644 --- a/sysdeps/ieee754/ldbl-96/e_lgammal_r.c +++ b/sysdeps/ieee754/ldbl-96/e_lgammal_r.c @@ -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) diff --git a/sysdeps/loongarch/configure.ac b/sysdeps/loongarch/configure.ac index eaee4a9f76..c45f6b815e 100644 --- a/sysdeps/loongarch/configure.ac +++ b/sysdeps/loongarch/configure.ac @@ -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, [ diff --git a/sysdeps/loongarch/fpu/feupdateenv.c b/sysdeps/loongarch/fpu/feupdateenv.c index 63e6f8d65b..d5cdfb5a09 100644 --- a/sysdeps/loongarch/fpu/feupdateenv.c +++ b/sysdeps/loongarch/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/m68k/fpu/feupdateenv.c b/sysdeps/m68k/fpu/feupdateenv.c index 4a399900bc..ffa3401b9e 100644 --- a/sysdeps/m68k/fpu/feupdateenv.c +++ b/sysdeps/m68k/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/m68k/unwind-arch.h b/sysdeps/m68k/unwind-arch.h index b0e42a7f76..a4920a0187 100644 --- a/sysdeps/m68k/unwind-arch.h +++ b/sysdeps/m68k/unwind-arch.h @@ -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 */ diff --git a/sysdeps/mach/htl/pt-thread-alloc.c b/sysdeps/mach/htl/pt-thread-alloc.c index 29993a8ca8..c73e4952f5 100644 --- a/sysdeps/mach/htl/pt-thread-alloc.c +++ b/sysdeps/mach/htl/pt-thread-alloc.c @@ -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) diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index b585d57b78..5bc682a397 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -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 $@ diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h index 0a392e4c69..b5bc971d08 100644 --- a/sysdeps/mach/hurd/bits/posix_opt.h +++ b/sysdeps/mach/hurd/bits/posix_opt.h @@ -87,14 +87,14 @@ /* 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. */ diff --git a/sysdeps/mach/hurd/errno-loc.c b/sysdeps/mach/hurd/errno-loc.c index e0a66ce825..823ce696b0 100644 --- a/sysdeps/mach/hurd/errno-loc.c +++ b/sysdeps/mach/hurd/errno-loc.c @@ -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 diff --git a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h index 11caa8704b..8f859795fd 100644 --- a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h +++ b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h @@ -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 } } } diff --git a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c index f1f1bb47db..17fa46c15c 100644 --- a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c +++ b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c @@ -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; diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data index c01e4d81e4..89b124db9f 100644 --- a/sysdeps/mach/hurd/i386/localplt.data +++ b/sysdeps/mach/hurd/i386/localplt.data @@ -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 diff --git a/sysdeps/mach/hurd/ptsname.c b/sysdeps/mach/hurd/ptsname.c index 06234f536b..10edaa8d8a 100644 --- a/sysdeps/mach/hurd/ptsname.c +++ b/sysdeps/mach/hurd/ptsname.c @@ -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))) diff --git a/sysdeps/mach/hurd/recvfrom.c b/sysdeps/mach/hurd/recvfrom.c index 6f2c927ab6..c9812afd91 100644 --- a/sysdeps/mach/hurd/recvfrom.c +++ b/sysdeps/mach/hurd/recvfrom.c @@ -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 diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c index 03191b91fc..7c150a5035 100644 --- a/sysdeps/mach/hurd/setitimer.c +++ b/sysdeps/mach/hurd/setitimer.c @@ -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. */ diff --git a/sysdeps/mips/atomic-machine.h b/sysdeps/mips/atomic-machine.h index 99f42efab6..c40254d387 100644 --- a/sysdeps/mips/atomic-machine.h +++ b/sysdeps/mips/atomic-machine.h @@ -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) diff --git a/sysdeps/mips/bits/link.h b/sysdeps/mips/bits/link.h index b2ebe30d1d..f0cb05c43c 100644 --- a/sysdeps/mips/bits/link.h +++ b/sysdeps/mips/bits/link.h @@ -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; diff --git a/sysdeps/mips/fpu/feupdateenv.c b/sysdeps/mips/fpu/feupdateenv.c index 03537235d7..59f86ac1b3 100644 --- a/sysdeps/mips/fpu/feupdateenv.c +++ b/sysdeps/mips/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S index b1e1c3dc94..91a7bf0a68 100644 --- a/sysdeps/mips/memcpy.S +++ b/sysdeps/mips/memcpy.S @@ -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) diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S index 0430dca427..450f9014ec 100644 --- a/sysdeps/mips/memset.S +++ b/sysdeps/mips/memset.S @@ -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. */ diff --git a/sysdeps/mips/start.S b/sysdeps/mips/start.S index c08991c20d..35ef4403f8 100644 --- a/sysdeps/mips/start.S +++ b/sysdeps/mips/start.S @@ -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. */ diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h index d250770586..f3a11391a0 100644 --- a/sysdeps/mips/sys/asm.h +++ b/sysdeps/mips/sys/asm.h @@ -198,7 +198,7 @@ symbol = value TEXT(msg) /* - * Print formated string + * Print formatted string */ #define PRINT(string) \ .set push; \ diff --git a/sysdeps/mips/tst-abi-interlink.c b/sysdeps/mips/tst-abi-interlink.c index 6908378e3a..ccd136f4db 100644 --- a/sysdeps/mips/tst-abi-interlink.c +++ b/sysdeps/mips/tst-abi-interlink.c @@ -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) { diff --git a/sysdeps/mips/unwind-arch.h b/sysdeps/mips/unwind-arch.h index 94277d0a86..b9de815ac6 100644 --- a/sysdeps/mips/unwind-arch.h +++ b/sysdeps/mips/unwind-arch.h @@ -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 diff --git a/sysdeps/nios2/dl-machine.h b/sysdeps/nios2/dl-machine.h index 50c83df1cb..f151d29242 100644 --- a/sysdeps/nios2/dl-machine.h +++ b/sysdeps/nios2/dl-machine.h @@ -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\ diff --git a/sysdeps/nios2/start.S b/sysdeps/nios2/start.S index 9179c330f7..fe2d69d3c9 100644 --- a/sysdeps/nios2/start.S +++ b/sysdeps/nios2/start.S @@ -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. */ diff --git a/sysdeps/nptl/dl-tls_init_tp.c b/sysdeps/nptl/dl-tls_init_tp.c index 50dc778852..2ed98c5a31 100644 --- a/sysdeps/nptl/dl-tls_init_tp.c +++ b/sysdeps/nptl/dl-tls_init_tp.c @@ -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 (); diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h index 3d0d07ceb2..7f65483542 100644 --- a/sysdeps/nptl/pthread.h +++ b/sysdeps/nptl/pthread.h @@ -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 diff --git a/sysdeps/or1k/dl-machine.h b/sysdeps/or1k/dl-machine.h index b6707b96e0..27dfd7bcdd 100644 --- a/sysdeps/or1k/dl-machine.h +++ b/sysdeps/or1k/dl-machine.h @@ -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 diff --git a/sysdeps/or1k/nptl/tls.h b/sysdeps/or1k/nptl/tls.h index 6d4f8bdc1f..daea7a893d 100644 --- a/sysdeps/or1k/nptl/tls.h +++ b/sysdeps/or1k/nptl/tls.h @@ -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 \ diff --git a/sysdeps/powerpc/atomic-machine.h b/sysdeps/powerpc/atomic-machine.h index aae467cc50..80369e0f94 100644 --- a/sysdeps/powerpc/atomic-machine.h +++ b/sysdeps/powerpc/atomic-machine.h @@ -18,7 +18,7 @@ /* * Never include sysdeps/powerpc/atomic-machine.h directly. - * Alway use include/atomic.h which will include either + * Always use include/atomic.h which will include either * sysdeps/powerpc/powerpc32/atomic-machine.h * or * sysdeps/powerpc/powerpc64/atomic-machine.h diff --git a/sysdeps/powerpc/bits/setjmp.h b/sysdeps/powerpc/bits/setjmp.h index ac92616ec9..201208a53a 100644 --- a/sysdeps/powerpc/bits/setjmp.h +++ b/sysdeps/powerpc/bits/setjmp.h @@ -32,7 +32,7 @@ /* The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI the vrsave must be at byte 248 & v20 at byte 256. So we must pad this - correctly on 32 bit. It also insists that vecregs are only gauranteed + correctly on 32 bit. It also insists that vecregs are only guaranteed 4 byte alignment so we need to use vperm in the setjmp/longjmp routines. We have to version the code because members like int __mask_was_saved in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We diff --git a/sysdeps/powerpc/powerpc32/405/memcpy.S b/sysdeps/powerpc/powerpc32/405/memcpy.S index a2d0df0e32..b5db693142 100644 --- a/sysdeps/powerpc/powerpc32/405/memcpy.S +++ b/sysdeps/powerpc/powerpc32/405/memcpy.S @@ -26,10 +26,10 @@ r5:byte count Save return address in r0. - If destinationn and source are unaligned and copy count is greater than 256 + If destination and source are unaligned and copy count is greater than 256 then copy 0-3 bytes to make destination aligned. If 32 or more bytes to copy we use 32 byte copy loop. - Finaly we copy 0-31 extra bytes. */ + Finally we copy 0-31 extra bytes. */ EALIGN (memcpy, 5, 0) /* Check if bytes to copy are greater than 256 and if diff --git a/sysdeps/powerpc/powerpc32/405/memset.S b/sysdeps/powerpc/powerpc32/405/memset.S index 6c574ed79e..8ddad2274c 100644 --- a/sysdeps/powerpc/powerpc32/405/memset.S +++ b/sysdeps/powerpc/powerpc32/405/memset.S @@ -27,13 +27,13 @@ r12:temp return address Save return address in r12 - If destinationn is unaligned and count is greater tha 255 bytes + If destination is unaligned and count is greater than 255 bytes set 0-3 bytes to make destination aligned - If count is greater tha 255 bytes and setting zero to memory - use dbcz to set memeory when we can - otherwsie do the follwoing + If count is greater than 255 bytes and setting zero to memory + use dbcz to set memory when we can + otherwise do the following If 16 or more words to set we use 16 word copy loop. - Finaly we set 0-15 extra bytes with string store. */ + Finally we set 0-15 extra bytes with string store. */ EALIGN (memset, 5, 0) rlwinm r11,r4,0,24,31 diff --git a/sysdeps/powerpc/powerpc32/476/memset.S b/sysdeps/powerpc/powerpc32/476/memset.S index 527291e1b9..29b0feaccc 100644 --- a/sysdeps/powerpc/powerpc32/476/memset.S +++ b/sysdeps/powerpc/powerpc32/476/memset.S @@ -27,13 +27,13 @@ r12:temp return address Save return address in r12 - If destinationn is unaligned and count is greater tha 255 bytes + If destination is unaligned and count is greater than 255 bytes set 0-3 bytes to make destination aligned - If count is greater tha 255 bytes and setting zero to memory - use dbcz to set memeory when we can - otherwsie do the follwoing + If count is greater than 255 bytes and setting zero to memory + use dbcz to set memory when we can + otherwise do the following If 16 or more words to set we use 16 word copy loop. - Finaly we set 0-15 extra bytes with string store. */ + Finally we set 0-15 extra bytes with string store. */ EALIGN (memset, 5, 0) rlwinm r11,r4,0,24,31 diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c index 4c144ac620..d5602fca6a 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c @@ -1,4 +1,4 @@ -/* Optimized strcasecmp_l implememtation for POWER7. +/* Optimized strcasecmp_l implementation for POWER7. Copyright (C) 2013-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c index fb668a1f34..477b8e72cf 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c @@ -1,4 +1,4 @@ -/* Optimized strcasecmp_l implememtation for POWER7. +/* Optimized strcasecmp_l implementation for POWER7. Copyright (C) 2013-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/powerpc/powerpc64/configure.ac b/sysdeps/powerpc/powerpc64/configure.ac index 111a0ae4b3..575745af3e 100644 --- a/sysdeps/powerpc/powerpc64/configure.ac +++ b/sysdeps/powerpc/powerpc64/configure.ac @@ -27,7 +27,7 @@ fi # We check if compiler supports @notoc generation since there is no # gain by enabling it if it will be optimized away by the linker. # It also helps linkers that might not optimize it and end up -# generating stubs with ISA 3.1 instruction even targetting older ISA. +# generating stubs with ISA 3.1 instruction even targeting older ISA. AC_CACHE_CHECK([if the compiler supports @notoc], libc_cv_ppc64_notoc, [dnl cat > conftest.c <<EOF diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h index 5fc69e6444..d60c86c41b 100644 --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-redirect-macros.h @@ -34,7 +34,7 @@ Redirect func to a function named function ## variant ## reentrant_suffix F128_REDIR(function) - Convience wrapper for F128_REDIR_R where function does not require + Convenience wrapper for F128_REDIR_R where function does not require a suffix argument. */ diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h index 017f4dd184..0d2a28563e 100644 --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc.h @@ -68,7 +68,7 @@ _F128_IFUNC2 (__ ## func ## f128, pfx2 ## func ## f128, r); /* GEN_COMPAT_R_e(f) - Generate a compatability symbol for finite alias of ieee function. */ + Generate a compatibility symbol for finite alias of ieee function. */ #define GEN_COMPAT_R_e(f, r) \ libm_alias_finite (__ieee754_ ## f ## f128 ## r, __ ## f ## f128 ## r) diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h index 11f5329d32..b1f0c9abea 100644 --- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h +++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h @@ -44,7 +44,7 @@ #include <float128-ifunc-macros.h> -/* Declare these now. These prototyes are not included +/* Declare these now. These prototypes are not included in any header. */ extern __typeof (cosf128) __ieee754_cosf128; extern __typeof (asinhf128) __ieee754_asinhf128; diff --git a/sysdeps/powerpc/powerpc64/power7/memmove.S b/sysdeps/powerpc/powerpc64/power7/memmove.S index 6988eff18f..e9a9cae6a4 100644 --- a/sysdeps/powerpc/powerpc64/power7/memmove.S +++ b/sysdeps/powerpc/powerpc64/power7/memmove.S @@ -425,7 +425,7 @@ L(end_unaligned_loop): /* Return original DST pointer. */ blr - /* Start to memcpy backward implementation: the algorith first check if + /* Start to memcpy backward implementation: the algorithm first check if src and dest have the same alignment and if it does align both to 16 bytes and copy using VSX instructions. If does not, align dest to 16 bytes and use VMX (altivec) instruction diff --git a/sysdeps/powerpc/powerpc64/power7/strcmp.S b/sysdeps/powerpc/powerpc64/power7/strcmp.S index c1c2a6f6b3..bd41639c5d 100644 --- a/sysdeps/powerpc/powerpc64/power7/strcmp.S +++ b/sysdeps/powerpc/powerpc64/power7/strcmp.S @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ /* The optimization is achieved here through cmpb instruction. - 8byte aligned strings are processed with double word comparision + 8byte aligned strings are processed with double word comparison and unaligned strings are handled effectively with loop unrolling technique */ diff --git a/sysdeps/powerpc/powerpc64/power7/strncpy.S b/sysdeps/powerpc/powerpc64/power7/strncpy.S index eec0c41ccb..8d55a0cbcc 100644 --- a/sysdeps/powerpc/powerpc64/power7/strncpy.S +++ b/sysdeps/powerpc/powerpc64/power7/strncpy.S @@ -479,7 +479,7 @@ L(storebyte2): rldicl r6, r3, 0, 61 /* Recalculate padding */ mr r7, r6 - /* src is algined */ + /* src is aligned */ L(srcaligndstunalign): mr r9, r3 mr r6, r7 diff --git a/sysdeps/powerpc/powerpc64/power7/strrchr.S b/sysdeps/powerpc/powerpc64/power7/strrchr.S index 7f730c8d5e..accff65f04 100644 --- a/sysdeps/powerpc/powerpc64/power7/strrchr.S +++ b/sysdeps/powerpc/powerpc64/power7/strrchr.S @@ -31,7 +31,7 @@ ENTRY_TOCLESS (STRRCHR) clrrdi r8,r3,3 /* Align the address to doubleword boundary. */ cmpdi cr7,r4,0 ld r12,0(r8) /* Load doubleword from memory. */ - li r9,0 /* used to store last occurence */ + li r9,0 /* used to store last occurrence */ li r0,0 /* Doubleword with null chars to use with cmpb. */ diff --git a/sysdeps/powerpc/powerpc64/power8/strcasestr.S b/sysdeps/powerpc/powerpc64/power8/strcasestr.S index 1d1eeceef7..2e88481abd 100644 --- a/sysdeps/powerpc/powerpc64/power8/strcasestr.S +++ b/sysdeps/powerpc/powerpc64/power8/strcasestr.S @@ -137,7 +137,7 @@ ENTRY (STRCASESTR, 4) beq cr7, L(skipcheck) cmpw cr7, r3, r29 ble cr7, L(firstpos) - /* Move r3 to the first occurence. */ + /* Move r3 to the first occurrence. */ L(skipcheck): mr r3, r29 L(firstpos): @@ -448,7 +448,7 @@ L(loop1): beq cr7, L(skipcheck1) cmpw cr7, r3, r29 ble cr7, L(nextpos) - /* Move r3 to first occurence. */ + /* Move r3 to first occurrence. */ L(skipcheck1): mr r3, r29 L(nextpos): diff --git a/sysdeps/powerpc/powerpc64/power8/strcmp.S b/sysdeps/powerpc/powerpc64/power8/strcmp.S index 4b1cde92ae..4b36723c84 100644 --- a/sysdeps/powerpc/powerpc64/power8/strcmp.S +++ b/sysdeps/powerpc/powerpc64/power8/strcmp.S @@ -207,7 +207,7 @@ L(check_source2_byte_loop): bdnz L(check_source2_byte_loop) /* If source2 is unaligned to doubleword, the code needs to check - on each interation if the unaligned doubleword access will cross + on each iteration if the unaligned doubleword access will cross a 4k page boundary. */ .align 5 L(loop_unaligned): diff --git a/sysdeps/powerpc/powerpc64/power8/strlen.S b/sysdeps/powerpc/powerpc64/power8/strlen.S index 4e1d884cc0..33a3e6af27 100644 --- a/sysdeps/powerpc/powerpc64/power8/strlen.S +++ b/sysdeps/powerpc/powerpc64/power8/strlen.S @@ -65,7 +65,7 @@ ENTRY_TOCLESS (STRLEN, 4) L(align64): /* Proceed to the old (POWER7) implementation, checking two doublewords - per iteraction. For the first 56 bytes, we will just check for null + per iteration. For the first 56 bytes, we will just check for null characters. After that, we will also check if we are 64-byte aligned so we can jump to the vectorized implementation. We will unroll these loops to avoid excessive branching. */ diff --git a/sysdeps/powerpc/powerpc64/power8/strncmp.S b/sysdeps/powerpc/powerpc64/power8/strncmp.S index b30f970c66..65d0db49f4 100644 --- a/sysdeps/powerpc/powerpc64/power8/strncmp.S +++ b/sysdeps/powerpc/powerpc64/power8/strncmp.S @@ -101,7 +101,7 @@ L(align_8b): b L(loop_ne_align_1) /* If source2 is unaligned to doubleword, the code needs to check - on each interation if the unaligned doubleword access will cross + on each iteration if the unaligned doubleword access will cross a 4k page boundary. */ .align 4 L(loop_ne_align_0): diff --git a/sysdeps/powerpc/powerpc64/power8/strncpy.S b/sysdeps/powerpc/powerpc64/power8/strncpy.S index 79a3d5aac3..9cfa08ef95 100644 --- a/sysdeps/powerpc/powerpc64/power8/strncpy.S +++ b/sysdeps/powerpc/powerpc64/power8/strncpy.S @@ -144,7 +144,7 @@ L(short_path_2): .align 4 L(short_path_loop): /* At this point, the induction variable, r5, as well as the pointers - to dest and src (r9 and r4, respectivelly) have been updated. + to dest and src (r9 and r4, respectively) have been updated. Note: The registers r7 and r10 are induction variables derived from r5. They are used to determine if the total number of writes has @@ -351,7 +351,7 @@ L(pagecross): cmpdi cr7,r9,0 bne cr7,L(short_path_prepare_2) - /* No null byte found in the 32 bytes readed and length not reached, + /* No null byte found in the 32 bytes read and length not reached, read source again using unaligned loads and store them. */ ld r9,0(r4) addi r29,r3,16 diff --git a/sysdeps/powerpc/powerpc64/power8/strnlen.S b/sysdeps/powerpc/powerpc64/power8/strnlen.S index a8495afad5..5bc62d6fbb 100644 --- a/sysdeps/powerpc/powerpc64/power8/strnlen.S +++ b/sysdeps/powerpc/powerpc64/power8/strnlen.S @@ -166,7 +166,7 @@ L(loop_64B): vminub v6,v3,v4 vminub v7,v5,v6 vcmpequb. v7,v7,v0 /* Check for null bytes. */ - addi r5,r5,64 /* Add pointer to next iteraction. */ + addi r5,r5,64 /* Add pointer to next iteration. */ bne cr6,L(found_64B) /* If found null bytes. */ bdnz L(loop_64B) /* Continue the loop if count > 0. */ diff --git a/sysdeps/powerpc/powerpc64/power8/strrchr.S b/sysdeps/powerpc/powerpc64/power8/strrchr.S index 62b4d493e7..dad2eb11b8 100644 --- a/sysdeps/powerpc/powerpc64/power8/strrchr.S +++ b/sysdeps/powerpc/powerpc64/power8/strrchr.S @@ -74,7 +74,7 @@ ENTRY_TOCLESS (STRRCHR) clrrdi r8,r3,3 /* Align the address to doubleword boundary. */ cmpdi cr7,r4,0 ld r12,0(r8) /* Load doubleword from memory. */ - li r9,0 /* Used to store last occurence. */ + li r9,0 /* Used to store last occurrence. */ li r0,0 /* Doubleword with null chars to use with cmpb. */ diff --git a/sysdeps/powerpc/powerpc64/setjmp-bug21895.c b/sysdeps/powerpc/powerpc64/setjmp-bug21895.c index 31eab6c422..d15541c9dd 100644 --- a/sysdeps/powerpc/powerpc64/setjmp-bug21895.c +++ b/sysdeps/powerpc/powerpc64/setjmp-bug21895.c @@ -20,7 +20,7 @@ #include <string.h> #include <setjmp.h> -/* Copy r1 adress to a local variable. */ +/* Copy r1 address to a local variable. */ #define GET_STACK_POINTER(sp) \ ({ \ asm volatile ("mr %0, 1\n\t" \ diff --git a/sysdeps/pthread/cnd_wait.c b/sysdeps/pthread/cnd_wait.c index 0863a9f9f4..5c0877d0a8 100644 --- a/sysdeps/pthread/cnd_wait.c +++ b/sysdeps/pthread/cnd_wait.c @@ -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. diff --git a/sysdeps/pthread/posix-timer.h b/sysdeps/pthread/posix-timer.h index 4ac534ce7a..d87242f008 100644 --- a/sysdeps/pthread/posix-timer.h +++ b/sysdeps/pthread/posix-timer.h @@ -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. */ diff --git a/sysdeps/pthread/threads.h b/sysdeps/pthread/threads.h index 860d597d96..d88d7a3ddd 100644 --- a/sysdeps/pthread/threads.h +++ b/sysdeps/pthread/threads.h @@ -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); diff --git a/sysdeps/pthread/tst-cancel12.c b/sysdeps/pthread/tst-cancel12.c index 23b9ab2f2b..004f994b25 100644 --- a/sysdeps/pthread/tst-cancel12.c +++ b/sysdeps/pthread/tst-cancel12.c @@ -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"); diff --git a/sysdeps/pthread/tst-clock1.c b/sysdeps/pthread/tst-clock1.c index b11d465fce..83a4bb2471 100644 --- a/sysdeps/pthread/tst-clock1.c +++ b/sysdeps/pthread/tst-clock1.c @@ -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); } } diff --git a/sysdeps/pthread/tst-cond2.c b/sysdeps/pthread/tst-cond2.c index 95662aa7eb..baf08c0dbc 100644 --- a/sysdeps/pthread/tst-cond2.c +++ b/sysdeps/pthread/tst-cond2.c @@ -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) diff --git a/sysdeps/pthread/tst-key2.c b/sysdeps/pthread/tst-key2.c index 9f16dbfbe1..c77f270ad3 100644 --- a/sysdeps/pthread/tst-key2.c +++ b/sysdeps/pthread/tst-key2.c @@ -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"); diff --git a/sysdeps/pthread/tst-mutex10.c b/sysdeps/pthread/tst-mutex10.c index 5e8d90a9e3..6a71d92001 100644 --- a/sysdeps/pthread/tst-mutex10.c +++ b/sysdeps/pthread/tst-mutex10.c @@ -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: diff --git a/sysdeps/pthread/tst-mutex2.c b/sysdeps/pthread/tst-mutex2.c index d171f1d4fa..9f12f5f597 100644 --- a/sysdeps/pthread/tst-mutex2.c +++ b/sysdeps/pthread/tst-mutex2.c @@ -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) diff --git a/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c index 9a292d477e..1f4569fe8d 100644 --- a/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c +++ b/sysdeps/pthread/tst-rwlock-tryrdlock-stall.c @@ -68,11 +68,11 @@ 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: @@ -136,7 +136,7 @@ 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 @@ -257,7 +257,7 @@ 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. --- diff --git a/sysdeps/pthread/tst-rwlock-trywrlock-stall.c b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c index 2a15c2864a..0dd42fd715 100644 --- a/sysdeps/pthread/tst-rwlock-trywrlock-stall.c +++ b/sysdeps/pthread/tst-rwlock-trywrlock-stall.c @@ -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 diff --git a/sysdeps/pthread/tst-tsd2.c b/sysdeps/pthread/tst-tsd2.c index aa1119c307..ccecde7d3b 100644 --- a/sysdeps/pthread/tst-tsd2.c +++ b/sysdeps/pthread/tst-tsd2.c @@ -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; diff --git a/sysdeps/s390/memchr-vx.S b/sysdeps/s390/memchr-vx.S index aa0a65e498..c7c601a7f2 100644 --- a/sysdeps/s390/memchr-vx.S +++ b/sysdeps/s390/memchr-vx.S @@ -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[ diff --git a/sysdeps/s390/memcpy-z900.S b/sysdeps/s390/memcpy-z900.S index b7843f788f..fe77e37679 100644 --- a/sysdeps/s390/memcpy-z900.S +++ b/sysdeps/s390/memcpy-z900.S @@ -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 diff --git a/sysdeps/s390/memset-z900.S b/sysdeps/s390/memset-z900.S index 7a90415de5..964c872579 100644 --- a/sysdeps/s390/memset-z900.S +++ b/sysdeps/s390/memset-z900.S @@ -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: diff --git a/sysdeps/s390/multiarch/8bit-generic.c b/sysdeps/s390/multiarch/8bit-generic.c index e90c3224c8..3b5f5e759c 100644 --- a/sysdeps/s390/multiarch/8bit-generic.c +++ b/sysdeps/s390/multiarch/8bit-generic.c @@ -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" @@ -172,7 +172,7 @@ 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! */ \ @@ -278,8 +278,8 @@ 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) \ @@ -321,15 +321,15 @@ 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 \ diff --git a/sysdeps/s390/s390-32/setjmp.S b/sysdeps/s390/s390-32/setjmp.S index d9f476f634..2525932ed4 100644 --- a/sysdeps/s390/s390-32/setjmp.S +++ b/sysdeps/s390/s390-32/setjmp.S @@ -38,13 +38,13 @@ /* 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) diff --git a/sysdeps/s390/s390-32/start.S b/sysdeps/s390/s390-32/start.S index eb84e7ff29..23166f6226 100644 --- a/sysdeps/s390/s390-32/start.S +++ b/sysdeps/s390/s390-32/start.S @@ -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) diff --git a/sysdeps/s390/s390-64/setjmp.S b/sysdeps/s390/s390-64/setjmp.S index a9533533de..b1df2204f2 100644 --- a/sysdeps/s390/s390-64/setjmp.S +++ b/sysdeps/s390/s390-64/setjmp.S @@ -38,13 +38,13 @@ /* 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) diff --git a/sysdeps/s390/s390-64/strncpy-z900.S b/sysdeps/s390/s390-64/strncpy-z900.S index 5d39243ae2..97b725e43f 100644 --- a/sysdeps/s390/s390-64/strncpy-z900.S +++ b/sysdeps/s390/s390-64/strncpy-z900.S @@ -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) diff --git a/sysdeps/s390/stpncpy-vx.S b/sysdeps/s390/stpncpy-vx.S index 02e36dc5bc..a11b1956bb 100644 --- a/sysdeps/s390/stpncpy-vx.S +++ b/sysdeps/s390/stpncpy-vx.S @@ -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. */ diff --git a/sysdeps/s390/strcspn-vx.S b/sysdeps/s390/strcspn-vx.S index 340e4c60df..f48bc5db9c 100644 --- a/sysdeps/s390/strcspn-vx.S +++ b/sysdeps/s390/strcspn-vx.S @@ -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. */ diff --git a/sysdeps/s390/strncmp-vx.S b/sysdeps/s390/strncmp-vx.S index 0b15ea5829..ff8238da76 100644 --- a/sysdeps/s390/strncmp-vx.S +++ b/sysdeps/s390/strncmp-vx.S @@ -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; diff --git a/sysdeps/s390/strpbrk-vx.S b/sysdeps/s390/strpbrk-vx.S index 3ac123a630..bc7513be0a 100644 --- a/sysdeps/s390/strpbrk-vx.S +++ b/sysdeps/s390/strpbrk-vx.S @@ -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. */ diff --git a/sysdeps/s390/strrchr-vx.S b/sysdeps/s390/strrchr-vx.S index 70b9534676..2091c13cf8 100644 --- a/sysdeps/s390/strrchr-vx.S +++ b/sysdeps/s390/strrchr-vx.S @@ -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: diff --git a/sysdeps/s390/strspn-vx.S b/sysdeps/s390/strspn-vx.S index 4af597aa18..8c77698a59 100644 --- a/sysdeps/s390/strspn-vx.S +++ b/sysdeps/s390/strspn-vx.S @@ -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. */ diff --git a/sysdeps/s390/utf16-utf32-z9.c b/sysdeps/s390/utf16-utf32-z9.c index 36c56ccbf7..a20e9b6176 100644 --- a/sysdeps/s390/utf16-utf32-z9.c +++ b/sysdeps/s390/utf16-utf32-z9.c @@ -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" \ diff --git a/sysdeps/s390/utf8-utf16-z9.c b/sysdeps/s390/utf8-utf16-z9.c index 33f7c64da4..c72c2ed46e 100644 --- a/sysdeps/s390/utf8-utf16-z9.c +++ b/sysdeps/s390/utf8-utf16-z9.c @@ -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" \ diff --git a/sysdeps/s390/utf8-utf32-z9.c b/sysdeps/s390/utf8-utf32-z9.c index 55321c519a..c3bb464c2e 100644 --- a/sysdeps/s390/utf8-utf32-z9.c +++ b/sysdeps/s390/utf8-utf32-z9.c @@ -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" \ diff --git a/sysdeps/s390/wcpncpy-vx.S b/sysdeps/s390/wcpncpy-vx.S index 3c2361bfa0..16b68efebd 100644 --- a/sysdeps/s390/wcpncpy-vx.S +++ b/sysdeps/s390/wcpncpy-vx.S @@ -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. */ diff --git a/sysdeps/s390/wcscmp-vx.S b/sysdeps/s390/wcscmp-vx.S index c397eb0631..0a161e084a 100644 --- a/sysdeps/s390/wcscmp-vx.S +++ b/sysdeps/s390/wcscmp-vx.S @@ -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. */ diff --git a/sysdeps/s390/wcscspn-vx.S b/sysdeps/s390/wcscspn-vx.S index 857c95e31f..d7a9b60148 100644 --- a/sysdeps/s390/wcscspn-vx.S +++ b/sysdeps/s390/wcscspn-vx.S @@ -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. */ diff --git a/sysdeps/s390/wcsncmp-vx.S b/sysdeps/s390/wcsncmp-vx.S index bf4cb154b9..1bf769b870 100644 --- a/sysdeps/s390/wcsncmp-vx.S +++ b/sysdeps/s390/wcsncmp-vx.S @@ -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; diff --git a/sysdeps/s390/wcspbrk-vx.S b/sysdeps/s390/wcspbrk-vx.S index 7b96bd31e1..294ab5ab14 100644 --- a/sysdeps/s390/wcspbrk-vx.S +++ b/sysdeps/s390/wcspbrk-vx.S @@ -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. */ diff --git a/sysdeps/s390/wcsrchr-vx.S b/sysdeps/s390/wcsrchr-vx.S index 7903d7ec60..3465ee3726 100644 --- a/sysdeps/s390/wcsrchr-vx.S +++ b/sysdeps/s390/wcsrchr-vx.S @@ -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: diff --git a/sysdeps/s390/wcsspn-vx.S b/sysdeps/s390/wcsspn-vx.S index 3948110584..d78ed9574a 100644 --- a/sysdeps/s390/wcsspn-vx.S +++ b/sysdeps/s390/wcsspn-vx.S @@ -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. */ diff --git a/sysdeps/s390/wmemchr-vx.S b/sysdeps/s390/wmemchr-vx.S index db872991c7..a692858738 100644 --- a/sysdeps/s390/wmemchr-vx.S +++ b/sysdeps/s390/wmemchr-vx.S @@ -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[ diff --git a/sysdeps/sh/sh4/fpu/feupdateenv.c b/sysdeps/sh/sh4/fpu/feupdateenv.c index d8d1bc9b98..7101063900 100644 --- a/sysdeps/sh/sh4/fpu/feupdateenv.c +++ b/sysdeps/sh/sh4/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/sparc/atomic-machine.h b/sysdeps/sparc/atomic-machine.h index 855b7c489c..de9a626471 100644 --- a/sysdeps/sparc/atomic-machine.h +++ b/sysdeps/sparc/atomic-machine.h @@ -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) \ ({ \ diff --git a/sysdeps/sparc/fpu/feupdateenv.c b/sysdeps/sparc/fpu/feupdateenv.c index 4c84dcaa53..821cd7eee7 100644 --- a/sysdeps/sparc/fpu/feupdateenv.c +++ b/sysdeps/sparc/fpu/feupdateenv.c @@ -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); diff --git a/sysdeps/sparc/sparc32/sparcv9/rem.S b/sysdeps/sparc/sparc32/sparcv9/rem.S index 5385bd8305..7eb37809d0 100644 --- a/sysdeps/sparc/sparc32/sparcv9/rem.S +++ b/sysdeps/sparc/sparc32/sparcv9/rem.S @@ -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> diff --git a/sysdeps/sparc/sparc32/sparcv9/sdiv.S b/sysdeps/sparc/sparc32/sparcv9/sdiv.S index d765514cea..e58b727695 100644 --- a/sysdeps/sparc/sparc32/sparcv9/sdiv.S +++ b/sysdeps/sparc/sparc32/sparcv9/sdiv.S @@ -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> diff --git a/sysdeps/sparc/sparc32/sparcv9/udiv.S b/sysdeps/sparc/sparc32/sparcv9/udiv.S index 368f85ede2..13e0925c68 100644 --- a/sysdeps/sparc/sparc32/sparcv9/udiv.S +++ b/sysdeps/sparc/sparc32/sparcv9/udiv.S @@ -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> diff --git a/sysdeps/sparc/sparc32/sparcv9/urem.S b/sysdeps/sparc/sparc32/sparcv9/urem.S index cab16c9193..76fa49edd4 100644 --- a/sysdeps/sparc/sparc32/sparcv9/urem.S +++ b/sysdeps/sparc/sparc32/sparcv9/urem.S @@ -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> diff --git a/sysdeps/sparc/sparc64/memmove.S b/sysdeps/sparc/sparc64/memmove.S index e38343a702..db6f4f0e84 100644 --- a/sysdeps/sparc/sparc64/memmove.S +++ b/sysdeps/sparc/sparc64/memmove.S @@ -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 diff --git a/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h b/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h index 1c2357a021..473f3621a7 100644 --- a/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h +++ b/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h @@ -20,7 +20,7 @@ #define SP_ALIGN_MASK ~15 -/* Size of an X regiser in bytes. */ +/* Size of an X register in bytes. */ #define SZREG 8 /* Size of a V register in bytes. */ diff --git a/sysdeps/unix/sysv/linux/alpha/getcontext.S b/sysdeps/unix/sysv/linux/alpha/getcontext.S index 3ce7f8fa87..0bfe25a8af 100644 --- a/sysdeps/unix/sysv/linux/alpha/getcontext.S +++ b/sysdeps/unix/sysv/linux/alpha/getcontext.S @@ -44,7 +44,7 @@ weak_alias (__getcontext, getcontext) /* An internal routine used by getcontext and setcontext. - The incomming return address register is $0. */ + The incoming return address register is $0. */ .align 4 .globl __getcontext_x diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c index b026cc8261..6fac2bb516 100644 --- a/sysdeps/unix/sysv/linux/alpha/ioperm.c +++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c @@ -95,7 +95,7 @@ asm(".arch ev56"); #define TSUNAMI_DENSE_MEM (0x80000000000UL) /* Polaris has SPARSE space, but we prefer to use only DENSE - because of some idiosyncracies in actually using SPARSE. */ + because of some idiosyncrasies in actually using SPARSE. */ #define POLARIS_IO_BASE (0xf9fc000000UL) #define POLARIS_DENSE_MEM (0xf900000000UL) diff --git a/sysdeps/unix/sysv/linux/arc/bits/procfs.h b/sysdeps/unix/sysv/linux/arc/bits/procfs.h index 35cdc5621c..1ec0b1cd59 100644 --- a/sysdeps/unix/sysv/linux/arc/bits/procfs.h +++ b/sysdeps/unix/sysv/linux/arc/bits/procfs.h @@ -31,5 +31,5 @@ typedef unsigned long int elf_greg_t; typedef unsigned long int elf_gregset_t[ELF_NGREG]; -/* There's no seperate floating point reg file in ARCv2. */ +/* There's no separate floating point reg file in ARCv2. */ typedef struct { } elf_fpregset_t; diff --git a/sysdeps/unix/sysv/linux/arc/clone.S b/sysdeps/unix/sysv/linux/arc/clone.S index 0029aaeb81..d8c7b93d1c 100644 --- a/sysdeps/unix/sysv/linux/arc/clone.S +++ b/sysdeps/unix/sysv/linux/arc/clone.S @@ -43,7 +43,7 @@ ENTRY (__clone) bz L (__sys_err) /* save some of the orig args - r0 containg @fn will be clobbered AFTER syscall (with ret val) + r0 containing @fn will be clobbered AFTER syscall (with ret val) rest are clobbered BEFORE syscall due to different arg ordering. */ mov r10, r0 /* @fn. */ mov r11, r3 /* @args. */ diff --git a/sysdeps/unix/sysv/linux/arc/sysdep.h b/sysdeps/unix/sysv/linux/arc/sysdep.h index 88dc1dff01..7f90d64124 100644 --- a/sysdeps/unix/sysv/linux/arc/sysdep.h +++ b/sysdeps/unix/sysv/linux/arc/sysdep.h @@ -182,11 +182,11 @@ hidden_proto (__syscall_error) __ret = (long int) (arg1); \ LOAD_ARGS_0 (nm, arg1) -/* Note that the use of _tmpX might look superflous, however it is needed +/* Note that the use of _tmpX might look superfluous, however it is needed to ensure that register variables are not clobbered if arg happens to be a function call itself. e.g. sched_setaffinity() calling getpid() for arg2 Also this specific order of recursive calling is important to segregate - the tmp args evaluation (function call case described above) and assigment + the tmp args evaluation (function call case described above) and assignment of register variables. */ # define LOAD_ARGS_2(nm, arg1, arg2) \ diff --git a/sysdeps/unix/sysv/linux/arch-fork.h b/sysdeps/unix/sysv/linux/arch-fork.h index 84e5ef5a7f..0e0eccbf38 100644 --- a/sysdeps/unix/sysv/linux/arch-fork.h +++ b/sysdeps/unix/sysv/linux/arch-fork.h @@ -28,7 +28,7 @@ to store the child thread ID at its locationm, to erase it in child memory when the child exits, and do a wakeup on the futex at that address. - The architecture with non-default kernel abi semantic should correctlly + The architecture with non-default kernel abi semantic should correctly override it with one of the supported calling convention (check generic kernel-features.h for the clone abi variants). */ static inline pid_t diff --git a/sysdeps/unix/sysv/linux/bits/local_lim.h b/sysdeps/unix/sysv/linux/bits/local_lim.h index 54eb959ee2..978515dc37 100644 --- a/sysdeps/unix/sysv/linux/bits/local_lim.h +++ b/sysdeps/unix/sysv/linux/bits/local_lim.h @@ -73,7 +73,7 @@ /* We have no predefined limit on the number of threads. */ #undef PTHREAD_THREADS_MAX -/* Maximum amount by which a process can descrease its asynchronous I/O +/* Maximum amount by which a process can decrease its asynchronous I/O priority level. */ #define AIO_PRIO_DELTA_MAX 20 diff --git a/sysdeps/unix/sysv/linux/bits/mman-linux.h b/sysdeps/unix/sysv/linux/bits/mman-linux.h index 6771f07a0f..f654b4f824 100644 --- a/sysdeps/unix/sysv/linux/bits/mman-linux.h +++ b/sysdeps/unix/sysv/linux/bits/mman-linux.h @@ -78,7 +78,7 @@ # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ # define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */ # define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */ -# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump, +# define MADV_DONTDUMP 16 /* Explicitly exclude from the core dump, overrides the coredump filter bits. */ # define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */ # define MADV_WIPEONFORK 18 /* Zero memory on fork, child only. */ diff --git a/sysdeps/unix/sysv/linux/bits/posix_opt.h b/sysdeps/unix/sysv/linux/bits/posix_opt.h index 87d0f13596..8e3c8fac5d 100644 --- a/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -84,7 +84,7 @@ /* We support user-defined stacks. */ #define _POSIX_THREAD_ATTR_STACKADDR 200809L -/* We support priority inheritence. */ +/* We support priority inheritance. */ #define _POSIX_THREAD_PRIO_INHERIT 200809L /* We support priority protection, though only for non-robust @@ -92,7 +92,7 @@ #define _POSIX_THREAD_PRIO_PROTECT 200809L #ifdef __USE_XOPEN2K8 -/* We support priority inheritence for robust mutexes. */ +/* We support priority inheritance for robust mutexes. */ # define _POSIX_THREAD_ROBUST_PRIO_INHERIT 200809L /* We do not support priority protection for robust mutexes. */ diff --git a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h index f8a6bac680..49f7744739 100644 --- a/sysdeps/unix/sysv/linux/bits/siginfo-consts.h +++ b/sysdeps/unix/sysv/linux/bits/siginfo-consts.h @@ -143,7 +143,7 @@ enum { BUS_ADRALN = 1, /* Invalid address alignment. */ # define BUS_ADRALN BUS_ADRALN - BUS_ADRERR, /* Non-existant physical address. */ + BUS_ADRERR, /* Non-existent physical address. */ # define BUS_ADRERR BUS_ADRERR BUS_OBJERR, /* Object specific hardware error. */ # define BUS_OBJERR BUS_OBJERR diff --git a/sysdeps/unix/sysv/linux/bits/termios-tcflow.h b/sysdeps/unix/sysv/linux/bits/termios-tcflow.h index b6d136cefe..e39057913e 100644 --- a/sysdeps/unix/sysv/linux/bits/termios-tcflow.h +++ b/sysdeps/unix/sysv/linux/bits/termios-tcflow.h @@ -1,4 +1,4 @@ -/* termios tcflag symbolic contants definitions. Linux/generic version. +/* termios tcflag symbolic constant definitions. Linux/generic version. Copyright (C) 2019-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c b/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c index e758fe7f8d..e0cfa63da6 100644 --- a/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c +++ b/sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c @@ -36,7 +36,7 @@ print_auxv (void) || av->a_type == AT_PLATFORM || av->a_type == AT_BASE_PLATFORM) /* The address of the strings is not useful at all, so print - the strings themselvs. */ + the strings themselves. */ _dl_diagnostics_print_string ((const char *) av->a_un.a_val); else _dl_printf ("0x%lx", (unsigned long int) av->a_un.a_val); diff --git a/sysdeps/unix/sysv/linux/dl-vdso-setup.c b/sysdeps/unix/sysv/linux/dl-vdso-setup.c index 68fa8de641..97eaaeac37 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso-setup.c +++ b/sysdeps/unix/sysv/linux/dl-vdso-setup.c @@ -20,7 +20,7 @@ and shared (rtld) modes: 1. PROCINFO_DECL is defined, meaning we are only interested in - declarations. For static it requires use the extern keywork along with + declarations. For static it requires use the extern keyword along with the attribute_relro while for shared it will be embedded in the rtld_global_ro. diff --git a/sysdeps/unix/sysv/linux/glibcsyscalls.py b/sysdeps/unix/sysv/linux/glibcsyscalls.py index 0785c2f465..c8e5a6ffca 100644 --- a/sysdeps/unix/sysv/linux/glibcsyscalls.py +++ b/sysdeps/unix/sysv/linux/glibcsyscalls.py @@ -32,7 +32,7 @@ def extract_system_call_name(macro): else: raise ValueError('invalid system call name: {!r}'.format(macro)) -# Matches macros for systme call names. +# Matches macros for system call names. RE_SYSCALL = re.compile('__NR_.*') # Some __NR_ constants are not real @@ -54,7 +54,7 @@ def kernel_constants(cc): return {extract_system_call_name(name) : int(value) for name, value in glibcextract.compute_macro_consts( '#include <asm/unistd.h>\n' - # Regularlize the kernel definitions if necessary. + # Regularize the kernel definitions if necessary. '#include <fixup-asm-unistd.h>', cc, macro_re=RE_SYSCALL, exclude_re=RE_PSEUDO_SYSCALL) .items()} diff --git a/sysdeps/unix/sysv/linux/hppa/clone.S b/sysdeps/unix/sysv/linux/hppa/clone.S index 4a64e0da7e..3de36885a9 100644 --- a/sysdeps/unix/sysv/linux/hppa/clone.S +++ b/sysdeps/unix/sysv/linux/hppa/clone.S @@ -51,7 +51,7 @@ Return: - On success the thread ID of the child process is returend in + On success the thread ID of the child process is returned in the callers context. On error return -1, and set errno to the value returned by the syscall. diff --git a/sysdeps/unix/sysv/linux/hppa/sysdep.h b/sysdeps/unix/sysv/linux/hppa/sysdep.h index ba5937cc17..c0c4ffe00d 100644 --- a/sysdeps/unix/sysv/linux/hppa/sysdep.h +++ b/sysdeps/unix/sysv/linux/hppa/sysdep.h @@ -53,7 +53,7 @@ #define LOAD_PIC(LREG) \ copy LREG , %r19 /* Inline assembly defines */ -#define TREG_ASM "%r4" /* Cant clobber r3, it holds framemarker */ +#define TREG_ASM "%r4" /* Can't clobber r3, it holds framemarker */ #define SAVE_ASM_PIC " copy %%r19, %" TREG_ASM "\n" #define LOAD_ASM_PIC " copy %" TREG_ASM ", %%r19\n" #define CLOB_TREG TREG_ASM , @@ -134,7 +134,7 @@ /* SAVE_RP says we do */ ASM_LINE_SEP \ stw %rp, -20(%sr0,%sp) ASM_LINE_SEP \ .cfi_offset 2, -20 ASM_LINE_SEP \ - /*FIXME: Call mcount? (carefull with stack!) */ + /*FIXME: Call mcount? (careful with stack!) */ /* Some syscall wrappers do not call other functions, and hence are classified as leaf, so add NO_CALLS for gdb */ @@ -151,7 +151,7 @@ /* SAVE_RP says we do */ ASM_LINE_SEP \ stw %rp, -20(%sr0,%sp) ASM_LINE_SEP \ .cfi_offset 2, -20 ASM_LINE_SEP \ - /*FIXME: Call mcount? (carefull with stack!) */ + /*FIXME: Call mcount? (careful with stack!) */ #undef END #define END(name) \ diff --git a/sysdeps/unix/sysv/linux/i386/brk.c b/sysdeps/unix/sysv/linux/i386/brk.c index fb5130e947..afc2b696e4 100644 --- a/sysdeps/unix/sysv/linux/i386/brk.c +++ b/sysdeps/unix/sysv/linux/i386/brk.c @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ #if BUILD_PIE_DEFAULT -/* Can't use "call *%gs:SYSINFO_OFFSET" during statup in static PIE. */ +/* Can't use "call *%gs:SYSINFO_OFFSET" during startup in static PIE. */ # define I386_USE_SYSENTER 0 #endif diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index 8538cd5342..87de7d640f 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -61,7 +61,7 @@ might return a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in %eax is a real error number. Linus said he will make sure the no syscall - returns a value in -1 .. -4095 as a valid result so we can savely + returns a value in -1 .. -4095 as a valid result so we can safely test with -4095. */ /* We don't want the label for the error handle to be global when we define diff --git a/sysdeps/unix/sysv/linux/ia64/clone2.S b/sysdeps/unix/sysv/linux/ia64/clone2.S index bf60725a34..c869715f18 100644 --- a/sysdeps/unix/sysv/linux/ia64/clone2.S +++ b/sysdeps/unix/sysv/linux/ia64/clone2.S @@ -86,6 +86,6 @@ libc_hidden_def (__clone2) /* For now we leave __clone undefined. This is unlikely to be a */ /* problem, since at least the i386 __clone in glibc always failed */ -/* with a 0 sp (eventhough the kernel explicitly handled it). */ +/* with a 0 sp (even though the kernel explicitly handled it). */ /* Thus all such calls needed to pass an explicit sp, and as a result, */ /* would be unlikely to work on ia64. */ diff --git a/sysdeps/unix/sysv/linux/ia64/sys/rse.h b/sysdeps/unix/sysv/linux/ia64/sys/rse.h index b3677a1df6..3c6399d2ed 100644 --- a/sysdeps/unix/sysv/linux/ia64/sys/rse.h +++ b/sysdeps/unix/sysv/linux/ia64/sys/rse.h @@ -48,7 +48,7 @@ ia64_rse_rnat_addr (unsigned long *slot_addr) return (unsigned long *) ((unsigned long) slot_addr | (0x3f << 3)); } -/* Calcuate the number of registers in the dirty partition starting at +/* Calculate the number of registers in the dirty partition starting at BSPSTORE with a size of DIRTY bytes. This isn't simply DIRTY divided by eight because the 64th slot is used to store ar.rnat. */ diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index c245813b68..1d556945c1 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -86,7 +86,7 @@ a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in %d0 is a real error number. Linus said he will make sure the no syscall returns a value - in -1 .. -4095 as a valid result so we can savely test with -4095. */ + in -1 .. -4095 as a valid result so we can safely test with -4095. */ /* We don't want the label for the error handler to be visible in the symbol table when we define it here. */ diff --git a/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/sysdeps/unix/sysv/linux/kernel-posix-timers.h index c5a86250c3..9d86bb1dab 100644 --- a/sysdeps/unix/sysv/linux/kernel-posix-timers.h +++ b/sysdeps/unix/sysv/linux/kernel-posix-timers.h @@ -68,7 +68,7 @@ struct timer /* For !SIGEV_THREAD, the resulting 'timer_t' is the returned kernel timer - identifer (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc + identifier (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc returns at least _Alignof (max_align_t) pointers plus that valid kernel_timer_t are always positive to set the MSB bit of the returned 'timer_t' to indicate the timer handles a SIGEV_THREAD. */ diff --git a/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h b/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h index 6e4cc52dd7..037e128861 100644 --- a/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h +++ b/sysdeps/unix/sysv/linux/loongarch/atomic-machine.h @@ -26,7 +26,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) \ ({ \ diff --git a/sysdeps/unix/sysv/linux/loongarch/sysdep.h b/sysdeps/unix/sysv/linux/loongarch/sysdep.h index 8a2d73ec8c..e11cd865ce 100644 --- a/sysdeps/unix/sysv/linux/loongarch/sysdep.h +++ b/sysdeps/unix/sysv/linux/loongarch/sysdep.h @@ -83,7 +83,7 @@ #undef ret_NOERRNO #define ret_NOERRNO ret -/* Perfroms a system call, returning the error code. */ +/* Performs a system call, returning the error code. */ #undef PSEUDO_ERRVAL #define PSEUDO_ERRVAL(name, syscall_name, args) \ PSEUDO_NOERRNO (name, syscall_name, args); \ diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h index 39592036ce..037b049958 100644 --- a/sysdeps/unix/sysv/linux/m68k/sysdep.h +++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h @@ -38,7 +38,7 @@ a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in %d0 is a real error number. Linus said he will make sure the no syscall returns a value - in -1 .. -4095 as a valid result so we can savely test with -4095. */ + in -1 .. -4095 as a valid result so we can safely test with -4095. */ /* We don't want the label for the error handler to be visible in the symbol table when we define it here. */ diff --git a/sysdeps/unix/sysv/linux/microblaze/sysdep.h b/sysdeps/unix/sysv/linux/microblaze/sysdep.h index 53a4cad38f..afc77b0063 100644 --- a/sysdeps/unix/sysv/linux/microblaze/sysdep.h +++ b/sysdeps/unix/sysv/linux/microblaze/sysdep.h @@ -43,7 +43,7 @@ #ifdef __ASSEMBLER__ /* In microblaze ABI function call arguments are passed in registers - r5...r10. The return value is stored in r3 (or r3:r4 regiters pair). + r5...r10. The return value is stored in r3 (or r3:r4 register pair). Linux syscall uses the same convention with the addition that the syscall number is passed in r12. To enter the kernel "brki r14,8" instruction is used. @@ -58,7 +58,7 @@ a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in %d0 is a real error number. Linus said he will make sure the no syscall returns a value - in -1 .. -4095 as a valid result so we can savely test with -4095. */ + in -1 .. -4095 as a valid result so we can safely test with -4095. */ /* We don't want the label for the error handler to be visible in the symbol table when we define it here. */ diff --git a/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c b/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c index 92740830e3..a85a50f77a 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c +++ b/sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c @@ -1,4 +1,4 @@ -/* Tests register values retreived by getcontext() for mips o32. +/* Tests register values retrieved by getcontext() for mips o32. Copyright (C) 2017-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/unix/sysv/linux/mq_notify.c b/sysdeps/unix/sysv/linux/mq_notify.c index 907585551f..c287954a90 100644 --- a/sysdeps/unix/sysv/linux/mq_notify.c +++ b/sysdeps/unix/sysv/linux/mq_notify.c @@ -32,9 +32,9 @@ /* Defined in the kernel headers: */ #define NOTIFY_COOKIE_LEN 32 /* Length of the cookie used. */ -#define NOTIFY_WOKENUP 1 /* Code for notifcation. */ +#define NOTIFY_WOKENUP 1 /* Code for notification. */ #define NOTIFY_REMOVED 2 /* Code for closed message queue - of de-notifcation. */ + of de-notification. */ /* Data structure for the queued notification requests. */ @@ -61,7 +61,7 @@ static int netlink_socket = -1; /* Barrier used to make sure data passed to the new thread is not - resused by the parent. */ + reused by the parent. */ static pthread_barrier_t notify_barrier; diff --git a/sysdeps/unix/sysv/linux/net/if_shaper.h b/sysdeps/unix/sysv/linux/net/if_shaper.h index f218474822..60f50b908c 100644 --- a/sysdeps/unix/sysv/linux/net/if_shaper.h +++ b/sysdeps/unix/sysv/linux/net/if_shaper.h @@ -27,7 +27,7 @@ __BEGIN_DECLS #define SHAPER_QLEN 10 /* - * This is a bit speed dependant (read it shouldnt be a constant!) + * This is a bit speed dependent (read it shouldn't be a constant!) * * 5 is about right for 28.8 upwards. Below that double for every * halving of speed or so. - ie about 20 for 9600 baud. diff --git a/sysdeps/unix/sysv/linux/netax25/ax25.h b/sysdeps/unix/sysv/linux/netax25/ax25.h index e18ff8d223..1001a7359b 100644 --- a/sysdeps/unix/sysv/linux/netax25/ax25.h +++ b/sysdeps/unix/sysv/linux/netax25/ax25.h @@ -62,7 +62,7 @@ #define AX25_DIGI_INBAND 0x01 /* Allow digipeating within port */ #define AX25_DIGI_XBAND 0x02 /* Allow digipeating across ports */ -/* Maximim number of digipeaters: */ +/* Maximum number of digipeaters: */ #define AX25_MAX_DIGIS 8 @@ -80,7 +80,7 @@ struct sockaddr_ax25 }; /* - * The sockaddr struct with the digipeater adresses: + * The sockaddr struct with the digipeater addresses: */ struct full_sockaddr_ax25 { diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c index 00abddac88..9f0d624859 100644 --- a/sysdeps/unix/sysv/linux/netlink_assert_response.c +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c @@ -83,7 +83,7 @@ __netlink_assert_response (int fd, ssize_t result) __libc_fatal (message); } else - /* Restore orignal errno value. */ + /* Restore original errno value. */ __set_errno (error_code); } else if (result < sizeof (struct nlmsghdr)) diff --git a/sysdeps/unix/sysv/linux/nios2/setcontext.S b/sysdeps/unix/sysv/linux/nios2/setcontext.S index 2233488ee7..16570ab896 100644 --- a/sysdeps/unix/sysv/linux/nios2/setcontext.S +++ b/sysdeps/unix/sysv/linux/nios2/setcontext.S @@ -93,7 +93,7 @@ weak_alias (__setcontext, setcontext) If this NOP word does not exist, FDE lookup just repeatedly finds __setcontext's FDE in an infinite loop, due to the convention of - using 'address - 1' for FDE lookup. Modifiying/deleting the below + using 'address - 1' for FDE lookup. Modifying/deleting the below __startcontext's FDE has no help on this. */ nop diff --git a/sysdeps/unix/sysv/linux/nscd_setup_thread.c b/sysdeps/unix/sysv/linux/nscd_setup_thread.c index 7810104461..cf1a56e005 100644 --- a/sysdeps/unix/sysv/linux/nscd_setup_thread.c +++ b/sysdeps/unix/sysv/linux/nscd_setup_thread.c @@ -1,4 +1,4 @@ -/* Setup of nscd worker threads. Linux verison. +/* Setup of nscd worker threads. Linux version. Copyright (C) 2004-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/unix/sysv/linux/or1k/setcontext.S b/sysdeps/unix/sysv/linux/or1k/setcontext.S index fb6a42bc03..ce54246c57 100644 --- a/sysdeps/unix/sysv/linux/or1k/setcontext.S +++ b/sysdeps/unix/sysv/linux/or1k/setcontext.S @@ -80,7 +80,7 @@ weak_alias (__setcontext, setcontext) makecontext we have set r9 to the start of &__startcontext. If this NOP did not exist the unwinder would repeatedly find - __setcontext's FDE in an infinite loop. Modifiying/deleting the below + __setcontext's FDE in an infinite loop. Modifying/deleting the below __startcontext's FDE has no help on this. */ l.nop diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c index aa576558b0..eeccbb6089 100644 --- a/sysdeps/unix/sysv/linux/pathconf.c +++ b/sysdeps/unix/sysv/linux/pathconf.c @@ -139,7 +139,7 @@ __statfs_link_max (int result, const struct statfs *fsbuf, const char *file, /* Not possible, return the default value. */ return LINUX_LINK_MAX; - /* Some error occured. */ + /* Some error occurred. */ return -1; } @@ -202,7 +202,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf) /* Not possible, return the default value. */ return 32; - /* Some error occured. */ + /* Some error occurred. */ return -1; } @@ -251,7 +251,7 @@ __statfs_symlinks (int result, const struct statfs *fsbuf) /* Not possible, return the default value. */ return 1; - /* Some error occured. */ + /* Some error occurred. */ return -1; } @@ -286,7 +286,7 @@ __statfs_chown_restricted (int result, const struct statfs *fsbuf) /* Not possible, return the default value. */ return 1; - /* Some error occured. */ + /* Some error occurred. */ return -1; } diff --git a/sysdeps/unix/sysv/linux/personality.c b/sysdeps/unix/sysv/linux/personality.c index 5db07259e3..9620e0caff 100644 --- a/sysdeps/unix/sysv/linux/personality.c +++ b/sysdeps/unix/sysv/linux/personality.c @@ -28,7 +28,7 @@ __personality (unsigned long persona) task_struct->pesonality is "unsigned int". Starting with kernel commit v2.6.35-rc1-372-g485d527, the personality syscall accepts "unsigned int" instead of "long unsigned int". - Inbetween, a personality argument that does not fit into "unsigned int" + In between, a personality argument that does not fit into "unsigned int" would result to system call returning -EINVAL. We explicitly truncate the personality argument to "unsigned int" to eliminate the uncertainty. */ diff --git a/sysdeps/unix/sysv/linux/posix_fadvise.c b/sysdeps/unix/sysv/linux/posix_fadvise.c index d096acc0d6..717c3f62d0 100644 --- a/sysdeps/unix/sysv/linux/posix_fadvise.c +++ b/sysdeps/unix/sysv/linux/posix_fadvise.c @@ -29,7 +29,7 @@ Second option will be used by arm which define __NR_arm_fadvise64_64 (redefined to __NR_fadvise64_64 in kernel-features.h) that behaves as - __NR_fadvise64_64 (without the aligment argument required for the ABI). + __NR_fadvise64_64 (without the alignment argument required for the ABI). Third option will be used by mips o32. Mips will use a 7 argument syscall with __NR_fadvise64. diff --git a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c index 7c98dbd0d0..61eaf89868 100644 --- a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c +++ b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c @@ -53,7 +53,7 @@ static inline void __always_inline do_set_elision_enable (int32_t elision_enable) { - /* Enable elision if it's avaliable in hardware. It's not necessary to check + /* Enable elision if it's available in hardware. It's not necessary to check if __libc_enable_secure isn't enabled since elision_enable will be set according to the default, which is disabled. */ if (elision_enable == 1) @@ -126,7 +126,7 @@ __lll_elision_init (void) syscalls which makes the glibc workaround superflours. Worse, glibc transaction abortions leads to a performance issues on recent kernels. - So Lock Elision is just enabled when it has been explict set (either + So Lock Elision is just enabled when it has been explicitly set (either by tunables of by a configure switch) and if kernel aborts HTM transactions on syscalls (PPC_FEATURE2_HTM_NOSC) */ diff --git a/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c b/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c index 754e94b26d..af6eb34435 100644 --- a/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c +++ b/sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c @@ -57,7 +57,7 @@ get_timebase_freq_fallback (void) the last 512 bytes of cpuinfo, so two 512 byte half_bufs will be sufficient to contain the timebase and will handle the case where the timebase spans the half_buf - boundry. */ + boundary. */ const ssize_t half_buf = sizeof (buf) / 2; while (n >= half_buf) { diff --git a/sysdeps/unix/sysv/linux/riscv/atomic-machine.h b/sysdeps/unix/sysv/linux/riscv/atomic-machine.h index dbf70d8d57..50ddc3bfaf 100644 --- a/sysdeps/unix/sysv/linux/riscv/atomic-machine.h +++ b/sysdeps/unix/sysv/linux/riscv/atomic-machine.h @@ -28,7 +28,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) \ ({ \ diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h index 4af5fe5dbc..872c093cfa 100644 --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h @@ -121,7 +121,7 @@ # undef ret_NOERRNO # define ret_NOERRNO ret -/* Perfroms a system call, returning the error code. */ +/* Performs a system call, returning the error code. */ # undef PSEUDO_ERRVAL # define PSEUDO_ERRVAL(name, syscall_name, args) \ PSEUDO_NOERRNO (name, syscall_name, args) \ diff --git a/sysdeps/unix/sysv/linux/s390/elision-conf.c b/sysdeps/unix/sysv/linux/s390/elision-conf.c index 6a6d6814ee..37c50f1705 100644 --- a/sysdeps/unix/sysv/linux/s390/elision-conf.c +++ b/sysdeps/unix/sysv/linux/s390/elision-conf.c @@ -53,7 +53,7 @@ static inline void __always_inline do_set_elision_enable (int32_t elision_enable) { - /* Enable elision if it's avaliable in hardware. It's not necessary to check + /* Enable elision if it's available in hardware. It's not necessary to check if __libc_enable_secure isn't enabled since elision_enable will be set according to the default, which is disabled. */ if (elision_enable == 1) diff --git a/sysdeps/unix/sysv/linux/s390/htm.h b/sysdeps/unix/sysv/linux/s390/htm.h index b8b62bae12..440fe083bc 100644 --- a/sysdeps/unix/sysv/linux/s390/htm.h +++ b/sysdeps/unix/sysv/linux/s390/htm.h @@ -121,7 +121,7 @@ pointer access) are filtered and the \ transaction will abort. In this case \ the normal lock path will execute it \ - again and result in a core dump wich does \ + again and result in a core dump which does \ now show at tbegin but the real executed \ instruction. \ However it is not guaranteed that this \ @@ -131,7 +131,7 @@ memory for being accessible! */ \ "2: tbegin 0, 0xFF0E\n\t" \ /* Branch away in abort case (this is the \ - prefered sequence. See PoP in chapter 5 \ + preferred sequence. See PoP in chapter 5 \ Transactional-Execution Facility \ Operation). */ \ " jnz 0f\n\t" \ diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h index 08f9e9cd9f..26d1a7c6d8 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h @@ -42,7 +42,7 @@ a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in gpr2 is a real error number. Linus said he will make sure that no syscall returns a value - in -1 .. -4095 as a valid result so we can savely test with -4095. */ + in -1 .. -4095 as a valid result so we can safely test with -4095. */ #undef PSEUDO #define PSEUDO(name, syscall_name, args) \ diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h index d5986d36f2..7230e97448 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h @@ -46,7 +46,7 @@ a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in gpr2 is a real error number. Linus said he will make sure that no syscall returns a value - in -1 .. -4095 as a valid result so we can savely test with -4095. */ + in -1 .. -4095 as a valid result so we can safely test with -4095. */ #undef PSEUDO #define PSEUDO(name, syscall_name, args) \ diff --git a/sysdeps/unix/sysv/linux/s390/sysconf.c b/sysdeps/unix/sysv/linux/s390/sysconf.c index 45bd8bf4a1..f474a966f9 100644 --- a/sysdeps/unix/sysv/linux/s390/sysconf.c +++ b/sysdeps/unix/sysv/linux/s390/sysconf.c @@ -24,7 +24,7 @@ static long int linux_sysconf (int name); /* Possible arguments for get_cache_info. The values are reflecting the level/attribute/type indications - of ecag-instruction (extract cpu attribue). */ + of ecag-instruction (extract cpu attribute). */ #define CACHE_LEVEL_MAX 8 #define CACHE_ATTR_LINESIZE 1 #define CACHE_ATTR_SIZE 2 diff --git a/sysdeps/unix/sysv/linux/scsi/sg.h b/sysdeps/unix/sysv/linux/scsi/sg.h index 6defc97ef7..bb3daac7fa 100644 --- a/sysdeps/unix/sysv/linux/scsi/sg.h +++ b/sysdeps/unix/sysv/linux/scsi/sg.h @@ -119,7 +119,7 @@ struct sg_scsi_id { /* Used by SG_GET_REQUEST_TABLE ioctl(). */ typedef struct sg_req_info { char req_state; /* 0 -> not used, 1 -> written, 2 -> ready to read */ - char orphan; /* 0 -> normal request, 1 -> from interruped SG_IO */ + char orphan; /* 0 -> normal request, 1 -> from interrupted SG_IO */ char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */ char problem; /* 0 -> no problem detected, 1 -> error to report */ int pack_id; /* pack_id associated with request */ diff --git a/sysdeps/unix/sysv/linux/semop.c b/sysdeps/unix/sysv/linux/semop.c index e04ce3e2d1..82b9c8729e 100644 --- a/sysdeps/unix/sysv/linux/semop.c +++ b/sysdeps/unix/sysv/linux/semop.c @@ -20,7 +20,7 @@ #include <ipc_priv.h> #include <sysdep.h> -/* Perform user-defined atomical operation of array of semaphores. */ +/* Perform user-defined atomic operation of array of semaphores. */ int semop (int semid, struct sembuf *sops, size_t nsops) diff --git a/sysdeps/unix/sysv/linux/semtimedop.c b/sysdeps/unix/sysv/linux/semtimedop.c index c0bb3c3f06..4cff1f982a 100644 --- a/sysdeps/unix/sysv/linux/semtimedop.c +++ b/sysdeps/unix/sysv/linux/semtimedop.c @@ -34,7 +34,7 @@ semtimedop_syscall (int semid, struct sembuf *sops, size_t nsops, #endif } -/* Perform user-defined atomical operation of array of semaphores. */ +/* Perform user-defined atomic operation of array of semaphores. */ int __semtimedop64 (int semid, struct sembuf *sops, size_t nsops, const struct __timespec64 *timeout) diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h index c917aba020..5a5c05bcfc 100644 --- a/sysdeps/unix/sysv/linux/sh/sys/user.h +++ b/sysdeps/unix/sysv/linux/sh/sys/user.h @@ -21,7 +21,7 @@ #include <asm/ptrace.h> #include <stddef.h> -/* asm/ptrace.h polutes the namespace. */ +/* asm/ptrace.h pollutes the namespace. */ #undef PTRACE_GETREGS #undef PTRACE_SETREGS #undef PTRACE_GETFPREGS diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.h b/sysdeps/unix/sysv/linux/sh/sysdep.h index 34282acdb6..73df0a52ea 100644 --- a/sysdeps/unix/sysv/linux/sh/sysdep.h +++ b/sysdeps/unix/sysv/linux/sh/sysdep.h @@ -41,7 +41,7 @@ might return a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in R0 is a real error number. Linus said he will make sure the no syscall - returns a value in -1 .. -4095 as a valid result so we can savely + returns a value in -1 .. -4095 as a valid result so we can safely test with -4095. */ #define _IMM1 #-1 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S b/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S index 6dda892482..7e0c20d2ed 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S @@ -102,7 +102,7 @@ weak_alias (__setcontext, setcontext) If this NOP word does not exist, FDE lookup just repeatedly finds __setcontext's FDE in an infinite loop, due to the convention of using - 'address - 1' for FDE lookup. Modifiying/deleting the below + 'address - 1' for FDE lookup. Modifying/deleting the below __startcontext's FDE has no help on this. */ nop diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h index 7815d13136..bcbc9013b7 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h @@ -24,7 +24,7 @@ #include <bits/wordsize.h> /* Linux/SPARC kernels up to 2.3.18 do not care much - about what namespace polution, so use a kludge now. */ + about what namespace pollution, so use a kludge now. */ #undef PTRACE_GETREGS #undef PTRACE_SETREGS #undef PTRACE_GETFPREGS diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h index 58a03e6ea7..5e2fa122a8 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h @@ -164,7 +164,7 @@ typedef greg_t gregset_t[__NGREG]; * The following structures define how a register window can appear on the * stack. This structure is available (when required) through the `gwins' * field of an mcontext (nested within ucontext). SPARC_MAXWINDOW is the - * maximum number of outstanding regiters window defined in the SPARC + * maximum number of outstanding registers window defined in the SPARC * architecture (*not* implementation). */ # define __SPARC_MAXREGWINDOW 31 /* max windows in SPARC arch. */ @@ -200,7 +200,7 @@ typedef struct /* * struct fq defines the minimal format of a floating point instruction queue * entry. The size of entries in the floating point queue are implementation - * dependent. The union FQu is guarenteed to be the first field in any ABI + * dependent. The union FQu is guaranteed to be the first field in any ABI * conformant system implementation. Any additional fields provided by an * implementation should not be used applications designed to be ABI conformant. */ diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c index bc321d4c58..ec687cb423 100644 --- a/sysdeps/unix/sysv/linux/spawni.c +++ b/sysdeps/unix/sysv/linux/spawni.c @@ -203,7 +203,7 @@ __spawni_child (void *arguments) { /* POSIX states that if fildes was already an open file descriptor, it shall be closed before the new file is opened. This avoid - pontential issues when posix_spawn plus addopen action is called + potential issues when posix_spawn plus addopen action is called with the process already at maximum number of file descriptor opened and also for multiple actions on single-open special paths (like /dev/watchdog). */ @@ -325,7 +325,7 @@ __spawnix (pid_t * pid, const char *file, ptrdiff_t argc = 0; /* Linux allows at most max (0x7FFFFFFF, 1/4 stack size) arguments to be used in a execve call. We limit to INT_MAX minus one due the - compatiblity code that may execute a shell script (maybe_script_execute) + compatibility code that may execute a shell script (maybe_script_execute) where it will construct another argument list with an additional argument. */ ptrdiff_t limit = INT_MAX - 1; diff --git a/sysdeps/unix/sysv/linux/test-errno-linux.c b/sysdeps/unix/sysv/linux/test-errno-linux.c index bece8ae3c6..1ee158ed43 100644 --- a/sysdeps/unix/sysv/linux/test-errno-linux.c +++ b/sysdeps/unix/sysv/linux/test-errno-linux.c @@ -70,7 +70,7 @@ Some tests assume "/bin/sh" names a file that exists and is not a directory. */ -/* Evalutes to the arguments in a list initializer which can be used +/* Evaluates to the arguments in a list initializer which can be used as a single macro argument. */ #define LIST(...) { __VA_ARGS__ } diff --git a/sysdeps/unix/sysv/linux/tst-fallocate-common.c b/sysdeps/unix/sysv/linux/tst-fallocate-common.c index 01258a5f78..6eb4e5cf1c 100644 --- a/sysdeps/unix/sysv/linux/tst-fallocate-common.c +++ b/sysdeps/unix/sysv/linux/tst-fallocate-common.c @@ -89,7 +89,7 @@ do_test_with_offset (off_t offset) FAIL_EXIT1 ("fail trying to read " XSTR (BLK_SIZE) " bytes"); if (memcmp (bwrite, bread, BLK_SIZE) != 0) - FAIL_EXIT1 ("buffer written different than buffer readed"); + FAIL_EXIT1 ("buffer written different from buffer read"); return 0; } diff --git a/sysdeps/unix/sysv/linux/tst-o_path-locks.c b/sysdeps/unix/sysv/linux/tst-o_path-locks.c index 16fdb6b119..0036868dfd 100644 --- a/sysdeps/unix/sysv/linux/tst-o_path-locks.c +++ b/sysdeps/unix/sysv/linux/tst-o_path-locks.c @@ -55,7 +55,7 @@ probe_lock (void) *shared_errno = -1; support_isolate_in_subprocess (subprocess, NULL); if (*shared_errno == 0) - /* Lock was aquired by the subprocess, so this process has not + /* Lock was acquired by the subprocess, so this process has not locked it. */ return false; else diff --git a/sysdeps/unix/sysv/linux/tst-ofdlocks.c b/sysdeps/unix/sysv/linux/tst-ofdlocks.c index 997487924c..70a2991edb 100644 --- a/sysdeps/unix/sysv/linux/tst-ofdlocks.c +++ b/sysdeps/unix/sysv/linux/tst-ofdlocks.c @@ -60,7 +60,7 @@ do_test (void) int fd = open64 (temp_filename, O_RDWR, 0666); TEST_VERIFY_EXIT (fd != -1); - /* It tries then to allocate another open file descriptior with a valid + /* It tries then to allocate another open file descriptor with a valid non-LFS bits struct flock but which will result in a conflicted region which can not be represented in a non-LFS struct flock. */ struct flock lck = { diff --git a/sysdeps/unix/sysv/linux/tst-process_mrelease.c b/sysdeps/unix/sysv/linux/tst-process_mrelease.c index 95a50cb68d..d1460ef30e 100644 --- a/sysdeps/unix/sysv/linux/tst-process_mrelease.c +++ b/sysdeps/unix/sysv/linux/tst-process_mrelease.c @@ -61,7 +61,7 @@ do_test (void) int pidfd = pidfd_open (pid, 0); TEST_VERIFY (pidfd != -1); - /* The syscall only succeedes if the target process is exiting and there + /* The syscall only succeeds if the target process is exiting and there is no guarantee that calling if after pidfd_send_signal will not error (ince the process might have already been reaped by the OS). So just check if it does fail when the process is stll running. */ diff --git a/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c b/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c index c0610203d5..fe68c6d73b 100644 --- a/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c +++ b/sysdeps/unix/sysv/linux/tst-skeleton-affinity.c @@ -18,7 +18,7 @@ /* This file is included by the tst-affinity*.c files to test the two variants of the functions, under different conditions. The - following functions have to be definied: + following functions have to be defined: static int getaffinity (size_t, cpu_set_t *); static int setaffinity (size_t, const cpu_set_t *); diff --git a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c index aa170d05ea..0fe8780cba 100644 --- a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c +++ b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c @@ -77,7 +77,7 @@ static void do_test_large_buffer (bool mc) { struct mmsghdr mmhdr = { 0 }; - /* It should be large enought for either timeval/timespec and the + /* It should be large enough for either timeval/timespec and the 64 time type as well. */ union @@ -142,7 +142,7 @@ do_test_large_buffer (bool mc) /* Check if recvmsg does not create the additional 64 bit timestamp if only 32 bit timestamp is enabled if the ancillary buffer is not large - enought. Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg + enough. Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg symbol. */ static void do_test_small_buffer (bool mc) diff --git a/sysdeps/unix/sysv/linux/tst-socket-timestamp.c b/sysdeps/unix/sysv/linux/tst-socket-timestamp.c index d1abc8d141..5ad7a0d481 100644 --- a/sysdeps/unix/sysv/linux/tst-socket-timestamp.c +++ b/sysdeps/unix/sysv/linux/tst-socket-timestamp.c @@ -284,7 +284,7 @@ do_test_multiple_ancillary (void) TEST_VERIFY_EXIT (r != -1); } - /* Enougth data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the + /* Enough data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the extra 64-bit SO_TIMESTAMP. */ enum { msgbuflen = CMSG_SPACE (2 * sizeof (uint64_t)) + CMSG_SPACE (sizeof (struct sockaddr_in)) diff --git a/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c b/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c index 97101f2c8e..f18464e3f5 100644 --- a/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c +++ b/sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c @@ -55,7 +55,7 @@ struct test_msginfo int msgmni; }; -/* It tries to obtain some system-wide SysV messsage queue information from +/* It tries to obtain some system-wide SysV message queue information from /proc to check against IPC_INFO/MSG_INFO. The /proc only returns the tunables value of MSGMAX, MSGMNB, and MSGMNI. diff --git a/sysdeps/unix/sysv/linux/tst-tgkill.c b/sysdeps/unix/sysv/linux/tst-tgkill.c index c86a88ddad..315bf0079d 100644 --- a/sysdeps/unix/sysv/linux/tst-tgkill.c +++ b/sysdeps/unix/sysv/linux/tst-tgkill.c @@ -66,7 +66,7 @@ subprocess (void *closure) { int original_tid = expected_signal_tid; - /* Do not expect that the folloing signals are delivered to the + /* Do not expect that the following signals are delivered to the subprocess. The parent process retains the original expected_signal_tid value. */ expected_signal_tid = 0; @@ -77,7 +77,7 @@ subprocess (void *closure) TEST_COMPARE (expected_signal_tid, 0); /* This call has the correct PID/TID combination and is therefore - expected to suceed. */ + expected to succeed. */ TEST_COMPARE (tgkill (getppid (), original_tid, SIGUSR1), 0); } diff --git a/sysdeps/unix/sysv/linux/tst-ttyname.c b/sysdeps/unix/sysv/linux/tst-ttyname.c index cd953657b8..ef55665fbe 100644 --- a/sysdeps/unix/sysv/linux/tst-ttyname.c +++ b/sysdeps/unix/sysv/linux/tst-ttyname.c @@ -508,7 +508,7 @@ run_chroot_tests (const char *slavename, int slave) char *linkname = xasprintf ("/proc/self/fd/%d", slave); char *target = proc_fd_readlink (linkname); free (linkname); - /* Depeding on how we set up the chroot, the kernel may or may not + /* Depending on how we set up the chroot, the kernel may or may not trim the leading path to the target (it may give us "/6", instead of "/dev/pts/6"). We test it both ways (do_in_chroot_1 and do_in_chroot_2). This test group relies on the target diff --git a/sysdeps/unix/sysv/linux/x86/elision-conf.c b/sysdeps/unix/sysv/linux/x86/elision-conf.c index cfd9a71e31..19f95550ce 100644 --- a/sysdeps/unix/sysv/linux/x86/elision-conf.c +++ b/sysdeps/unix/sysv/linux/x86/elision-conf.c @@ -49,7 +49,7 @@ struct elision_config __elision_aconf = static __always_inline void do_set_elision_enable (int32_t elision_enable) { - /* Enable elision if it's avaliable in hardware. It's not necessary to check + /* Enable elision if it's available in hardware. It's not necessary to check if __libc_enable_secure isn't enabled since elision_enable will be set according to the default, which is disabled. */ if (elision_enable == 1) diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index cfb51be8c5..c350ee157a 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -43,7 +43,7 @@ might return a large offset. Therefore we must not anymore test for < 0, but test for a real error by making sure the value in %eax is a real error number. Linus said he will make sure the no syscall - returns a value in -1 .. -4095 as a valid result so we can savely + returns a value in -1 .. -4095 as a valid result so we can safely test with -4095. */ /* We don't want the label for the error handle to be global when we define diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index 5bff8ec0b4..0a99efdb28 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -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); diff --git a/sysdeps/x86/dl-prop.h b/sysdeps/x86/dl-prop.h index 87702df040..b2836f3009 100644 --- a/sysdeps/x86/dl-prop.h +++ b/sysdeps/x86/dl-prop.h @@ -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)) diff --git a/sysdeps/x86/hp-timing.h b/sysdeps/x86/hp-timing.h index 075135d5a6..15e9106105 100644 --- a/sysdeps/x86/hp-timing.h +++ b/sysdeps/x86/hp-timing.h @@ -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> diff --git a/sysdeps/x86_64/dl-trampoline.h b/sysdeps/x86_64/dl-trampoline.h index f8ad31af88..897ad9d7ed 100644 --- a/sysdeps/x86_64/dl-trampoline.h +++ b/sysdeps/x86_64/dl-trampoline.h @@ -28,11 +28,11 @@ # undef BASE # if (STATE_SAVE_ALIGNMENT % 16) != 0 -# error STATE_SAVE_ALIGNMENT must be multples of 16 +# error STATE_SAVE_ALIGNMENT must be multiples of 16 # endif # if (STATE_SAVE_OFFSET % STATE_SAVE_ALIGNMENT) != 0 -# error STATE_SAVE_OFFSET must be multples of STATE_SAVE_ALIGNMENT +# error STATE_SAVE_OFFSET must be multiples of STATE_SAVE_ALIGNMENT # endif # if DL_RUNTIME_RESOLVE_REALIGN_STACK @@ -43,7 +43,7 @@ /* Use fxsave to save XMM registers. */ # define REGISTER_SAVE_AREA (512 + STATE_SAVE_OFFSET) # if (REGISTER_SAVE_AREA % 16) != 0 -# error REGISTER_SAVE_AREA must be multples of 16 +# error REGISTER_SAVE_AREA must be multiples of 16 # endif # endif # else @@ -57,7 +57,7 @@ # define LOCAL_STORAGE_AREA REGISTER_SAVE_AREA # define BASE rsp # if (REGISTER_SAVE_AREA % 16) != 8 -# error REGISTER_SAVE_AREA must be odd multples of 8 +# error REGISTER_SAVE_AREA must be odd multiples of 8 # endif # endif @@ -161,7 +161,7 @@ _dl_runtime_resolve: #if !defined PROF && defined _dl_runtime_profile # if (LR_VECTOR_OFFSET % VEC_SIZE) != 0 -# error LR_VECTOR_OFFSET must be multples of VEC_SIZE +# error LR_VECTOR_OFFSET must be multiples of VEC_SIZE # endif .globl _dl_runtime_profile @@ -173,7 +173,7 @@ _dl_runtime_profile: cfi_adjust_cfa_offset(16) # Incorporate PLT _CET_ENDBR /* The La_x86_64_regs data structure pointed to by the - fourth paramater must be VEC_SIZE-byte aligned. This must + fourth parameter must be VEC_SIZE-byte aligned. This must be explicitly enforced. We have the set up a dynamically sized stack frame. %rbx points to the top half which has a fixed size and preserves the original stack pointer. */ diff --git a/sysdeps/x86_64/fpu/feupdateenv.c b/sysdeps/x86_64/fpu/feupdateenv.c index 129445e660..96977a114f 100644 --- a/sysdeps/x86_64/fpu/feupdateenv.c +++ b/sysdeps/x86_64/fpu/feupdateenv.c @@ -31,7 +31,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); diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S index 840c3d6a17..a46ddc136e 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos2_core_sse4.S @@ -222,7 +222,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S index 3c75200578..808ea2fe95 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos4_core_avx2.S @@ -204,7 +204,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S index 0647a2e1f7..878d1454c6 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acos8_core_avx512.S @@ -226,7 +226,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S index 8a56813ff0..b69e5cef8b 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh2_core_sse4.S @@ -321,7 +321,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S index f16f539fb6..825b231173 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh4_core_avx2.S @@ -366,7 +366,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S index 1a3211bf43..32ed85e368 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_acosh8_core_avx512.S @@ -311,7 +311,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S index 9fb9ddcf3d..7bba3b5272 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin2_core_sse4.S @@ -211,7 +211,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S index af6fa771c5..c7dbb727e3 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin4_core_avx2.S @@ -196,7 +196,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S index 2a0f6d4378..c23665b9b2 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asin8_core_avx512.S @@ -218,7 +218,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S index a3630b1145..f4da4b2c32 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh2_core_sse4.S @@ -474,7 +474,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S index d97a5f845f..3ecec43c66 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh4_core_avx2.S @@ -423,7 +423,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S index b4d88848b5..82bd52407d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_asinh8_core_avx512.S @@ -337,7 +337,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S index 7d14cb8cb4..39d86480e4 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S @@ -229,11 +229,11 @@ ENTRY(_ZGVbN2vv_atan2_sse4) /* Special branch for fast (vector) processing of zero arguments */ testb $3, %cl - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx rbp r12 r13 r14 r15 eax edx xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -316,7 +316,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -96) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -336,7 +336,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx rbp r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S index 35b635dac7..a4bcf9c375 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S @@ -170,11 +170,11 @@ ENTRY(_ZGVdN4vv_atan2_avx2) /* Special branch for fast (vector) processing of zero arguments */ testl %eax, %eax - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx xmm3 ymm0 ymm1 ymm2 ymm4 ymm5 ymm6 ymm7 ymm8 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -271,7 +271,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -291,7 +291,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S index 49662bc8c9..def7af38dc 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S @@ -188,11 +188,11 @@ ENTRY(_ZGVeN8vv_atan2_skx) vmovups 64(%rsp), %zmm9 testl %eax, %eax - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx ymm6 zmm0 zmm2 zmm3 zmm4 zmm5 zmm7 zmm9 zmm11 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -289,7 +289,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm11 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -309,7 +309,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S index 50345f026d..0a87c8cd81 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh2_core_sse4.S @@ -367,7 +367,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S index 0e2f6cadae..44517bea88 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh4_core_avx2.S @@ -333,7 +333,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S index 7ba45c0056..99141c1f39 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_atanh8_core_avx512.S @@ -268,7 +268,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S index aa90322722..98b276f2e2 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt2_core_sse4.S @@ -241,7 +241,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm6 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S index d0de65fde8..45f395dccb 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cbrt4_core_avx2.S @@ -256,7 +256,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S index c2a13245a8..dd89de036f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh2_core_sse4.S @@ -260,7 +260,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S index c152307a25..8330968063 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh4_core_avx2.S @@ -276,7 +276,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S index b4b2284a16..3e2aa620b2 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_cosh8_core_avx512.S @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S index 5934986b52..a5f2f11508 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc2_core_sse4.S @@ -251,7 +251,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S index 2948e6b3c3..376be17b34 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc4_core_avx2.S @@ -252,7 +252,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S index 5c92653e20..debba0c365 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_erfc8_core_avx512.S @@ -255,7 +255,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S index 65abd70168..db25e5b14d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp102_core_sse4.S @@ -68,7 +68,7 @@ ENTRY(_ZGVbN2v_exp10_sse4) /* R */ movaps %xmm0, %xmm12 - /* Load arument */ + /* Load argument */ movups _dbLg2_10+__svml_dexp10_data_internal(%rip), %xmm13 lea __svml_dexp10_data_internal(%rip), %rsi mulpd %xmm0, %xmm13 @@ -214,7 +214,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S index 1c7c8e2db8..c5cec289a7 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp104_core_avx2.S @@ -73,7 +73,7 @@ ENTRY(_ZGVdN4v_exp10_avx2) vmovapd %ymm0, %ymm2 vmovupd _dbShifter+__svml_dexp10_data_internal(%rip), %ymm3 - /* Load arument */ + /* Load argument */ vmovupd _dbLg2_10+__svml_dexp10_data_internal(%rip), %ymm0 vfmadd213pd %ymm3, %ymm2, %ymm0 vsubpd %ymm3, %ymm0, %ymm1 @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S index 2f45c9292d..9ea6a3d204 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp108_core_avx512.S @@ -23,7 +23,7 @@ * - all arguments processed in the main path * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling * - SAE used to avoid spurious flag settings * */ @@ -185,7 +185,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S index 0ffb56d9d4..4c24aa8a2e 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp22_core_sse4.S @@ -67,7 +67,7 @@ ENTRY(_ZGVbN2v_exp2_sse4) /* out, basePtr, iIndex, iBaseOfs, iSize, iGran, iOfs */ lea __svml_dexp2_data_internal(%rip), %rsi - /* Load arument */ + /* Load argument */ movaps %xmm1, %xmm10 addpd %xmm0, %xmm10 movaps %xmm10, %xmm6 @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S index 9337921c63..1e55f3db85 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp24_core_avx2.S @@ -71,7 +71,7 @@ ENTRY(_ZGVdN4v_exp2_avx2) vmovupd _lIndexMask+__svml_dexp2_data_internal(%rip), %ymm3 vmovapd %ymm0, %ymm1 - /* Load arument */ + /* Load argument */ vaddpd %ymm4, %ymm1, %ymm2 vsubpd %ymm4, %ymm2, %ymm0 @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S index ab3db00910..7e759c445f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_exp28_core_avx512.S @@ -221,7 +221,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S index 7e1df110e4..05be9079f5 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm12_core_sse4.S @@ -206,7 +206,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm6 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S index 815ef34935..ad0b49978c 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm14_core_avx2.S @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S index f38c694eb1..968801ab00 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_expm18_core_avx512.S @@ -24,7 +24,7 @@ * - all arguments processed in the main path * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling * * */ @@ -205,7 +205,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S index 136f5ebd8d..07c3156cf7 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot2_core_sse4.S @@ -47,7 +47,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout + * Check _z exponent to be within borders [3BC ; 441] else goto Callout * * _s ~ 1.0/sqrt(_z) * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) @@ -127,7 +127,7 @@ ENTRY(_ZGVbN2vv_hypot_sse4) mulpd %xmm10, %xmm11 mulpd %xmm10, %xmm2 - /* Check _z exponent to be withing borders [3BC ; 441] else goto Callout */ + /* Check _z exponent to be within borders [3BC ; 441] else goto Callout */ movq _LowBoundary+__svml_dhypot_data_internal(%rip), %xmm5 movq _HighBoundary+__svml_dhypot_data_internal(%rip), %xmm3 pshufd $221, %xmm10, %xmm4 @@ -215,7 +215,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -96) # LOE rbx rbp r12 r13 r14 r15 xmm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S index 61d12c9795..d8c6a3ac43 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot4_core_avx2.S @@ -47,7 +47,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout + * Check _z exponent to be within borders [3BC ; 441] else goto Callout * * _s ~ 1.0/sqrt(_z) * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) @@ -111,7 +111,7 @@ ENTRY(_ZGVdN4vv_hypot_avx2) */ vcvtpd2ps %ymm0, %xmm12 - /* Check _z exponent to be withing borders [3BC ; 441] else goto Callout */ + /* Check _z exponent to be within borders [3BC ; 441] else goto Callout */ vextractf128 $1, %ymm0, %xmm3 vrsqrtps %xmm12, %xmm13 vshufps $221, %xmm3, %xmm0, %xmm5 @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S index fb53d5dbd7..24ab764b7a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_hypot8_core_avx512.S @@ -47,7 +47,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [3BC ; 441] else goto Callout + * Check _z exponent to be within borders [3BC ; 441] else goto Callout * * _s ~ 1.0/sqrt(_z) * _s2 ~ 1.0/(sqrt(_z)*sqrt(_z)) ~ 1.0/_z = (1.0/_z + O) @@ -188,7 +188,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S index b2e75c1f23..de1583b394 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log102_core_sse4.S @@ -227,7 +227,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm3 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S index 2e6ebac0ee..8a9b8a84fb 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log104_core_avx2.S @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S index b7593067c0..b4e5a9ccea 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log108_core_avx512.S @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S index d0372e82c6..618b7e1e09 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p2_core_sse4.S @@ -265,7 +265,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S index d114653c71..dc2ccb3255 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p4_core_avx2.S @@ -257,7 +257,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S index 283c40b689..f5ec27ddb1 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log1p8_core_avx512.S @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S index 93bf27092d..29465643cd 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log22_core_sse4.S @@ -225,7 +225,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm3 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S index 83d8d4c462..30fa3e4473 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log24_core_avx2.S @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S index bc9db384e9..351e00d182 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_log28_core_avx512.S @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S index 03a703f5f1..3b01840d73 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh2_core_sse4.S @@ -260,7 +260,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S index 26075187ae..585e2e51bf 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh4_core_avx2.S @@ -274,7 +274,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S index ce08de9dd0..8158d1455f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_sinh8_core_avx512.S @@ -265,7 +265,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S index 9fac5fa4bc..9c208765af 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan2_core_sse4.S @@ -181,11 +181,11 @@ ENTRY(_ZGVbN2v_tan_sse4) movmskpd %xmm4, %edx testl %edx, %edx - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx rbp r12 r13 r14 r15 eax xmm0 xmm1 xmm4 xmm5 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -264,7 +264,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -283,7 +283,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx rbp r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S index 8586565ddb..82d2ceff9a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan4_core_avx2.S @@ -166,11 +166,11 @@ ENTRY(_ZGVdN4v_tan_avx2) vxorpd %ymm0, %ymm8, %ymm0 testl %eax, %eax - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 r9d ymm0 ymm1 ymm14 ymm15 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -261,7 +261,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -280,7 +280,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S index 79deb21b2a..c5738cef99 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tan8_core_avx512.S @@ -96,11 +96,11 @@ ENTRY(_ZGVeN8v_tan_skx) vfnmadd231pd {rn-sae}, %zmm8, %zmm3, %zmm5 vfnmadd213pd {rn-sae}, %zmm5, %zmm4, %zmm8 - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx zmm0 zmm1 zmm8 zmm11 k1 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -233,7 +233,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -252,7 +252,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S index 6fef5f0856..cbcb0d6a43 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S @@ -259,7 +259,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S index c05f4c2079..cf0182bf8a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S @@ -266,7 +266,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S index 70f0880049..b3477a346b 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S @@ -280,7 +280,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xfe, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S index 1c68130a87..5bdc356429 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf16_core_avx512.S @@ -199,7 +199,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S index 372beff631..ac099d38c5 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf4_core_sse4.S @@ -198,7 +198,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm7 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S index 9e2f3b0dfe..76296d91c0 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acosf8_core_avx2.S @@ -192,7 +192,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S index 9ba81506ca..ff7063499f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf16_core_avx512.S @@ -284,7 +284,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S index 6c3cbf0c3b..6a213dc2e4 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf4_core_sse4.S @@ -299,7 +299,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm9 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S index 45aede28ea..17f6a19b3d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_acoshf8_core_avx2.S @@ -280,7 +280,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S index daa5cfa91e..2ffe24e1ff 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf16_core_avx512.S @@ -192,7 +192,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S index 0718fa09b4..bc3e2f8340 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf4_core_sse4.S @@ -184,7 +184,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S index 2199ed35d1..41e015c490 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinf8_core_avx2.S @@ -181,7 +181,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S index 720b58f956..592caa85da 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf16_core_avx512.S @@ -307,7 +307,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S index c78550ec22..e5996b3346 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf4_core_sse4.S @@ -403,7 +403,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S index f9aeea6c85..1e8fc22910 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_asinhf8_core_avx2.S @@ -355,7 +355,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S index e031dadf19..08c193e273 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S @@ -150,11 +150,11 @@ ENTRY(_ZGVeN16vv_atan2f_skx) vaddps {rn-sae}, %zmm11, %zmm9, %zmm9{%k4} vorps %zmm6, %zmm9, %zmm10 - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm10 zmm11 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -251,7 +251,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm10 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -271,7 +271,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S index 60426108b1..0ec9b19590 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S @@ -157,11 +157,11 @@ ENTRY(_ZGVbN4vv_atan2f_sse4) /* Special branch for fast (vector) processing of zero arguments */ testl %ecx, %ecx - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx rbp r12 r13 r14 r15 eax edx xmm0 xmm1 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -244,7 +244,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -96) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -264,7 +264,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx rbp r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S index bf632c8a99..69619cb4d8 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S @@ -131,11 +131,11 @@ ENTRY(_ZGVdN8vv_atan2f_avx2) /* Special branch for fast (vector) processing of zero arguments */ testl %eax, %eax - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm9 ymm10 ymm12 ymm13 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -232,7 +232,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm9 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -252,7 +252,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S index f733c7a1b5..6c3d40d676 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf16_core_avx512.S @@ -221,7 +221,7 @@ L(SPECIAL_VALUES_LOOP): xorl %ebp, %ebp tzcntl %ebx, %ebp - /* Scalar math fucntion call to process special input. */ + /* Scalar math function call to process special input. */ vmovss 64(%rsp, %rbp, 4), %xmm0 call atanhf@PLT diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S index 055484bfb2..ab2ef46b9d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S @@ -242,7 +242,7 @@ L(SPECIAL_VALUES_LOOP): xorl %ebp, %ebp bsfl %ebx, %ebp - /* Scalar math fucntion call to process special input. */ + /* Scalar math function call to process special input. */ movss 40(%rsp, %rbp, 4), %xmm0 call atanhf@PLT /* No good way to avoid the store-forwarding fault this will cause on diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S index 8ffe98cfe1..e70085b051 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_atanhf8_core_avx2.S @@ -230,7 +230,7 @@ L(SPECIAL_VALUES_LOOP): xorl %ebp, %ebp tzcntl %ebx, %ebp - /* Scalar math fucntion call to process special input. */ + /* Scalar math function call to process special input. */ vmovss 32(%rsp, %rbp, 4), %xmm0 call atanhf@PLT diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S index f5331db13b..270e620d61 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf4_core_sse4.S @@ -273,7 +273,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm12 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S index 76db762fe8..292eb5a93f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_cbrtf8_core_avx2.S @@ -298,7 +298,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S index 14696eeff4..773594d4e0 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf16_core_avx512.S @@ -222,7 +222,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm6 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S index 654ac65916..ee987dd10f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf4_core_sse4.S @@ -233,7 +233,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S index 474cb05473..24692722eb 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_coshf8_core_avx2.S @@ -236,7 +236,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S index 03b7e4adc1..3d19dbd58a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf16_core_avx512.S @@ -212,7 +212,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S index 02aa2b4f76..e7cae80579 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf4_core_sse4.S @@ -219,7 +219,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S index c3e8e399db..958b46dbfe 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_erfcf8_core_avx2.S @@ -237,7 +237,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S index e70e8c52ca..f2d8130ee4 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f16_core_avx512.S @@ -23,7 +23,7 @@ * - all arguments processed in the main path * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling * - SAE used to avoid spurious flag settings * */ @@ -180,7 +180,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S index 9de39a62c2..9eb215a40f 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f4_core_sse4.S @@ -63,7 +63,7 @@ ENTRY(_ZGVbN4v_exp10f_sse4) cfi_def_cfa_offset(80) movaps %xmm0, %xmm4 - /* Load arument */ + /* Load argument */ movups _sLg2_10+__svml_sexp10_data_internal(%rip), %xmm2 lea __svml_sexp10_data_internal(%rip), %r8 mulps %xmm4, %xmm2 @@ -212,7 +212,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S index e3087a75dc..79563cc353 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp10f8_core_avx2.S @@ -69,7 +69,7 @@ ENTRY(_ZGVdN8v_exp10f_avx2) lea __svml_sexp10_data_internal(%rip), %rax vmovups _sShifter+__svml_sexp10_data_internal(%rip), %ymm4 - /* Load arument */ + /* Load argument */ vmovups _sLg2_10+__svml_sexp10_data_internal(%rip), %ymm1 vmovups _iIndexMask+__svml_sexp10_data_internal(%rip), %ymm2 vmovaps %ymm0, %ymm3 @@ -232,7 +232,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S index 1911c06bcf..ce983b297b 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f16_core_avx512.S @@ -203,7 +203,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S index f4ddfbe932..512ea5c5bf 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f4_core_sse4.S @@ -175,7 +175,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S index 277508b8ef..47592985c1 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_exp2f8_core_avx2.S @@ -182,7 +182,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S index 7aa1e3c417..4683e546de 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f16_core_avx512.S @@ -24,7 +24,7 @@ * - all arguments processed in the main path * - final VSCALEF assists branch-free design (correct overflow/underflow and special case responses) * - a VAND is used to ensure the reduced argument |R|<2, even for large inputs - * - RZ mode used to avoid oveflow to +/-Inf for x*log2(e); helps with special case handling + * - RZ mode used to avoid overflow to +/-Inf for x*log2(e); helps with special case handling * * */ @@ -188,7 +188,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S index 6a3a9d266c..5159b0785a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f4_core_sse4.S @@ -207,7 +207,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 xmm10 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S index ee442d8c4a..aae9068cc9 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_expm1f8_core_avx2.S @@ -206,7 +206,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S index 06c6903df2..749deb0833 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf16_core_avx512.S @@ -45,7 +45,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout * * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), * that multiplied by _z, is final result for _EP_ version. @@ -196,7 +196,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x00, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S index c5a94d7b5b..38ab12b1e2 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf4_core_sse4.S @@ -45,7 +45,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout * * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), * that multiplied by _z, is final result for _EP_ version. @@ -117,7 +117,7 @@ ENTRY(_ZGVbN4vv_hypotf_sse4) movaps %xmm2, %xmm6 mulps %xmm10, %xmm6 - /* Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout */ + /* Check _z exponent to be within borders [1E3 ; 60A] else goto Callout */ movdqu _LowBoundary+__svml_shypot_data_internal(%rip), %xmm4 subps %xmm6, %xmm5 @@ -216,7 +216,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -96) # LOE rbx rbp r12 r13 r14 r15 xmm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S index fe87678ae6..80f1081201 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_hypotf8_core_avx2.S @@ -45,7 +45,7 @@ * No multiprecision branch for _LA_ and _EP_ * _z = _VARG1 * _VARG1 + _VARG2 * _VARG2 * - * Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout + * Check _z exponent to be within borders [1E3 ; 60A] else goto Callout * * Compute resciplicle sqrt s0 ~ 1.0/sqrt(_z), * that multiplied by _z, is final result for _EP_ version. @@ -107,7 +107,7 @@ ENTRY(_ZGVdN8vv_hypotf_avx2) */ vmovups _sHalf+__svml_shypot_data_internal(%rip), %ymm7 - /* Check _z exponent to be withing borders [1E3 ; 60A] else goto Callout */ + /* Check _z exponent to be within borders [1E3 ; 60A] else goto Callout */ vmovups _LowBoundary+__svml_shypot_data_internal(%rip), %ymm2 vfmadd231ps %ymm1, %ymm1, %ymm8 @@ -220,7 +220,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x80, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm2 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S index 87a1694a6f..0deb96997a 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f16_core_avx512.S @@ -155,7 +155,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S index 80ded85293..6baff562f5 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f4_core_sse4.S @@ -168,7 +168,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S index 480495037f..54ff0b1e4d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log10f8_core_avx2.S @@ -168,7 +168,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S index d629dc44f3..e4f8a603ff 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf16_core_avx512.S @@ -201,7 +201,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S index 511e064a3d..4a10457eb8 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf4_core_sse4.S @@ -182,7 +182,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S index ea39f66d22..672c91e07e 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log1pf8_core_avx2.S @@ -184,7 +184,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S index c14fd3d918..04288956c4 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f16_core_avx512.S @@ -152,7 +152,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S index f4aa9481ca..93ed64254e 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f4_core_sse4.S @@ -160,7 +160,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S index d2441c3581..02360e57ee 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_log2f8_core_avx2.S @@ -163,7 +163,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm1 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S index dda1a0531b..03e7f345b0 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf16_core_avx512.S @@ -246,7 +246,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S index 34ec276ac0..59d6329126 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf4_core_sse4.S @@ -236,7 +236,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -80) # LOE rbx rbp r12 r13 r14 r15 xmm14 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S index abf8d658ab..81e1f19e26 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_sinhf8_core_avx2.S @@ -237,7 +237,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xa0, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S index 3d4dba3fab..ae95fbae91 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf16_core_avx512.S @@ -94,11 +94,11 @@ ENTRY(_ZGVeN16v_tanf_skx) vfnmadd231ps {rn-sae}, %zmm5, %zmm2, %zmm4 vfnmadd213ps {rn-sae}, %zmm4, %zmm3, %zmm5 - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx r12 r13 r14 r15 edx zmm0 zmm5 zmm10 zmm11 k6 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -229,7 +229,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0e, 0x0e, 0x38, 0x1c, 0x0d, 0xc0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE rbx r12 r13 r14 r15 zmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -248,7 +248,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S index 1292e88cf9..fab86645b6 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf4_core_sse4.S @@ -175,11 +175,11 @@ ENTRY(_ZGVbN4v_tanf_sse4) testl %edx, %edx - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) # LOE rbx rbp r12 r13 r14 r15 eax xmm0 xmm4 xmm11 xmm12 xmm13 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -258,7 +258,7 @@ L(SPECIAL_VALUES_LOOP): cfi_offset(14, -240) # LOE rbx rbp r12 r13 r14 r15 xmm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -277,7 +277,7 @@ L(SCALAR_MATH_CALL): cfi_restore(14) # LOE rbx rbp r15 r12d r13d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S index ab52321220..30585a77b4 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S @@ -161,13 +161,13 @@ ENTRY(_ZGVdN8v_tanf_avx2) testl %edx, %edx - /* Go to auxilary branch */ + /* Go to auxiliary branch */ jne L(AUX_BRANCH) /* DW_CFA_expression: r3 (rbx) (DW_OP_lit8; DW_OP_minus; DW_OP_const4s: -32; DW_OP_and; DW_OP_const4s: -8; DW_OP_plus) */ .cfi_escape 0x10, 0x03, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xf8, 0xff, 0xff, 0xff, 0x22 # LOE r12 r13 r14 r15 eax ymm0 ymm1 ymm10 ymm11 ymm12 - /* Return from auxilary branch + /* Return from auxiliary branch * for out of main path inputs */ @@ -255,7 +255,7 @@ L(SPECIAL_VALUES_LOOP): .cfi_escape 0x10, 0x0d, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0x40, 0xff, 0xff, 0xff, 0x22 # LOE r12 r13 r14 r15 ymm0 - /* Scalar math fucntion call + /* Scalar math function call * to process special input */ @@ -273,7 +273,7 @@ L(SCALAR_MATH_CALL): cfi_restore(13) # LOE r14 r15 ebx r12d - /* Auxilary branch + /* Auxiliary branch * for out of main path inputs */ diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S index d72a88924c..e639c48524 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S @@ -220,7 +220,7 @@ L(SPECIAL_VALUES_LOOP): xorl %ebp, %ebp tzcntl %ebx, %ebp - /* Scalar math fucntion call to process special input. */ + /* Scalar math function call to process special input. */ vmovss 64(%rsp, %rbp, 4), %xmm0 call tanhf@PLT diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S index dcbb1886d0..357ad375b3 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S @@ -73,7 +73,7 @@ #include <sysdep.h> -/* tanhf data tables for avx2 and sse4 implementatins defined here. +/* tanhf data tables for avx2 and sse4 implementations defined here. */ #define ONLY_DECL_OFFSET #include "svml_s_tanhf_rodata.S" @@ -217,7 +217,7 @@ L(SPECIAL_VALUES_LOOP): xorl %ebp, %ebp bsfl %ebx, %ebp - /* Scalar math fucntion call to process special input. */ + /* Scalar math function call to process special input. */ movss 40(%rsp, %rbp, 4), %xmm0 call tanhf@PLT /* No good way to avoid the store-forwarding fault this will cause on diff --git a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S index b8d828e081..ea19903d9d 100644 --- a/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S +++ b/sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S @@ -72,7 +72,7 @@ #include <sysdep.h> -/* tanhf data tables for avx2 and sse4 implementatins defined here. +/* tanhf data tables for avx2 and sse4 implementations defined here. */ #include "svml_s_tanhf_rodata.S" diff --git a/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h b/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h index 10ae5d6994..89d366b7b5 100644 --- a/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h +++ b/sysdeps/x86_64/multiarch/ifunc-strcasecmp.h @@ -1,4 +1,4 @@ -/* Common definition for strcasecmp famly ifunc selections. +/* Common definition for strcasecmp family ifunc selections. All versions must be listed in ifunc-impl-list.c. Copyright (C) 2017-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/x86_64/multiarch/memchr-evex.S b/sysdeps/x86_64/multiarch/memchr-evex.S index 764a419b68..35347daa05 100644 --- a/sysdeps/x86_64/multiarch/memchr-evex.S +++ b/sysdeps/x86_64/multiarch/memchr-evex.S @@ -440,13 +440,13 @@ L(loop_4x_vec): ymm0-15 is used at all is because there is no EVEX encoding vpcmpeq and with vpcmpeq this loop can be performed more efficiently. The non-vzeroupper version is safe for RTM - while the vzeroupper version should be prefered if RTM are + while the vzeroupper version should be preferred if RTM are not supported. Which loop version we use is determined by USE_TERN_IN_LOOP. */ # if USE_TERN_IN_LOOP /* Since vptern can only take 3x vectors fastest to do 1 vec - seperately with EVEX vpcmp. */ + separately with EVEX vpcmp. */ # ifdef USE_AS_WMEMCHR /* vptern can only accept masks for epi32/epi64 so can only save instruction using not equals mask on vptern with wmemchr. @@ -539,7 +539,7 @@ L(last_vec_x1_novzero): # if CHAR_PER_VEC == 64 /* Since we can't combine the last 2x VEC when CHAR_PER_VEC == - 64 it needs a seperate return label. */ + 64 it needs a separate return label. */ .p2align 4,, 4 L(last_vec_x2): L(last_vec_x2_novzero): @@ -579,8 +579,8 @@ L(loop_vec_ret): (only if used VEX encoded loop). */ COND_VZEROUPPER - /* Seperate logic for CHAR_PER_VEC == 64 vs the rest. For - CHAR_PER_VEC we test the last 2x VEC seperately, for + /* Separate logic for CHAR_PER_VEC == 64 vs the rest. For + CHAR_PER_VEC we test the last 2x VEC separately, for CHAR_PER_VEC <= 32 we can combine the results from the 2x VEC in a single GPR. */ # if CHAR_PER_VEC == 64 diff --git a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S index b81d9f7dd8..61dbfe79cf 100644 --- a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S +++ b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S @@ -29,7 +29,7 @@ 3. Use xmm vector compare when size >= 4 bytes for memcmp or size >= 8 bytes for wmemcmp. 4. Optimistically compare up to first 4 * VEC_SIZE one at a - to check for early mismatches. Only do this if its guranteed the + to check for early mismatches. Only do this if its guaranteed the work is not wasted. 5. If size is 8 * VEC_SIZE or less, unroll the loop. 6. Compare 4 * VEC_SIZE at a time with the aligned first memory @@ -66,7 +66,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 SECTION(.text),"ax",@progbits diff --git a/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S b/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S index a63db75b35..7e6fed9b63 100644 --- a/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S +++ b/sysdeps/x86_64/multiarch/memcmp-evex-movbe.S @@ -30,7 +30,7 @@ 3. Use xmm vector compare when size >= 4 bytes for memcmp or size >= 8 bytes for wmemcmp. 4. Optimistically compare up to first 4 * CHAR_PER_VEC one at a - to check for early mismatches. Only do this if its guranteed the + to check for early mismatches. Only do this if its guaranteed the work is not wasted. 5. If size is 8 * VEC_SIZE or less, unroll the loop. 6. Compare 4 * VEC_SIZE at a time with the aligned first memory @@ -90,7 +90,7 @@ Latency: /* 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 SECTION(.text), "ax", @progbits @@ -105,7 +105,7 @@ ENTRY_P2ALIGN (MEMCMP, 6) /* Fall through for [0, VEC_SIZE] as its the hottest. */ ja L(more_1x_vec) - /* Create mask of bytes that are guranteed to be valid because + /* Create mask of bytes that are guaranteed to be valid because of length (edx). Using masked movs allows us to skip checks for page crosses/zero size. */ mov $-1, %VRAX @@ -365,7 +365,7 @@ L(loop_4x_vec): /* Load regardless of branch. */ VMOVU (VEC_SIZE * 2)(%rsi, %rdx), %VMM(3) - /* Seperate logic as we can only use testb for VEC_SIZE == 64. + /* Separate logic as we can only use testb for VEC_SIZE == 64. */ # if VEC_SIZE == 64 testb %dil, %dil diff --git a/sysdeps/x86_64/multiarch/memcmp-sse2.S b/sysdeps/x86_64/multiarch/memcmp-sse2.S index 305bd02920..77174e7c64 100644 --- a/sysdeps/x86_64/multiarch/memcmp-sse2.S +++ b/sysdeps/x86_64/multiarch/memcmp-sse2.S @@ -410,7 +410,7 @@ L(ret_nonzero_vec_start_4_5): .p2align 4,, 8 L(ret_nonzero_vec_end_1): pmovmskb %xmm1, %ecx - /* High 16 bits of eax guranteed to be all ones. Rotate them in + /* High 16 bits of eax guaranteed to be all ones. Rotate them in to we can do `or + not` with just `xor`. */ rorl $16, %eax xorl %ecx, %eax @@ -562,7 +562,7 @@ L(ret_nonzero_loop): sall $(VEC_SIZE * 1), %edx leal 1(%rcx, %rdx), %edx pmovmskb %xmm2, %ecx - /* High 16 bits of eax guranteed to be all ones. Rotate them in + /* High 16 bits of eax guaranteed to be all ones. Rotate them in to we can do `or + not` with just `xor`. */ rorl $16, %eax xorl %ecx, %eax diff --git a/sysdeps/x86_64/multiarch/memcmpeq-avx2.S b/sysdeps/x86_64/multiarch/memcmpeq-avx2.S index 4b013c5523..f6e39ca0bd 100644 --- a/sysdeps/x86_64/multiarch/memcmpeq-avx2.S +++ b/sysdeps/x86_64/multiarch/memcmpeq-avx2.S @@ -26,7 +26,7 @@ and loading from either s1 or s2 would cause a page cross. 2. Use xmm vector compare when size >= 8 bytes. 3. Optimistically compare up to first 4 * VEC_SIZE one at a - to check for early mismatches. Only do this if its guranteed the + to check for early mismatches. Only do this if its guaranteed the work is not wasted. 4. If size is 8 * VEC_SIZE or less, unroll the loop. 5. Compare 4 * VEC_SIZE at a time with the aligned first memory @@ -302,7 +302,7 @@ L(between_9_15): movq -8(%rsi, %rdx), %rdi subq %rdi, %rcx orq %rcx, %rax - /* edx is guranteed to be a non-zero int. */ + /* edx is guaranteed to be a non-zero int. */ cmovnz %edx, %eax ret diff --git a/sysdeps/x86_64/multiarch/memcmpeq-evex.S b/sysdeps/x86_64/multiarch/memcmpeq-evex.S index 7ae3e3c8c9..3666f649cd 100644 --- a/sysdeps/x86_64/multiarch/memcmpeq-evex.S +++ b/sysdeps/x86_64/multiarch/memcmpeq-evex.S @@ -26,7 +26,7 @@ and loading from either s1 or s2 would cause a page cross. 2. Use xmm vector compare when size >= 8 bytes. 3. Optimistically compare up to first 4 * VEC_SIZE one at a - to check for early mismatches. Only do this if its guranteed the + to check for early mismatches. Only do this if its guaranteed the work is not wasted. 4. If size is 8 * VEC_SIZE or less, unroll the loop. 5. Compare 4 * VEC_SIZE at a time with the aligned first memory @@ -97,7 +97,7 @@ ENTRY_P2ALIGN (MEMCMPEQ, 6) /* Fall through for [0, VEC_SIZE] as its the hottest. */ ja L(more_1x_vec) - /* Create mask of bytes that are guranteed to be valid because + /* Create mask of bytes that are guaranteed to be valid because of length (edx). Using masked movs allows us to skip checks for page crosses/zero size. */ mov $-1, %VRAX @@ -253,7 +253,7 @@ L(loop_4x_vec): oring with VEC(4). Result is stored in VEC(4). */ vpternlogd $0xf6, (VEC_SIZE * 2)(%rdx), %VMM(3), %VMM(4) - /* Seperate logic as we can only use testb for VEC_SIZE == 64. + /* Separate logic as we can only use testb for VEC_SIZE == 64. */ # if VEC_SIZE == 64 testb %dil, %dil diff --git a/sysdeps/x86_64/multiarch/memmove-ssse3.S b/sysdeps/x86_64/multiarch/memmove-ssse3.S index ded86bd1e5..460b0ec044 100644 --- a/sysdeps/x86_64/multiarch/memmove-ssse3.S +++ b/sysdeps/x86_64/multiarch/memmove-ssse3.S @@ -231,7 +231,7 @@ L(end_loop_fwd): movups %xmm7, 48(%r8) ret - /* Extactly 64 bytes if `jmp L(end_loop_fwd)` is long encoding. + /* Exactly 64 bytes if `jmp L(end_loop_fwd)` is long encoding. 60 bytes otherwise. */ # define ALIGNED_LOOP_FWD(align_by); \ .p2align 6; \ @@ -368,7 +368,7 @@ L(end_loop_bkwd): ret - /* Extactly 64 bytes if `jmp L(end_loop_bkwd)` is long encoding. + /* Exactly 64 bytes if `jmp L(end_loop_bkwd)` is long encoding. 60 bytes otherwise. */ # define ALIGNED_LOOP_BKWD(align_by); \ .p2align 6; \ diff --git a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S index d1b92785b0..51eb622bc8 100644 --- a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S +++ b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S @@ -445,7 +445,7 @@ L(more_8x_vec_check): shrq $63, %r8 /* Get 4k difference dst - src. */ andl $(PAGE_SIZE - 256), %ecx - /* If r8 is non-zero must do foward for correctness. Otherwise + /* If r8 is non-zero must do forward for correctness. Otherwise if ecx is non-zero there is 4k False Alaising so do backward copy. */ addl %r8d, %ecx @@ -460,7 +460,7 @@ L(more_8x_vec_forward): /* First vec was already loaded into VEC(0). */ VMOVU -VEC_SIZE(%rsi, %rdx), %VMM(5) VMOVU -(VEC_SIZE * 2)(%rsi, %rdx), %VMM(6) - /* Save begining of dst. */ + /* Save beginning of dst. */ movq %rdi, %rcx /* Align dst to VEC_SIZE - 1. */ orq $(VEC_SIZE - 1), %rdi @@ -517,7 +517,7 @@ L(more_8x_vec_backward): /* First vec was also loaded into VEC(0). */ VMOVU VEC_SIZE(%rsi), %VMM(5) VMOVU (VEC_SIZE * 2)(%rsi), %VMM(6) - /* Begining of region for 4x backward copy stored in rcx. */ + /* Beginning of region for 4x backward copy stored in rcx. */ leaq (VEC_SIZE * -4 + -1)(%rdi, %rdx), %rcx VMOVU (VEC_SIZE * 3)(%rsi), %VMM(7) VMOVU -VEC_SIZE(%rsi, %rdx), %VMM(8) @@ -611,7 +611,7 @@ L(movsb): movq %rdi, %r8 # endif /* If above __x86_rep_movsb_stop_threshold most likely is - candidate for NT moves aswell. */ + candidate for NT moves as well. */ cmp __x86_rep_movsb_stop_threshold(%rip), %RDX_LP jae L(large_memcpy_2x_check) # if AVOID_SHORT_DISTANCE_REP_MOVSB || ALIGN_MOVSB diff --git a/sysdeps/x86_64/multiarch/memrchr-avx2.S b/sysdeps/x86_64/multiarch/memrchr-avx2.S index 15c83f6a2b..409706fd8e 100644 --- a/sysdeps/x86_64/multiarch/memrchr-avx2.S +++ b/sysdeps/x86_64/multiarch/memrchr-avx2.S @@ -65,7 +65,7 @@ ENTRY_P2ALIGN(MEMRCHR, 6) L(ret_vec_x0_test): /* If ecx is zero (no matches) lzcnt will set it 32 (VEC_SIZE) which - will gurantee edx (len) is less than it. */ + will guarantee edx (len) is less than it. */ lzcntl %ecx, %ecx /* Hoist vzeroupper (not great for RTM) to save code size. This allows @@ -233,7 +233,7 @@ L(more_4x_vec): jnz L(ret_vec_x3) /* Check if near end before re-aligning (otherwise might do an - unnecissary loop iteration). */ + unnecessary loop iteration). */ addq $-(VEC_SIZE * 4), %rax cmpq $(VEC_SIZE * 4), %rdx jbe L(last_4x_vec) diff --git a/sysdeps/x86_64/multiarch/memrchr-evex.S b/sysdeps/x86_64/multiarch/memrchr-evex.S index 3d3ef062e2..f7a11783c3 100644 --- a/sysdeps/x86_64/multiarch/memrchr-evex.S +++ b/sysdeps/x86_64/multiarch/memrchr-evex.S @@ -119,7 +119,7 @@ L(last_2x_vec): # endif jle L(zero_2) - /* We adjusted rax (length) for VEC_SIZE == 64 so need seperate + /* We adjusted rax (length) for VEC_SIZE == 64 so need separate offsets. */ # if VEC_SIZE == 64 vpcmpeqb (VEC_SIZE * -1)(%rdi, %rax), %VMATCH, %k0 @@ -354,7 +354,7 @@ L(loop_4x_vec): jnz L(first_vec_x1_end) KMOV %k2, %VRCX - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for returning last 2x VEC. For VEC_SIZE == 64 we test each VEC individually, for VEC_SIZE == 32 we combine them in a single 64-bit GPR. */ diff --git a/sysdeps/x86_64/multiarch/memrchr-sse2.S b/sysdeps/x86_64/multiarch/memrchr-sse2.S index 8fdad16346..0ac707bc14 100644 --- a/sysdeps/x86_64/multiarch/memrchr-sse2.S +++ b/sysdeps/x86_64/multiarch/memrchr-sse2.S @@ -50,7 +50,7 @@ ENTRY_P2ALIGN(MEMRCHR, 6) jz L(page_cross) /* NB: This load happens regardless of whether rdx (len) is zero. Since - it doesn't cross a page and the standard gurantees any pointer have + it doesn't cross a page and the standard guarantees any pointer have at least one-valid byte this load must be safe. For the entire history of the x86 memrchr implementation this has been possible so no code "should" be relying on a zero-length check before this load. diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S index f37be6218a..3d9ad49cb9 100644 --- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S +++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S @@ -199,7 +199,7 @@ L(less_vec_from_wmemset): MEMSET_VDUP_TO_VEC0_AND_SET_RETURN as ptr from here on out. */ andl $(PAGE_SIZE - 1), %edi /* Check if VEC_SIZE store cross page. Mask stores suffer - serious performance degradation when it has to fault supress. + serious performance degradation when it has to fault suppress. */ cmpl $(PAGE_SIZE - VEC_SIZE), %edi /* This is generally considered a cold target. */ diff --git a/sysdeps/x86_64/multiarch/rawmemchr-evex.S b/sysdeps/x86_64/multiarch/rawmemchr-evex.S index 52e6b186c8..0175a5e98c 100644 --- a/sysdeps/x86_64/multiarch/rawmemchr-evex.S +++ b/sysdeps/x86_64/multiarch/rawmemchr-evex.S @@ -187,13 +187,13 @@ L(loop_4x_vec): ymm0-15 is used at all is because there is no EVEX encoding vpcmpeq and with vpcmpeq this loop can be performed more efficiently. The non-vzeroupper version is safe for RTM - while the vzeroupper version should be prefered if RTM are + while the vzeroupper version should be preferred if RTM are not supported. Which loop version we use is determined by USE_TERN_IN_LOOP. */ # if USE_TERN_IN_LOOP /* Since vptern can only take 3x vectors fastest to do 1 vec - seperately with EVEX vpcmp. */ + separately with EVEX vpcmp. */ VPCMPEQ (VEC_SIZE * 4)(%rdi), %VMATCH, %k1 /* Compare 3x with vpcmpeq and or them all together with vptern. */ @@ -256,7 +256,7 @@ L(loop_4x_vec): (only if used VEX encoded loop). */ COND_VZEROUPPER - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for returning last 2x VEC. For VEC_SIZE == 64 we test each VEC individually, for VEC_SIZE == 32 we combine them in a single 64-bit GPR. */ diff --git a/sysdeps/x86_64/multiarch/strcat-sse2.S b/sysdeps/x86_64/multiarch/strcat-sse2.S index e35790c5f9..459bd8e8aa 100644 --- a/sysdeps/x86_64/multiarch/strcat-sse2.S +++ b/sysdeps/x86_64/multiarch/strcat-sse2.S @@ -163,7 +163,7 @@ ENTRY (STRCAT) decl %ecx jnz 21b - /* Now the sources is aligned. Unfortunatly we cannot force + /* Now the sources is aligned. Unfortunately we cannot force to have both source and destination aligned, so ignore the alignment of the destination. */ .p2align 4 diff --git a/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S b/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S index 4633aa9921..0564f11ea1 100644 --- a/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S +++ b/sysdeps/x86_64/multiarch/strcat-strlen-avx2.h.S @@ -1,4 +1,4 @@ -/* strlen used for begining of str{n}cat using AVX2. +/* strlen used for beginning of str{n}cat using AVX2. Copyright (C) 2011-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S b/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S index 9ce667dced..37b773dce6 100644 --- a/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S +++ b/sysdeps/x86_64/multiarch/strcat-strlen-evex.h.S @@ -1,4 +1,4 @@ -/* strlen used for begining of str{n}cat using EVEX 256/512. +/* strlen used for beginning of str{n}cat using EVEX 256/512. Copyright (C) 2011-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/sysdeps/x86_64/multiarch/strchr-evex.S b/sysdeps/x86_64/multiarch/strchr-evex.S index 3efa1b3194..f5236cf9a3 100644 --- a/sysdeps/x86_64/multiarch/strchr-evex.S +++ b/sysdeps/x86_64/multiarch/strchr-evex.S @@ -160,7 +160,7 @@ L(last_vec_x2): # endif L(first_vec_x1): /* Use bsf here to save 1-byte keeping keeping the block in 1x - fetch block. eax guranteed non-zero. */ + fetch block. eax guaranteed non-zero. */ bsf %VRCX, %VRCX # ifndef USE_AS_STRCHRNUL /* Found CHAR or the null byte. */ @@ -294,7 +294,7 @@ L(loop_4x_vec): /* Two methods for loop depending on VEC_SIZE. This is because with zmm registers VPMINU can only run on p0 (as opposed to - p0/p1 for ymm) so it is less prefered. */ + p0/p1 for ymm) so it is less preferred. */ # if VEC_SIZE == 32 /* For VEC_2 and VEC_3 use xor to set the CHARs matching esi to zero. */ @@ -340,7 +340,7 @@ L(loop_4x_vec): esi, the corresponding bit in %k3 is zero so the VPMINU_MASKZ will have a zero in the result). NB: This make the VPMINU 3c latency. The only way to avoid it is to - createa a 12c dependency chain on all the `VPCMP $4, ...` + create a 12c dependency chain on all the `VPCMP $4, ...` which has higher total latency. */ VPMINU %VMM(2), %VMM(4), %VMM(4){%k3}{z} # endif @@ -366,7 +366,7 @@ L(loop_4x_vec): # endif - /* COND_MASK integates the esi matches for VEC_SIZE == 64. For + /* COND_MASK integrates the esi matches for VEC_SIZE == 64. For VEC_SIZE == 32 they are already integrated. */ VPTEST %VMM(2), %VMM(2), %k0 COND_MASK(k2) KMOV %k0, %VRCX @@ -403,7 +403,7 @@ L(zero_end): # endif - /* Seperate return label for last VEC1 because for VEC_SIZE == + /* Separate return label for last VEC1 because for VEC_SIZE == 32 we can reuse return code in L(page_cross) but VEC_SIZE == 64 has mismatched registers. */ # if VEC_SIZE == 64 @@ -480,7 +480,7 @@ L(cross_page_boundary_real): */ xorl $((1 << CHAR_PER_VEC)- 1), %eax # endif - /* Use arithmatic shift so that leading 1s are filled in. */ + /* Use arithmetic shift so that leading 1s are filled in. */ sarx %VGPR(SHIFT_REG), %VRAX, %VRAX /* If eax is all ones then no matches for esi or NULL. */ diff --git a/sysdeps/x86_64/multiarch/strchr-sse2.S b/sysdeps/x86_64/multiarch/strchr-sse2.S index 6036016fc7..192cd136b6 100644 --- a/sysdeps/x86_64/multiarch/strchr-sse2.S +++ b/sysdeps/x86_64/multiarch/strchr-sse2.S @@ -86,7 +86,7 @@ L(next_48_bytes): jne L(return) L(loop_start): /* We use this alignment to force loop be aligned to 8 but not - 16 bytes. This gives better sheduling on AMD processors. */ + 16 bytes. This gives better scheduling on AMD processors. */ .p2align 4 pxor %xmm6, %xmm6 andq $-64, %rdi diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S index 07f8ec54c6..8804338d75 100644 --- a/sysdeps/x86_64/multiarch/strcmp-avx2.S +++ b/sysdeps/x86_64/multiarch/strcmp-avx2.S @@ -194,7 +194,7 @@ ENTRY (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip), %rax mov %fs:(%rax), %LOCALE_REG_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END (STRCASECMP) /* FALLTHROUGH to strcasecmp/strncasecmp_l. */ @@ -501,7 +501,7 @@ L(more_3x_vec): L(prepare_loop): # ifdef USE_AS_STRNCMP - /* Store N + (VEC_SIZE * 4) and place check at the begining of + /* Store N + (VEC_SIZE * 4) and place check at the beginning of the loop. */ leaq (VEC_SIZE * 2)(%rdi, %rdx), %rdx # endif @@ -762,7 +762,7 @@ L(page_cross_during_loop): .p2align 4,, 4 L(less_1x_vec_till_page_cross): subl $-(VEC_SIZE * 4), %eax - /* Guranteed safe to read from rdi - VEC_SIZE here. The only + /* Guaranteed safe to read from rdi - VEC_SIZE here. The only concerning case is first iteration if incoming s1 was near start of a page and s2 near end. If s1 was near the start of the page we already aligned up to nearest VEC_SIZE * 4 so gurnateed safe @@ -948,7 +948,7 @@ L(ret9): L(page_cross): # ifndef USE_AS_STRNCMP /* If both are VEC aligned we don't need any special logic here. - Only valid for strcmp where stop condition is guranteed to be + Only valid for strcmp where stop condition is guaranteed to be reachable by just reading memory. */ testl $((VEC_SIZE - 1) << 20), %eax jz L(no_page_cross) @@ -984,7 +984,7 @@ L(page_cross): subl $(VEC_SIZE * 3), %eax jg L(less_1x_vec_till_page) - /* If more than 1x VEC till page cross, loop throuh safely + /* If more than 1x VEC till page cross, loop through safely loadable memory until within 1x VEC of page cross. */ .p2align 4,, 10 @@ -1007,9 +1007,9 @@ L(page_cross_loop): jl L(page_cross_loop) subl %eax, %OFFSET_REG - /* OFFSET_REG has distance to page cross - VEC_SIZE. Guranteed + /* OFFSET_REG has distance to page cross - VEC_SIZE. Guaranteed to not cross page so is safe to load. Since we have already - loaded at least 1 VEC from rsi it is also guranteed to be + loaded at least 1 VEC from rsi it is also guaranteed to be safe. */ VMOVU (%rdi, %OFFSET_REG64), %ymm0 diff --git a/sysdeps/x86_64/multiarch/strcmp-evex.S b/sysdeps/x86_64/multiarch/strcmp-evex.S index a8bd5cd786..ae39cdf217 100644 --- a/sysdeps/x86_64/multiarch/strcmp-evex.S +++ b/sysdeps/x86_64/multiarch/strcmp-evex.S @@ -217,7 +217,7 @@ ENTRY (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip), %rax mov %fs:(%rax), %LOCALE_REG_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END (STRCASECMP) /* FALLTHROUGH to strcasecmp/strncasecmp_l. */ @@ -455,7 +455,7 @@ L(return_vec_3): # endif /* If CHAR_PER_VEC == 64 we can't combine matches from the last - 2x VEC so need seperate return label. */ + 2x VEC so need separate return label. */ L(return_vec_2): # if (CHAR_PER_VEC <= 16) || !(defined USE_AS_STRNCMP) bsf %VRCX, %VRCX @@ -567,7 +567,7 @@ L(prepare_loop_no_len): shrl $2, %ecx leaq (CHAR_PER_VEC * 2)(%rdx, %rcx), %rdx # else - /* Store N + (VEC_SIZE * 4) and place check at the begining of + /* Store N + (VEC_SIZE * 4) and place check at the beginning of the loop. */ leaq (VEC_SIZE * 2)(%rdi, %rdx), %rdx L(prepare_loop_no_len): @@ -840,7 +840,7 @@ L(ret7): /* If CHAR_PER_VEC == 64 we can't combine matches from the last - 2x VEC so need seperate return label. */ + 2x VEC so need separate return label. */ # if CHAR_PER_VEC == 64 L(return_vec_2_end): bsf %VRCX, %VRCX @@ -906,7 +906,7 @@ L(page_cross_during_loop): .p2align 4,, 4 L(less_1x_vec_till_page_cross): subl $-(VEC_SIZE * 4), %eax - /* Guranteed safe to read from rdi - VEC_SIZE here. The only + /* Guaranteed safe to read from rdi - VEC_SIZE here. The only concerning case is first iteration if incoming s1 was near start of a page and s2 near end. If s1 was near the start of the page we already aligned up to nearest VEC_SIZE * 4 so gurnateed safe @@ -997,7 +997,7 @@ L(return_page_cross_end_check): and %VR10, %VRCX /* Need to use tzcnt here as VRCX may be zero. If VRCX is zero tzcnt(VRCX) will be CHAR_PER and remaining length (edx) is - guranteed to be <= CHAR_PER_VEC so we will only use the return + guaranteed to be <= CHAR_PER_VEC so we will only use the return idx if VRCX was non-zero. */ tzcnt %VRCX, %VRCX leal -VEC_SIZE(%rax, %rcx, SIZE_OF_CHAR), %ecx @@ -1147,7 +1147,7 @@ L(ret9): L(page_cross): # ifndef USE_AS_STRNCMP /* If both are VEC aligned we don't need any special logic here. - Only valid for strcmp where stop condition is guranteed to + Only valid for strcmp where stop condition is guaranteed to be reachable by just reading memory. */ testl $((VEC_SIZE - 1) << 20), %eax jz L(no_page_cross) @@ -1185,7 +1185,7 @@ L(page_cross): jg L(less_1x_vec_till_page) - /* If more than 1x VEC till page cross, loop throuh safely + /* If more than 1x VEC till page cross, loop through safely loadable memory until within 1x VEC of page cross. */ .p2align 4,, 8 L(page_cross_loop): @@ -1209,9 +1209,9 @@ L(page_cross_loop): subl %eax, %OFFSET_REG - /* OFFSET_REG has distance to page cross - VEC_SIZE. Guranteed + /* OFFSET_REG has distance to page cross - VEC_SIZE. Guaranteed to not cross page so is safe to load. Since we have already - loaded at least 1 VEC from rsi it is also guranteed to be + loaded at least 1 VEC from rsi it is also guaranteed to be safe. */ VMOVU (%rdi, %OFFSET_REG64, SIZE_OF_CHAR), %VMM(0) VPTESTM %VMM(0), %VMM(0), %k2 diff --git a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S index 2cf3c6f16d..516fe7a543 100644 --- a/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S +++ b/sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S @@ -20,7 +20,7 @@ /* Continue building as ISA level 2. We use this as ISA V2 default because strcmp-sse42 uses pcmpstri (slow on some SSE4.2 - processors) and this implementation is potenially faster than + processors) and this implementation is potentially faster than strcmp-sse42 (aside from the slower page cross case). */ #if ISA_SHOULD_BUILD (2) diff --git a/sysdeps/x86_64/multiarch/strcmp-sse2.S b/sysdeps/x86_64/multiarch/strcmp-sse2.S index 4a96f2dfb0..562c0210d3 100644 --- a/sysdeps/x86_64/multiarch/strcmp-sse2.S +++ b/sysdeps/x86_64/multiarch/strcmp-sse2.S @@ -75,7 +75,7 @@ ENTRY2 (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip),%rax mov %fs:(%rax),%RDX_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END2 (STRCASECMP) /* FALLTHROUGH to strcasecmp_l. */ @@ -89,7 +89,7 @@ ENTRY2 (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip),%rax mov %fs:(%rax),%RCX_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END2 (STRCASECMP) /* FALLTHROUGH to strncasecmp_l. */ @@ -186,7 +186,7 @@ ENTRY (STRCMP) jnz LABEL(less16bytes) /* If not, find different value or null char */ # if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L sub $16, %r11 - jbe LABEL(strcmp_exitz) /* finish comparision */ + jbe LABEL(strcmp_exitz) /* finish comparison */ # endif add $16, %rsi /* prepare to search next 16 bytes */ add $16, %rdi /* prepare to search next 16 bytes */ @@ -400,7 +400,7 @@ LABEL(nibble_ashr_1): # endif pxor %xmm0, %xmm0 - sub $0x1000, %r10 /* substract 4K from %r10 */ + sub $0x1000, %r10 /* subtract 4K from %r10 */ jmp LABEL(gobble_ashr_1) /* diff --git a/sysdeps/x86_64/multiarch/strcmp-sse4_2.S b/sysdeps/x86_64/multiarch/strcmp-sse4_2.S index f93c34465e..cbb22884eb 100644 --- a/sysdeps/x86_64/multiarch/strcmp-sse4_2.S +++ b/sysdeps/x86_64/multiarch/strcmp-sse4_2.S @@ -84,7 +84,7 @@ ENTRY (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip),%rax mov %fs:(%rax),%RDX_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END (STRCASECMP) /* FALLTHROUGH to strcasecmp_l. */ @@ -94,7 +94,7 @@ ENTRY (STRCASECMP) movq __libc_tsd_LOCALE@gottpoff(%rip),%rax mov %fs:(%rax),%RCX_LP - /* Either 1 or 5 bytes (dependeing if CET is enabled). */ + /* Either 1 or 5 bytes (depending if CET is enabled). */ .p2align 4 END (STRCASECMP) /* FALLTHROUGH to strncasecmp_l. */ diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S index a2f70474d6..443c62b535 100644 --- a/sysdeps/x86_64/multiarch/strcpy-sse2.S +++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S @@ -50,7 +50,7 @@ ENTRY (STRCPY) 5: movq $0xfefefefefefefeff,%r8 - /* Now the sources is aligned. Unfortunatly we cannot force + /* Now the sources is aligned. Unfortunately we cannot force to have both source and destination aligned, so ignore the alignment of the destination. */ .p2align 4 diff --git a/sysdeps/x86_64/multiarch/strlen-avx2.S b/sysdeps/x86_64/multiarch/strlen-avx2.S index a2cd2d8337..ef47a45cb6 100644 --- a/sysdeps/x86_64/multiarch/strlen-avx2.S +++ b/sysdeps/x86_64/multiarch/strlen-avx2.S @@ -224,7 +224,7 @@ L(cross_page_continue): since data is only aligned to VEC_SIZE. */ # ifdef USE_AS_STRNLEN /* + 1 because rdi is aligned to VEC_SIZE - 1. + CHAR_SIZE - because it simplies the logic in last_4x_vec_or_less. */ + because it simplifies the logic in last_4x_vec_or_less. */ leaq (VEC_SIZE * 4 + CHAR_SIZE + 1)(%rdi), %rcx subq %rdx, %rcx # ifdef USE_AS_WCSLEN diff --git a/sysdeps/x86_64/multiarch/strncat-evex.S b/sysdeps/x86_64/multiarch/strncat-evex.S index fedad6ccdb..7d170891b3 100644 --- a/sysdeps/x86_64/multiarch/strncat-evex.S +++ b/sysdeps/x86_64/multiarch/strncat-evex.S @@ -236,7 +236,7 @@ L(more_1x_vec): VMOVU %VMM(0), (%rdi) /* We are going to align rsi here so will need to be able to re- - adjust rdi/rdx afterwords. NB: We filtered out huge lengths + adjust rdi/rdx afterwards. NB: We filtered out huge lengths so rsi + rdx * CHAR_SIZE cannot overflow. */ leaq (VEC_SIZE * -1)(%rsi, %rdx, CHAR_SIZE), %rdx diff --git a/sysdeps/x86_64/multiarch/strncpy-avx2.S b/sysdeps/x86_64/multiarch/strncpy-avx2.S index 815b33db24..3a54be1604 100644 --- a/sysdeps/x86_64/multiarch/strncpy-avx2.S +++ b/sysdeps/x86_64/multiarch/strncpy-avx2.S @@ -99,7 +99,7 @@ L(page_cross_continue): /* `jb` because length rdx is now length - CHAR_SIZE. */ jbe L(less_1x_vec) - /* This may overset but thats fine because we still need to zero + /* This may overset but that's fine because we still need to zero fill. */ VMOVU %VMM(0), (%rdi) diff --git a/sysdeps/x86_64/multiarch/strncpy-evex.S b/sysdeps/x86_64/multiarch/strncpy-evex.S index 44715f2f7c..2a3b6d1dce 100644 --- a/sysdeps/x86_64/multiarch/strncpy-evex.S +++ b/sysdeps/x86_64/multiarch/strncpy-evex.S @@ -130,7 +130,7 @@ L(page_cross_continue): jae L(more_1x_vec) /* If there where multiple zero-CHAR matches in the first VEC, - VRCX will be overset but thats fine since any oversets where + VRCX will be overset but that's fine since any oversets where at zero-positions anyways. */ # ifdef USE_AS_STPCPY @@ -177,7 +177,7 @@ L(more_1x_vec): # endif - /* This may overset but thats fine because we still need to zero + /* This may overset but that's fine because we still need to zero fill. */ VMOVU %VMM(0), (%rdi) @@ -189,7 +189,7 @@ L(more_1x_vec): /* We are going to align rsi here so will need to be able to re- - adjust rdi/rdx afterwords. NB: We filtered out huge lengths + adjust rdi/rdx afterwards. NB: We filtered out huge lengths so rsi + rdx * CHAR_SIZE cannot overflow. */ leaq (VEC_SIZE * -1)(%rsi, %rdx, CHAR_SIZE), %rdx subq %rsi, %rdi @@ -221,7 +221,7 @@ L(last_2x_vec): cmpl $(CHAR_PER_VEC), %edx jb L(ret_vec_x1_len) - /* Seperate logic for CHAR_PER_VEC == 64 because we already did + /* Separate logic for CHAR_PER_VEC == 64 because we already did `tzcnt` on VRCX. */ # if CHAR_PER_VEC == 64 /* cl == CHAR_PER_VEC iff it was zero before the `tzcnt`. */ @@ -296,7 +296,7 @@ L(ret_vec_x1_no_bsf): .p2align 4,, 8 L(last_4x_vec): - /* Seperate logic for CHAR_PER_VEC == 64 because we can do `andl + /* Separate logic for CHAR_PER_VEC == 64 because we can do `andl $(CHAR_PER_VEC * 4 - 1), %edx` with less code size just using `movzbl`. */ # if CHAR_PER_VEC == 64 @@ -677,7 +677,7 @@ L(copy_16_31): vmovdqu %xmm1, -(16 - CHAR_SIZE)(%rdi, %rdx, CHAR_SIZE) cmpl %ecx, %edx - /* Seperate logic depending on VEC_SIZE. If VEC_SIZE == 64 then + /* Separate logic depending on VEC_SIZE. If VEC_SIZE == 64 then we have a larger copy block for 32-63 so this is just falls through to zfill 16-31. If VEC_SIZE == 32 then we check for full zfill of less 1x VEC. */ diff --git a/sysdeps/x86_64/multiarch/strnlen-evex.S b/sysdeps/x86_64/multiarch/strnlen-evex.S index 28caa86d06..ae082d3241 100644 --- a/sysdeps/x86_64/multiarch/strnlen-evex.S +++ b/sysdeps/x86_64/multiarch/strnlen-evex.S @@ -336,7 +336,7 @@ L(loop_last_4x_vec): VPTESTN %VMM(3), %VMM(3), %k0 - /* Seperate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for + /* Separate logic for VEC_SIZE == 64 and VEC_SIZE == 32 for returning last 2x VEC. For VEC_SIZE == 64 we test each VEC individually, for VEC_SIZE == 32 we combine them in a single 64-bit GPR. */ diff --git a/sysdeps/x86_64/multiarch/strrchr-avx2.S b/sysdeps/x86_64/multiarch/strrchr-avx2.S index 9db2d9c741..ebbd84b2d1 100644 --- a/sysdeps/x86_64/multiarch/strrchr-avx2.S +++ b/sysdeps/x86_64/multiarch/strrchr-avx2.S @@ -176,7 +176,7 @@ L(aligned_more): .p2align 4 L(first_aligned_loop): /* Do 2x VEC at a time. Any more and the cost of finding the - match outweights loop benefit. */ + match outweighs loop benefit. */ vmovdqa (VEC_SIZE * 0)(%rdi), %ymm4 vmovdqa (VEC_SIZE * 1)(%rdi), %ymm5 @@ -324,7 +324,7 @@ L(cross_page): vmovdqu (%rsi), %ymm1 VPCMPEQ %ymm1, %ymm0, %ymm6 vpmovmskb %ymm6, %ecx - /* Shift out zero CHAR matches that are before the begining of + /* Shift out zero CHAR matches that are before the beginning of src (rdi). */ shrxl %edi, %ecx, %ecx testl %ecx, %ecx @@ -332,7 +332,7 @@ L(cross_page): VPCMPEQ %ymm1, %ymm7, %ymm1 vpmovmskb %ymm1, %eax - /* Shift out search CHAR matches that are before the begining of + /* Shift out search CHAR matches that are before the beginning of src (rdi). */ shrxl %edi, %eax, %eax blsmskl %ecx, %ecx diff --git a/sysdeps/x86_64/multiarch/strrchr-evex-base.S b/sysdeps/x86_64/multiarch/strrchr-evex-base.S index 77830741c2..58b2853ab6 100644 --- a/sysdeps/x86_64/multiarch/strrchr-evex-base.S +++ b/sysdeps/x86_64/multiarch/strrchr-evex-base.S @@ -152,7 +152,7 @@ L(loop): jnz L(loop_vec_x2_match) KMOV %k1, %VRDX - /* Match is in first vector, rdi offset need to be substracted + /* Match is in first vector, rdi offset need to be subtracted by VEC_SIZE. */ sub $VEC_SIZE, %r8 @@ -216,7 +216,7 @@ L(check_last_match): ret /* No match recorded in r8. Check the second saved vector - in begining. */ + in beginning. */ L(vector_x2_ret): VPCMPEQ %VMM(2), %VMM(0), %k2 KMOV %k2, %VRAX diff --git a/sysdeps/x86_64/multiarch/strrchr-evex.S b/sysdeps/x86_64/multiarch/strrchr-evex.S index 0d1bf07685..85e3b0119f 100644 --- a/sysdeps/x86_64/multiarch/strrchr-evex.S +++ b/sysdeps/x86_64/multiarch/strrchr-evex.S @@ -139,7 +139,7 @@ L(first_vec_x1_or_x2): KORTEST %k2, %k3 jz L(first_vec_x0_test) - /* Guranteed that VEC(2) and VEC(3) are within range so merge + /* Guaranteed that VEC(2) and VEC(3) are within range so merge the two bitmasks then get last result. */ kunpck_2x %k2, %k3, %k3 kmov_2x %k3, %maskm_2x @@ -192,7 +192,7 @@ L(first_vec_x2): .p2align 4,, 12 L(aligned_more): - /* Need to keep original pointer incase VEC(1) has last match. + /* Need to keep original pointer in case VEC(1) has last match. */ movq %rdi, %rsi andq $-VEC_SIZE, %rdi @@ -222,7 +222,7 @@ L(aligned_more): .p2align 4,, 10 L(first_aligned_loop): /* Preserve VEC(1), VEC(2), VEC(3), and VEC(4) until we can - gurantee they don't store a match. */ + guarantee they don't store a match. */ VMOVA (VEC_SIZE * 4)(%rdi), %VMM(5) VMOVA (VEC_SIZE * 5)(%rdi), %VMM(6) @@ -285,7 +285,7 @@ L(second_aligned_loop_prep): L(second_aligned_loop_set_furthest_match): movq %rdi, %rsi /* Ideally we would safe k2/k3 but `kmov/kunpck` take uops on - port0 and have noticable overhead in the loop. */ + port0 and have noticeable overhead in the loop. */ VMOVA %VMM(5), %VMM(7) VMOVA %VMM(6), %VMM(8) .p2align 4 @@ -351,7 +351,7 @@ L(cross_page_boundary): /* eax contains all the page offset bits of src (rdi). `xor rdi, rax` sets pointer will all page offset bits cleared so offset of (PAGE_SIZE - VEC_SIZE) will get last aligned VEC - before page cross (guranteed to be safe to read). Doing this + before page cross (guaranteed to be safe to read). Doing this as opposed to `movq %rdi, %rax; andq $-VEC_SIZE, %rax` saves a bit of code size. */ xorq %rdi, %rax @@ -359,7 +359,7 @@ L(cross_page_boundary): VPTESTN %VMM(1), %VMM(1), %k0 KMOV %k0, %VRCX - /* Shift out zero CHAR matches that are before the begining of + /* Shift out zero CHAR matches that are before the beginning of src (rdi). */ # ifdef USE_AS_WCSRCHR movl %edi, %esi @@ -374,7 +374,7 @@ L(cross_page_boundary): /* Found zero CHAR so need to test for search CHAR. */ VPCMP $0, %VMATCH, %VMM(1), %k1 KMOV %k1, %VRAX - /* Shift out search CHAR matches that are before the begining of + /* Shift out search CHAR matches that are before the beginning of src (rdi). */ shrx %VGPR(SHIFT_REG), %VRAX, %VRAX diff --git a/sysdeps/x86_64/multiarch/strrchr-sse2.S b/sysdeps/x86_64/multiarch/strrchr-sse2.S index 9bc4fc3dfe..c9749eea09 100644 --- a/sysdeps/x86_64/multiarch/strrchr-sse2.S +++ b/sysdeps/x86_64/multiarch/strrchr-sse2.S @@ -166,7 +166,7 @@ L(first_loop): /* Do 2x VEC at a time. */ movaps (VEC_SIZE * 2)(%rdi), %xmm4 movaps (VEC_SIZE * 3)(%rdi), %xmm5 - /* Since SSE2 no pminud so wcsrchr needs seperate logic for + /* Since SSE2 no pminud so wcsrchr needs separate logic for detecting zero. Note if this is found to be a bottleneck it may be worth adding an SSE4.1 wcsrchr implementation. */ # ifdef USE_AS_WCSRCHR @@ -238,7 +238,7 @@ L(new_match): /* We can't reuse either of the old comparisons as since we mask of zeros after first zero (instead of using the full - comparison) we can't gurantee no interference between match + comparison) we can't guarantee no interference between match after end of string and valid match. */ pmovmskb %xmm4, %eax pmovmskb %xmm7, %edx @@ -268,7 +268,7 @@ L(second_loop_match): L(second_loop): movaps (VEC_SIZE * 2)(%rdi), %xmm4 movaps (VEC_SIZE * 3)(%rdi), %xmm5 - /* Since SSE2 no pminud so wcsrchr needs seperate logic for + /* Since SSE2 no pminud so wcsrchr needs separate logic for detecting zero. Note if this is found to be a bottleneck it may be worth adding an SSE4.1 wcsrchr implementation. */ # ifdef USE_AS_WCSRCHR @@ -297,11 +297,11 @@ L(second_loop): pmovmskb %xmm6, %eax addq $(VEC_SIZE * 2), %rdi - /* Either null term or new occurence of CHAR. */ + /* Either null term or new occurrence of CHAR. */ addl %ecx, %eax jz L(second_loop) - /* No null term so much be new occurence of CHAR. */ + /* No null term so much be new occurrence of CHAR. */ testl %ecx, %ecx jz L(second_loop_match) @@ -331,7 +331,7 @@ L(second_loop_new_match): /* We can't reuse either of the old comparisons as since we mask of zeros after first zero (instead of using the full - comparison) we can't gurantee no interference between match + comparison) we can't guarantee no interference between match after end of string and valid match. */ pmovmskb %xmm4, %eax pmovmskb %xmm7, %edx diff --git a/sysdeps/x86_64/multiarch/strstr-avx512.c b/sysdeps/x86_64/multiarch/strstr-avx512.c index ba7d8f5e68..0b853930af 100644 --- a/sysdeps/x86_64/multiarch/strstr-avx512.c +++ b/sysdeps/x86_64/multiarch/strstr-avx512.c @@ -140,7 +140,7 @@ __strstr_avx512 (const char *haystack, const char *ned) = cvtmask64_u64 (_mm512_mask_testn_epi8_mask (loadmask, hay0, hay0)); uint64_t cmpmask = nullmask ^ (nullmask - ONE_64BIT); cmpmask = cmpmask & cvtmask64_u64 (loadmask); - /* Search for the 2 charaters of needle */ + /* Search for the 2 characters of needle */ __mmask64 k0 = _mm512_cmpeq_epi8_mask (hay0, ned0); __mmask64 k1 = _mm512_cmpeq_epi8_mask (hay0, ned1); k1 = kshiftri_mask64 (k1, 1); diff --git a/sysvipc/semop.c b/sysvipc/semop.c index 48ee5ab5f6..c66e0be291 100644 --- a/sysvipc/semop.c +++ b/sysvipc/semop.c @@ -18,7 +18,7 @@ #include <sys/sem.h> #include <errno.h> -/* Perform user-defined atomical operation of array of semaphores. */ +/* Perform user-defined atomic operation of array of semaphores. */ int semop (int semid, struct sembuf *sops, size_t nsops) diff --git a/sysvipc/semtimedop.c b/sysvipc/semtimedop.c index 6f7371c59f..b92745a2dc 100644 --- a/sysvipc/semtimedop.c +++ b/sysvipc/semtimedop.c @@ -18,7 +18,7 @@ #include <sys/sem.h> #include <errno.h> -/* Perform user-defined atomical operation of array of semaphores. */ +/* Perform user-defined atomic operation of array of semaphores. */ int __semtimedop (int semid, struct sembuf *sops, size_t nsops, diff --git a/time/asctime.c b/time/asctime.c index d0671030c8..7e2b102d40 100644 --- a/time/asctime.c +++ b/time/asctime.c @@ -41,7 +41,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen) /* We limit the size of the year which can be printed. Using the %d format specifier used the addition of 1900 would overflow the - number and a negative vaue is printed. For some architectures we + number and a negative value is printed. For some architectures we could in theory use %ld or an evern larger integer format but this would mean the output needs more space. This would not be a problem if the 'asctime_r' interface would be defined sanely and diff --git a/time/tst-clock.c b/time/tst-clock.c index 66f23adcba..74a583f261 100644 --- a/time/tst-clock.c +++ b/time/tst-clock.c @@ -110,7 +110,7 @@ do_test (void) /* XXX It's not yet a bug when this fails. */ clock_test (cl); else - printf("CPU clock unavailble, skipping test\n"); + printf("CPU clock unavailable, skipping test\n"); return result; } diff --git a/time/tst-difftime.c b/time/tst-difftime.c index 7d2db59ed4..4f0572eb01 100644 --- a/time/tst-difftime.c +++ b/time/tst-difftime.c @@ -30,7 +30,7 @@ test_difftime_helper (time_t t1, time_t t0, double exp_val) static int do_test (void) { - time_t t = 1383791700; /* Provide reproductible start value. */ + time_t t = 1383791700; /* Provide reproducible start value. */ /* Check if difftime works with current time. */ test_difftime_helper (t + 1800, t - 1800, 3600.0); diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c index 8019e7f5d8..edd655e0e9 100644 --- a/time/tst-strptime2.c +++ b/time/tst-strptime2.c @@ -37,7 +37,7 @@ static bool verbose; Sign field consisting of a '+' or '-' sign, Hours field in two decimal digits, and optional Minutes field in two decimal digits. Optionally, - a ':' is used to seperate hours and minutes. + a ':' is used to separate hours and minutes. This function may write test strings with minutes values outside the valid range 00-59. These are invalid strings and useful for diff --git a/time/tzfile.c b/time/tzfile.c index 9e27eba4a7..a267eb652e 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -130,7 +130,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap) { /* We must not allow to read an arbitrary file in a setuid program. So we fail for any file which is not in the - directory hierachy starting at TZDIR + directory hierarchy starting at TZDIR and which is not the system wide default TZDEFAULT. */ if (__libc_enable_secure && ((*file == '/' diff --git a/timezone/africa b/timezone/africa index 3f92eb4745..d985271ca0 100644 --- a/timezone/africa +++ b/timezone/africa @@ -559,7 +559,7 @@ Zone Indian/Mayotte 3:00:56 - LMT 1911 Jul # Mamoutzou # the changes occurs at midnight: # # saturday night may 31st at midnight (which in french is to be -# intrepreted as the night between saturday and sunday) +# interpreted as the night between saturday and sunday) # sunday night the 28th at midnight # # Seeing that the 28th is monday, I am guessing that she intends to say diff --git a/timezone/antarctica b/timezone/antarctica index 8511ab207e..48053b0caa 100644 --- a/timezone/antarctica +++ b/timezone/antarctica @@ -234,7 +234,7 @@ Rule NZAQ 2008 max - Apr Sun>=1 2:00s 0 S # # From Paul Eggert (2001-05-04): # This seems to be hopelessly confusing, so I asked Lee Hotz about it -# in person. He said that some Antartic locations set their local +# in person. He said that some Antarctic locations set their local # time so that noon is the warmest part of the day, and that this # changes during the year and does not necessarily correspond to mean # solar noon. So the Vostok time might have been whatever the clocks diff --git a/timezone/asia b/timezone/asia index de2ca39352..6bf420324f 100644 --- a/timezone/asia +++ b/timezone/asia @@ -2041,7 +2041,7 @@ Rule Syria 2007 only - Mar lastFri 0:00 1:00 S # From Jesper Norgard (2007-10-27): # The sister center ICARDA of my work CIMMYT is confirming that Syria DST will # not take place 1.st November at 0:00 o'clock but 1.st November at 24:00 or -# rather Midnight between Thursday and Friday. This does make more sence than +# rather Midnight between Thursday and Friday. This does make more sense than # having it between Wednesday and Thursday (two workdays in Syria) since the # weekend in Syria is not Saturday and Sunday, but Friday and Saturday. So now # it is implemented at midnight of the last workday before weekend... diff --git a/timezone/australasia b/timezone/australasia index efcfec74d1..41d3e5ee5d 100644 --- a/timezone/australasia +++ b/timezone/australasia @@ -1102,7 +1102,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Lord Howe Island Board (controlling authority for the Island) is # seeking the community's views on various options for summer time # arrangements on the Island, e.g. advance clocks by 1 full hour -# instead of only 30 minutes. Dependant on the wishes of residents +# instead of only 30 minutes. Dependent on the wishes of residents # the Board may approach the NSW government to change the existing # arrangements. The starting date for summer time on the Island will # however always coincide with the rest of NSW. @@ -1214,7 +1214,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # improve productivity and reduce road accidents. But correspondents say it # also hopes the move will boost Fiji's ability to compete with other pacific # islands in the effort to attract tourists to witness the dawning of the new -# millenium. +# millennium. # http://www.fiji.gov.fj/press/2000_09/2000_09_13-05.shtml (2000-09-13) # reports that Fiji has discontinued DST. @@ -1359,7 +1359,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # Shanks & Pottenger say the transition was on 1968-10-01; go with Mundell. # From Eric Ulevik (1999-05-03): -# Tonga's director of tourism, who is also secretary of the National Millenium +# Tonga's director of tourism, who is also secretary of the National Millennium # Committee, has a plan to get Tonga back in front. # He has proposed a one-off move to tropical daylight saving for Tonga from # October to March, which has won approval in principle from the Tongan diff --git a/timezone/europe b/timezone/europe index 3f39215bf6..76e2eb85f1 100644 --- a/timezone/europe +++ b/timezone/europe @@ -489,7 +489,7 @@ Rule C-Eur 1944 only - Oct 2 2:00s 0 - # # I found what is probably a typo of 2:00 which should perhaps be 2:00s # in the C-Eur rule from tz database version 2008d (this part was -# corrected in version 2008d). The circumstancial evidence is simply the +# corrected in version 2008d). The circumstantial evidence is simply the # tz database itself, as seen below: # # Zone Europe/Paris 0:09:21 - LMT 1891 Mar 15 0:01 @@ -512,7 +512,7 @@ Rule C-Eur 1944 only - Oct 2 2:00s 0 - # It seems that Paris, Monaco, Rule France, Rule Belgium all agree on # 2:00 standard time, e.g. 3:00 local time. However there are no # countries that use C-Eur rules in September 1945, so the only items -# affected are apparently these ficticious zones that translates acronyms +# affected are apparently these fictitious zones that translates acronyms # CET and MET: # # Zone CET 1:00 C-Eur CE%sT @@ -2499,9 +2499,9 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents. # Ukraine # -# From Igor Karpov, who works for the Ukranian Ministry of Justice, +# From Igor Karpov, who works for the Ukrainian Ministry of Justice, # via Garrett Wollman (2003-01-27): -# BTW, I've found the official document on this matter. It's goverment +# BTW, I've found the official document on this matter. It's government # regulations number 509, May 13, 1996. In my poor translation it says: # "Time in Ukraine is set to second timezone (Kiev time). Each last Sunday # of March at 3am the time is changing to 4am and each last Sunday of diff --git a/timezone/southamerica b/timezone/southamerica index 341e57ff90..15f1e06d80 100644 --- a/timezone/southamerica +++ b/timezone/southamerica @@ -648,7 +648,7 @@ Zone America/La_Paz -4:32:36 - LMT 1890 # From Rodrigo Severo (2004-10-04): # It's just the biannual change made necessary by the much hyped, supposedly -# modern Brazilian eletronic voting machines which, apparently, can't deal +# modern Brazilian electronic voting machines which, apparently, can't deal # with a time change between the first and the second rounds of the elections. # From Steffen Thorsen (2007-09-20): @@ -870,7 +870,7 @@ Rule Brazil 2007 only - Feb 25 0:00 0 - # adopted by the same states as before. Rule Brazil 2007 only - Oct Sun>=8 0:00 1:00 S # From Frederico A. C. Neves (2008-09-10): -# Acording to this decree +# According to this decree # <a href="http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm"> # http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm # </a> diff --git a/wcsmbs/tst-btowc.c b/wcsmbs/tst-btowc.c index 836058256a..1485076ca4 100644 --- a/wcsmbs/tst-btowc.c +++ b/wcsmbs/tst-btowc.c @@ -48,7 +48,7 @@ fail_test (int c) if (wc != WEOF) { - printf ("%s: btowc('%c') succeded, returned L'\\x%x' instead of WEOF\n", + printf ("%s: btowc('%c') succeeded, returned L'\\x%x' instead of WEOF\n", current_locale, c, wc); return 1; } diff --git a/wcsmbs/tst-mbrtowc.c b/wcsmbs/tst-mbrtowc.c index f603ffc37a..f2386a8f50 100644 --- a/wcsmbs/tst-mbrtowc.c +++ b/wcsmbs/tst-mbrtowc.c @@ -39,7 +39,7 @@ utf8_test_1 (void) assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ assert (wc == 42); /* no value has not been stored into &wc yet */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (wc == 0x2260); /* E2 89 A0 = U+2260 (not equal) decoded correctly */ assert (mbrtowc (&wc, "", 1, &s) == 0); /* test final byte processing */ assert (wc == 0); /* test final byte decoding */ @@ -88,7 +88,7 @@ utf8_test_2 (void) memset (&s, 0, sizeof (s)); /* get s into initial state */ assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (mbrtowc (NULL, "", 1, &s) == 0); /* valid terminator */ assert (mbsinit (&s)); @@ -122,7 +122,7 @@ utf8_test_3 (void) memset (&s, 0, sizeof (s)); /* get s into initial state */ assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (mbrtowc (NULL, NULL, 0, &s) == 0); /* valid terminator */ assert (mbsinit (&s));
On Sun, May 14, 2023 at 10:07 PM Noah Goldstein <goldstein.w.n@gmail.com> wrote: > One commit for something like this should be fine. I think it's a mistake to try to do this in a single commit, as reviewing this patch is hard. It may be better to split this into two parts: - trivial fixes to comments and - less trivial fixes to NEWS, timezones/ etc. Or maybe I should leave NEWS alone? P.S. Some changes, e.g. /reenable/re-enable/ may be controversial, although https://www.merriam-webster.com/dictionary/reenable says that that word isn't in the dictionary. --- INSTALL | 2 +- Makerules | 2 +- NEWS | 32 ++++++------ argp/argp-help.c | 2 +- argp/argp-parse.c | 2 +- argp/tst-argp1.c | 2 +- benchtests/bench-pthread-locks.c | 4 +- benchtests/bench-util.c | 4 +- benchtests/scripts/plot_strings.py | 2 +- bits/siginfo-consts.h | 2 +- bits/socket.h | 2 +- configure.ac | 2 +- crypt/badsalttest.c | 2 +- crypt/crypt_util.c | 2 +- csu/check_fds.c | 2 +- csu/init-first.c | 2 +- debug/explicit_bzero_chk.c | 2 +- debug/pcprofiledump.c | 2 +- debug/tst-fortify.c | 2 +- dlfcn/moddummy2.c | 2 +- elf/Makefile | 8 +-- elf/cache.c | 2 +- elf/dl-cache.c | 2 +- elf/dl-catch.c | 10 ++-- elf/dl-dst.h | 2 +- elf/dl-find_object.c | 2 +- elf/dl-fptr.c | 2 +- elf/dl-load.c | 4 +- elf/dl-minimal.c | 2 +- elf/dl-profile.c | 6 +-- elf/dl-support.c | 2 +- elf/dl-tls.c | 2 +- elf/dl-version.c | 2 +- elf/dynamic-link.h | 2 +- elf/elf.h | 4 +- elf/ldconfig.c | 4 +- elf/reldep.c | 2 +- elf/reldep2.c | 2 +- elf/reldep3.c | 2 +- elf/reldep5.c | 2 +- elf/rtld.c | 6 +-- elf/sprof.c | 6 +-- elf/tst-leaks1.c | 2 +- elf/tst-nodelete-dlclose-dso.c | 2 +- elf/tst-nodelete-dlclose-plugin.c | 2 +- elf/tst-pldd.c | 2 +- elf/tst-protected1a.c | 2 +- elf/tst-protected1b.c | 2 +- elf/tst-tls-manydynamic.c | 2 +- elf/tst-tls20.c | 12 ++--- elf/vismain.c | 2 +- gmon/mcount.c | 2 +- grp/initgroups.c | 2 +- hesiod/README.hesiod | 2 +- htl/Makefile | 2 +- htl/pt-create.c | 2 +- htl/pt-internal.h | 2 +- hurd/fd-close.c | 2 +- hurd/hurd/signal.h | 2 +- hurd/hurdexec.c | 2 +- hurd/hurdsig.c | 2 +- hurd/lookup-retry.c | 2 +- iconv/gconv_charset.c | 4 +- iconv/gconv_charset.h | 2 +- iconv/gconv_conf.c | 2 +- iconv/gconv_int.h | 2 +- iconv/gconv_simple.c | 8 +-- iconv/iconv_prog.c | 2 +- iconv/iconvconfig.c | 2 +- iconvdata/bug-iconv8.c | 2 +- iconvdata/ibm1364.c | 2 +- iconvdata/ibm930.c | 2 +- iconvdata/ibm933.c | 2 +- iconvdata/ibm935.c | 2 +- iconvdata/ibm937.c | 2 +- iconvdata/ibm939.c | 2 +- iconvdata/iso-2022-cn-ext.c | 2 +- iconvdata/iso-2022-cn.c | 2 +- iconvdata/iso-2022-jp-3.c | 2 +- iconvdata/iso-2022-jp.c | 4 +- iconvdata/iso-2022-kr.c | 2 +- iconvdata/iso646.c | 2 +- iconvdata/sjis.c | 2 +- iconvdata/tst-table.sh | 2 +- include/alloc_buffer.h | 2 +- include/arpa/nameser.h | 2 +- include/file_change_detection.h | 2 +- include/libc-pointer-arith.h | 2 +- include/libc-symbols.h | 6 +-- include/printf_buffer.h | 2 +- include/sys/socket.h | 4 +- inet/arpa/inet.h | 2 +- inet/idna_name_classify.c | 2 +- inet/netinet/igmp.h | 2 +- inet/rexec.c | 2 +- io/file_change_detection.c | 2 +- io/tst-fts.c | 2 +- libio/oldfmemopen.c | 2 +- libio/tst-fopenloc.c | 2 +- libio/tst-memstream.h | 2 +- libio/tst-setvbuf1.c | 2 +- libio/tst-vtables-interposed.c | 2 +- libio/tst-wmemstream3.c | 2 +- login/programs/utmpdump.c | 2 +- login/utmp_file.c | 2 +- mach/Machrules | 2 +- mach/errorlib.h | 2 +- malloc/arena.c | 2 +- malloc/malloc-debug.c | 2 +- malloc/malloc.c | 16 +++--- malloc/tst-mallocfork2.c | 4 +- malloc/tst-mallocfork3.c | 2 +- malloc/tst-mallocstate.c | 2 +- manual/README.pretty-printers | 2 +- manual/arith.texi | 2 +- manual/install.texi | 2 +- manual/intro.texi | 4 +- manual/ipc.texi | 2 +- manual/llio.texi | 2 +- manual/memory.texi | 2 +- manual/pattern.texi | 2 +- manual/process.texi | 2 +- manual/socket.texi | 2 +- manual/threads.texi | 2 +- manual/time.texi | 2 +- manual/tunables.texi | 4 +- math/bits/mathcalls.h | 2 +- math/fenv.h | 2 +- math/libm-test-support.c | 2 +- math/math.h | 2 +- math/test-fenv.c | 2 +- math/tgmath.h | 2 +- misc/hsearch_r.c | 2 +- misc/preadv64v2.c | 2 +- misc/pwritev64v2.c | 2 +- misc/search.h | 2 +- misc/tst-efgcvt-template.c | 4 +- misc/tst-mntent-blank-corrupt.c | 2 +- nptl/TODO | 6 +-- nptl/descr.h | 2 +- nptl/futex-internal.c | 2 +- nptl/perf.c | 4 +- nptl/pthread_cond_common.c | 2 +- nptl/pthread_cond_wait.c | 4 +- nptl/pthread_create.c | 2 +- nptl/pthread_getattr_np.c | 2 +- nptl/pthread_mutex_lock.c | 4 +- nptl/sem_waitcommon.c | 2 +- nptl/tst-dlsym1.c | 2 +- nptl/tst-rwlock20.c | 2 +- nptl/tst-stack4.c | 4 +- nptl/tst-tls3.c | 2 +- nptl/tst-tsd3.c | 6 +-- nptl/tst-tsd4.c | 4 +- nptl_db/td_thr_get_info.c | 2 +- nptl_db/thread_dbP.h | 2 +- nscd/connections.c | 6 +-- nscd/initgrcache.c | 2 +- nscd/nscd-client.h | 2 +- nscd/nscd.c | 2 +- nscd/nscd_helper.c | 4 +- nscd/nscd_setup_thread.c | 2 +- nscd/nscd_stat.c | 2 +- nss/nss_compat/compat-grp.c | 2 +- nss/nss_compat/compat-pwd.c | 2 +- nss/nss_compat/compat-spwd.c | 2 +- nss/nss_database.c | 2 +- nss/nss_db/db-open.c | 2 +- nss/nss_db/nss_db.h | 2 +- nss/nss_files/files-network.c | 2 +- nss/nss_parse_line_result.c | 2 +- nss/nsswitch.conf | 2 +- nss/test-netdb.c | 2 +- posix/BOOST.tests | 4 +- posix/PTESTS | 2 +- posix/globtest.c | 2 +- posix/regexbug1.c | 4 +- posix/runptests.c | 2 +- posix/runtests.c | 2 +- posix/rxspencer/tests | 2 +- posix/spawn.h | 2 +- posix/tst-exec.c | 2 +- posix/tst-execveat.c | 4 +- posix/tst-glob_lstat_compat.c | 2 +- posix/tst-pcre.c | 2 +- posix/tst-posix_fadvise-common.c | 2 +- posix/tst-regcomp-truncated.c | 2 +- posix/tst-regex.c | 2 +- posix/tst-regex.input | 50 +++++++++---------- posix/tst-spawn5.c | 2 +- posix/wordexp.c | 4 +- resolv/arpa/nameser_compat.h | 4 +- resolv/bits/types/res_state.h | 2 +- resolv/gai_misc.c | 4 +- resolv/gai_misc.h | 2 +- resolv/inet_net_pton.c | 2 +- resolv/inet_pton.c | 2 +- resolv/ns_print.c | 2 +- resolv/ns_rr_cursor_next.c | 2 +- resolv/nss_dns/dns-host.c | 6 +-- resolv/res-noaaaa.c | 2 +- resolv/resolv-internal.h | 2 +- resolv/resolv.h | 2 +- resolv/resolv_conf.c | 6 +-- resolv/resolv_context.c | 2 +- resolv/resolv_context.h | 2 +- resolv/tst-resolv-canonname.c | 2 +- resolv/tst-resolv-edns.c | 2 +- resolv/tst-resolv-qtypes.c | 2 +- resolv/tst-resolv-res_init-skeleton.c | 4 +- resolv/tst-resolv-res_ninit.c | 4 +- rt/aio.h | 2 +- rt/aio_cancel.c | 2 +- rt/aio_misc.c | 2 +- rt/timer_create.c | 2 +- rt/timer_gettime.c | 2 +- rt/tst-mqueue2.c | 4 +- rt/tst-mqueue3.c | 4 +- rt/tst-mqueue4.c | 2 +- rt/tst-mqueue5.c | 2 +- scripts/dso-ordering-test.py | 2 +- scripts/glibcelf.py | 2 +- scripts/glibcpp.py | 6 +-- scripts/pylintrc | 2 +- socket/sys/socket.h | 2 +- stdio-common/printf_fphex.c | 2 +- stdio-common/tst-fmemopen2.c | 2 +- stdio-common/tst-fmemopen3.c | 6 +-- stdio-common/tst-printf-bz25691.c | 2 +- stdio-common/tst-sscanf.c | 2 +- stdio-common/vfscanf-internal.c | 6 +-- stdlib/inttypes.h | 2 +- stdlib/lldiv.c | 2 +- stdlib/longlong.h | 2 +- stdlib/tst-arc4random-stats.c | 2 +- stdlib/tst-arc4random-thread.c | 2 +- stdlib/tst-canon-bz26341.c | 2 +- stdlib/tst-random.c | 6 +-- stdlib/tst-setcontext.c | 2 +- string/memcmpeq.c | 2 +- string/strcoll_l.c | 2 +- string/test-memcmp.c | 2 +- string/test-strcasecmp.c | 2 +- string/test-strcmp.c | 2 +- string/test-strncasecmp.c | 2 +- string/test-strncmp.c | 2 +- string/test-strnlen.c | 2 +- string/tst-memmove-overflow.c | 2 +- sunrpc/key_call.c | 2 +- sunrpc/rpc/clnt.h | 4 +- sunrpc/tst-svc_register.c | 2 +- sunrpc/xdr_rec.c | 2 +- sunrpc/xdr_ref.c | 2 +- support/Makefile | 2 +- support/README | 2 +- support/delayed_exit.c | 2 +- support/resolv_test.c | 10 ++-- support/resolv_test.h | 4 +- support/support_record_failure.c | 2 +- support/support_test_main.c | 2 +- support/temp_file.c | 2 +- support/test-container.c | 10 ++-- support/tst-timespec.c | 16 +++--- sysdeps/aarch64/atomic-machine.h | 2 +- sysdeps/aarch64/multiarch/memset_base64.S | 8 +-- sysdeps/alpha/alphaev67/strrchr.S | 2 +- sysdeps/alpha/atomic-machine.h | 2 +- sysdeps/alpha/divq.S | 2 +- sysdeps/alpha/divqu.S | 2 +- sysdeps/alpha/fpu/bits/fenv.h | 2 +- sysdeps/alpha/fpu/feupdateenv.c | 2 +- sysdeps/alpha/ots_cvtqux.c | 2 +- sysdeps/alpha/ots_cvtqx.c | 2 +- sysdeps/alpha/remq.S | 2 +- sysdeps/alpha/remqu.S | 2 +- sysdeps/alpha/stpncpy.S | 2 +- sysdeps/alpha/strrchr.S | 2 +- sysdeps/arc/fpu/fesetenv.c | 2 +- sysdeps/arm/armv6/rawmemchr.S | 2 +- sysdeps/arm/armv6/strchr.S | 4 +- sysdeps/arm/armv6/strcpy.S | 4 +- sysdeps/arm/armv6/strlen.S | 4 +- sysdeps/arm/armv6/strrchr.S | 4 +- sysdeps/arm/atomic-machine.h | 2 +- sysdeps/arm/dl-tlsdesc.h | 2 +- sysdeps/arm/find_exidx.c | 2 +- sysdeps/arm/nptl/Makefile | 2 +- sysdeps/arm/stap-probe-machine.h | 2 +- sysdeps/csky/fpu/feupdateenv.c | 2 +- sysdeps/generic/ldsodefs.h | 4 +- sysdeps/generic/sysdep.h | 2 +- sysdeps/generic/unwind-dw2-fde-glibc.c | 2 +- sysdeps/gnu/netinet/tcp.h | 6 +-- sysdeps/hppa/__longjmp.c | 2 +- sysdeps/hppa/dl-fptr.c | 2 +- sysdeps/hppa/dl-trampoline.S | 8 +-- sysdeps/hppa/nptl/bits/struct_mutex.h | 2 +- sysdeps/htl/bits/cancelation.h | 2 +- sysdeps/htl/pt-cond-timedwait.c | 2 +- sysdeps/htl/pt-key.h | 2 +- sysdeps/htl/pt-rwlock-timedrdlock.c | 2 +- sysdeps/htl/pt-rwlock-timedwrlock.c | 2 +- sysdeps/htl/pt-rwlock-unlock.c | 2 +- sysdeps/htl/pthread.h | 12 ++--- sysdeps/htl/timer_routines.c | 2 +- sysdeps/i386/fpu/feupdateenv.c | 2 +- sysdeps/i386/i686/dl-hash.h | 2 +- sysdeps/i386/i686/multiarch/memcmp-sse4.S | 2 +- sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2 +- sysdeps/i386/i686/multiarch/strcpy-ssse3.S | 2 +- sysdeps/i386/strpbrk.S | 2 +- sysdeps/ia64/dl-trampoline.S | 4 +- sysdeps/ia64/fpu/e_acos.S | 4 +- sysdeps/ia64/fpu/e_acosf.S | 2 +- sysdeps/ia64/fpu/e_asin.S | 4 +- sysdeps/ia64/fpu/e_asinf.S | 4 +- sysdeps/ia64/fpu/e_log.S | 2 +- sysdeps/ia64/fpu/e_logf.S | 4 +- sysdeps/ia64/fpu/e_pow.S | 6 +-- sysdeps/ia64/fpu/e_powf.S | 6 +-- sysdeps/ia64/fpu/libm_lgammaf.S | 2 +- sysdeps/ia64/fpu/libm_lgammal.S | 10 ++-- sysdeps/ia64/fpu/libm_reduce.S | 4 +- sysdeps/ia64/fpu/libm_sincos_large.S | 2 +- sysdeps/ia64/fpu/libm_sincosl.S | 2 +- sysdeps/ia64/fpu/s_cosl.S | 2 +- sysdeps/ia64/fpu/s_erfcl.S | 2 +- sysdeps/ia64/fpu/s_modf.S | 2 +- sysdeps/ia64/fpu/s_modff.S | 2 +- sysdeps/ia64/fpu/s_modfl.S | 2 +- sysdeps/ia64/fpu/s_tanhl.S | 2 +- sysdeps/ia64/fpu/w_tgamma_compat.S | 4 +- sysdeps/ia64/fpu/w_tgammaf_compat.S | 2 +- sysdeps/ia64/memchr.S | 2 +- sysdeps/ia64/strchr.S | 2 +- sysdeps/ieee754/dbl-64/branred.c | 2 +- sysdeps/ieee754/dbl-64/e_lgamma_r.c | 2 +- sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c | 2 +- sysdeps/ieee754/ldbl-96/e_lgammal_r.c | 2 +- sysdeps/loongarch/configure.ac | 2 +- sysdeps/loongarch/fpu/feupdateenv.c | 2 +- sysdeps/m68k/fpu/feupdateenv.c | 2 +- sysdeps/m68k/unwind-arch.h | 2 +- sysdeps/mach/htl/pt-thread-alloc.c | 2 +- sysdeps/mach/hurd/Makefile | 2 +- sysdeps/mach/hurd/bits/posix_opt.h | 4 +- sysdeps/mach/hurd/errno-loc.c | 2 +- .../htl/bits/types/struct___pthread_mutex.h | 2 +- .../mach/hurd/htl/pt-hurd-cond-timedwait.c | 2 +- sysdeps/mach/hurd/i386/localplt.data | 2 +- sysdeps/mach/hurd/ptsname.c | 2 +- sysdeps/mach/hurd/recvfrom.c | 2 +- sysdeps/mach/hurd/setitimer.c | 2 +- sysdeps/mips/atomic-machine.h | 2 +- sysdeps/mips/bits/link.h | 2 +- sysdeps/mips/fpu/feupdateenv.c | 2 +- sysdeps/mips/memcpy.S | 6 +-- sysdeps/mips/memset.S | 2 +- sysdeps/mips/start.S | 2 +- sysdeps/mips/sys/asm.h | 2 +- sysdeps/mips/tst-abi-interlink.c | 2 +- sysdeps/mips/unwind-arch.h | 2 +- sysdeps/nios2/dl-machine.h | 2 +- sysdeps/nios2/start.S | 6 +-- sysdeps/nptl/dl-tls_init_tp.c | 2 +- sysdeps/nptl/pthread.h | 6 +-- sysdeps/or1k/dl-machine.h | 2 +- sysdeps/or1k/nptl/tls.h | 2 +- sysdeps/powerpc/atomic-machine.h | 2 +- sysdeps/powerpc/bits/setjmp.h | 2 +- sysdeps/powerpc/powerpc32/405/memcpy.S | 4 +- sysdeps/powerpc/powerpc32/405/memset.S | 10 ++-- sysdeps/powerpc/powerpc32/476/memset.S | 10 ++-- .../power4/multiarch/strncase-power7.c | 2 +- .../power4/multiarch/strncase_l-power7.c | 2 +- sysdeps/powerpc/powerpc64/configure.ac | 2 +- .../float128-ifunc-redirect-macros.h | 2 +- .../le/fpu/multiarch/float128-ifunc.h | 2 +- .../le/fpu/multiarch/float128_private.h | 2 +- sysdeps/powerpc/powerpc64/power7/memmove.S | 2 +- sysdeps/powerpc/powerpc64/power7/strcmp.S | 2 +- sysdeps/powerpc/powerpc64/power7/strncpy.S | 2 +- sysdeps/powerpc/powerpc64/power7/strrchr.S | 2 +- sysdeps/powerpc/powerpc64/power8/strcasestr.S | 4 +- sysdeps/powerpc/powerpc64/power8/strcmp.S | 2 +- sysdeps/powerpc/powerpc64/power8/strlen.S | 2 +- sysdeps/powerpc/powerpc64/power8/strncmp.S | 2 +- sysdeps/powerpc/powerpc64/power8/strncpy.S | 4 +- sysdeps/powerpc/powerpc64/power8/strnlen.S | 2 +- sysdeps/powerpc/powerpc64/power8/strrchr.S | 2 +- sysdeps/powerpc/powerpc64/setjmp-bug21895.c | 2 +- sysdeps/pthread/cnd_wait.c | 2 +- sysdeps/pthread/posix-timer.h | 2 +- sysdeps/pthread/threads.h | 2 +- sysdeps/pthread/tst-cancel12.c | 2 +- sysdeps/pthread/tst-clock1.c | 2 +- sysdeps/pthread/tst-cond2.c | 2 +- sysdeps/pthread/tst-key2.c | 2 +- sysdeps/pthread/tst-mutex10.c | 2 +- sysdeps/pthread/tst-mutex2.c | 2 +- sysdeps/pthread/tst-rwlock-tryrdlock-stall.c | 8 +-- sysdeps/pthread/tst-rwlock-trywrlock-stall.c | 2 +- sysdeps/pthread/tst-tsd2.c | 2 +- sysdeps/s390/memchr-vx.S | 2 +- sysdeps/s390/memcpy-z900.S | 2 +- sysdeps/s390/memset-z900.S | 2 +- sysdeps/s390/multiarch/8bit-generic.c | 14 +++--- sysdeps/s390/s390-32/setjmp.S | 6 +-- sysdeps/s390/s390-32/start.S | 2 +- sysdeps/s390/s390-64/setjmp.S | 6 +-- sysdeps/s390/s390-64/strncpy-z900.S | 2 +- sysdeps/s390/stpncpy-vx.S | 2 +- sysdeps/s390/strcspn-vx.S | 2 +- sysdeps/s390/strncmp-vx.S | 2 +- sysdeps/s390/strpbrk-vx.S | 2 +- sysdeps/s390/strrchr-vx.S | 6 +-- sysdeps/s390/strspn-vx.S | 2 +- sysdeps/s390/utf16-utf32-z9.c | 4 +- sysdeps/s390/utf8-utf16-z9.c | 4 +- sysdeps/s390/utf8-utf32-z9.c | 4 +- sysdeps/s390/wcpncpy-vx.S | 2 +- sysdeps/s390/wcscmp-vx.S | 2 +- sysdeps/s390/wcscspn-vx.S | 2 +- sysdeps/s390/wcsncmp-vx.S | 4 +- sysdeps/s390/wcspbrk-vx.S | 2 +- sysdeps/s390/wcsrchr-vx.S | 6 +-- sysdeps/s390/wcsspn-vx.S | 2 +- sysdeps/s390/wmemchr-vx.S | 2 +- sysdeps/sh/sh4/fpu/feupdateenv.c | 2 +- sysdeps/sparc/atomic-machine.h | 2 +- sysdeps/sparc/fpu/feupdateenv.c | 2 +- sysdeps/sparc/sparc32/sparcv9/rem.S | 2 +- sysdeps/sparc/sparc32/sparcv9/sdiv.S | 2 +- sysdeps/sparc/sparc32/sparcv9/udiv.S | 2 +- sysdeps/sparc/sparc32/sparcv9/urem.S | 2 +- sysdeps/sparc/sparc64/memmove.S | 2 +- .../sysv/linux/aarch64/ucontext-internal.h | 2 +- sysdeps/unix/sysv/linux/alpha/getcontext.S | 2 +- sysdeps/unix/sysv/linux/alpha/ioperm.c | 2 +- sysdeps/unix/sysv/linux/arc/bits/procfs.h | 2 +- sysdeps/unix/sysv/linux/arc/clone.S | 2 +- sysdeps/unix/sysv/linux/arc/sysdep.h | 4 +- sysdeps/unix/sysv/linux/arch-fork.h | 2 +- sysdeps/unix/sysv/linux/bits/local_lim.h | 2 +- sysdeps/unix/sysv/linux/bits/mman-linux.h | 2 +- sysdeps/unix/sysv/linux/bits/posix_opt.h | 4 +- sysdeps/unix/sysv/linux/bits/siginfo-consts.h | 2 +- sysdeps/unix/sysv/linux/bits/termios-tcflow.h | 2 +- .../unix/sysv/linux/dl-diagnostics-kernel.c | 2 +- sysdeps/unix/sysv/linux/dl-vdso-setup.c | 2 +- sysdeps/unix/sysv/linux/glibcsyscalls.py | 4 +- sysdeps/unix/sysv/linux/hppa/clone.S | 2 +- sysdeps/unix/sysv/linux/hppa/sysdep.h | 6 +-- sysdeps/unix/sysv/linux/i386/brk.c | 2 +- sysdeps/unix/sysv/linux/i386/sysdep.h | 2 +- sysdeps/unix/sysv/linux/ia64/clone2.S | 2 +- sysdeps/unix/sysv/linux/ia64/sys/rse.h | 2 +- sysdeps/unix/sysv/linux/ia64/sysdep.h | 2 +- sysdeps/unix/sysv/linux/kernel-posix-timers.h | 2 +- .../sysv/linux/loongarch/atomic-machine.h | 2 +- sysdeps/unix/sysv/linux/loongarch/sysdep.h | 2 +- sysdeps/unix/sysv/linux/m68k/sysdep.h | 2 +- sysdeps/unix/sysv/linux/microblaze/sysdep.h | 4 +- .../mips/mips32/bug-getcontext-mips-gp.c | 2 +- sysdeps/unix/sysv/linux/mq_notify.c | 6 +-- sysdeps/unix/sysv/linux/net/if_shaper.h | 2 +- sysdeps/unix/sysv/linux/netax25/ax25.h | 4 +- .../unix/sysv/linux/netlink_assert_response.c | 2 +- sysdeps/unix/sysv/linux/nios2/setcontext.S | 2 +- sysdeps/unix/sysv/linux/nscd_setup_thread.c | 2 +- sysdeps/unix/sysv/linux/or1k/setcontext.S | 2 +- sysdeps/unix/sysv/linux/pathconf.c | 8 +-- sysdeps/unix/sysv/linux/personality.c | 2 +- sysdeps/unix/sysv/linux/posix_fadvise.c | 2 +- .../unix/sysv/linux/powerpc/elision-conf.c | 4 +- .../sysv/linux/powerpc/get_timebase_freq.c | 2 +- .../unix/sysv/linux/riscv/atomic-machine.h | 2 +- sysdeps/unix/sysv/linux/riscv/sysdep.h | 2 +- sysdeps/unix/sysv/linux/s390/elision-conf.c | 2 +- sysdeps/unix/sysv/linux/s390/htm.h | 4 +- sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h | 2 +- sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | 2 +- sysdeps/unix/sysv/linux/s390/sysconf.c | 2 +- sysdeps/unix/sysv/linux/scsi/sg.h | 2 +- sysdeps/unix/sysv/linux/semop.c | 2 +- sysdeps/unix/sysv/linux/semtimedop.c | 2 +- sysdeps/unix/sysv/linux/sh/sys/user.h | 2 +- sysdeps/unix/sysv/linux/sh/sysdep.h | 2 +- .../sysv/linux/sparc/sparc32/setcontext.S | 2 +- sysdeps/unix/sysv/linux/sparc/sys/ptrace.h | 2 +- sysdeps/unix/sysv/linux/sparc/sys/ucontext.h | 4 +- sysdeps/unix/sysv/linux/spawni.c | 4 +- sysdeps/unix/sysv/linux/test-errno-linux.c | 2 +- .../unix/sysv/linux/tst-fallocate-common.c | 2 +- sysdeps/unix/sysv/linux/tst-o_path-locks.c | 2 +- sysdeps/unix/sysv/linux/tst-ofdlocks.c | 2 +- .../unix/sysv/linux/tst-process_mrelease.c | 2 +- .../unix/sysv/linux/tst-skeleton-affinity.c | 2 +- .../sysv/linux/tst-socket-timestamp-compat.c | 4 +- .../unix/sysv/linux/tst-socket-timestamp.c | 2 +- sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c | 2 +- sysdeps/unix/sysv/linux/tst-tgkill.c | 4 +- sysdeps/unix/sysv/linux/tst-ttyname.c | 2 +- sysdeps/unix/sysv/linux/x86/elision-conf.c | 2 +- sysdeps/unix/sysv/linux/x86_64/sysdep.h | 2 +- sysdeps/x86/cpu-features.c | 2 +- sysdeps/x86/dl-prop.h | 2 +- sysdeps/x86/hp-timing.h | 2 +- sysdeps/x86_64/dl-trampoline.h | 12 ++--- sysdeps/x86_64/fpu/feupdateenv.c | 2 +- .../fpu/multiarch/svml_d_acos2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_acos4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_acos8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_acosh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_acosh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_acosh8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_asin2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_asin4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_asin8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_asinh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_asinh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_asinh8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_atan22_core_sse4.S | 8 +-- .../fpu/multiarch/svml_d_atan24_core_avx2.S | 8 +-- .../fpu/multiarch/svml_d_atan28_core_avx512.S | 8 +-- .../fpu/multiarch/svml_d_atanh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_atanh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_atanh8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_cbrt2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_cbrt4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_cosh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_cosh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_cosh8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_erfc2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_erfc4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_erfc8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_exp102_core_sse4.S | 4 +- .../fpu/multiarch/svml_d_exp104_core_avx2.S | 4 +- .../fpu/multiarch/svml_d_exp108_core_avx512.S | 4 +- .../fpu/multiarch/svml_d_exp22_core_sse4.S | 4 +- .../fpu/multiarch/svml_d_exp24_core_avx2.S | 4 +- .../fpu/multiarch/svml_d_exp28_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_expm12_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_expm14_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_expm18_core_avx512.S | 4 +- .../fpu/multiarch/svml_d_hypot2_core_sse4.S | 6 +-- .../fpu/multiarch/svml_d_hypot4_core_avx2.S | 6 +-- .../fpu/multiarch/svml_d_hypot8_core_avx512.S | 4 +- .../fpu/multiarch/svml_d_log102_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_log104_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_log108_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_log1p2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_log1p4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_log1p8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_log22_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_log24_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_log28_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_sinh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_sinh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_sinh8_core_avx512.S | 2 +- .../fpu/multiarch/svml_d_tan2_core_sse4.S | 8 +-- .../fpu/multiarch/svml_d_tan4_core_avx2.S | 8 +-- .../fpu/multiarch/svml_d_tan8_core_avx512.S | 8 +-- .../fpu/multiarch/svml_d_tanh2_core_sse4.S | 2 +- .../fpu/multiarch/svml_d_tanh4_core_avx2.S | 2 +- .../fpu/multiarch/svml_d_tanh8_core_avx512.S | 2 +- .../multiarch/svml_s_acosf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_acosf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_acosf8_core_avx2.S | 2 +- .../multiarch/svml_s_acoshf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_acoshf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_acoshf8_core_avx2.S | 2 +- .../multiarch/svml_s_asinf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_asinf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_asinf8_core_avx2.S | 2 +- .../multiarch/svml_s_asinhf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_asinhf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_asinhf8_core_avx2.S | 2 +- .../multiarch/svml_s_atan2f16_core_avx512.S | 8 +-- .../fpu/multiarch/svml_s_atan2f4_core_sse4.S | 8 +-- .../fpu/multiarch/svml_s_atan2f8_core_avx2.S | 8 +-- .../multiarch/svml_s_atanhf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_atanhf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_atanhf8_core_avx2.S | 2 +- .../fpu/multiarch/svml_s_cbrtf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_cbrtf8_core_avx2.S | 2 +- .../multiarch/svml_s_coshf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_coshf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_coshf8_core_avx2.S | 2 +- .../multiarch/svml_s_erfcf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_erfcf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_erfcf8_core_avx2.S | 2 +- .../multiarch/svml_s_exp10f16_core_avx512.S | 4 +- .../fpu/multiarch/svml_s_exp10f4_core_sse4.S | 4 +- .../fpu/multiarch/svml_s_exp10f8_core_avx2.S | 4 +- .../multiarch/svml_s_exp2f16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_exp2f4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_exp2f8_core_avx2.S | 2 +- .../multiarch/svml_s_expm1f16_core_avx512.S | 4 +- .../fpu/multiarch/svml_s_expm1f4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_expm1f8_core_avx2.S | 2 +- .../multiarch/svml_s_hypotf16_core_avx512.S | 4 +- .../fpu/multiarch/svml_s_hypotf4_core_sse4.S | 6 +-- .../fpu/multiarch/svml_s_hypotf8_core_avx2.S | 6 +-- .../multiarch/svml_s_log10f16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_log10f4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_log10f8_core_avx2.S | 2 +- .../multiarch/svml_s_log1pf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_log1pf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_log1pf8_core_avx2.S | 2 +- .../multiarch/svml_s_log2f16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_log2f4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_log2f8_core_avx2.S | 2 +- .../multiarch/svml_s_sinhf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_sinhf4_core_sse4.S | 2 +- .../fpu/multiarch/svml_s_sinhf8_core_avx2.S | 2 +- .../fpu/multiarch/svml_s_tanf16_core_avx512.S | 8 +-- .../fpu/multiarch/svml_s_tanf4_core_sse4.S | 8 +-- .../fpu/multiarch/svml_s_tanf8_core_avx2.S | 8 +-- .../multiarch/svml_s_tanhf16_core_avx512.S | 2 +- .../fpu/multiarch/svml_s_tanhf4_core_sse4.S | 4 +- .../fpu/multiarch/svml_s_tanhf8_core_avx2.S | 2 +- sysdeps/x86_64/multiarch/ifunc-strcasecmp.h | 2 +- sysdeps/x86_64/multiarch/memchr-evex.S | 10 ++-- sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S | 4 +- sysdeps/x86_64/multiarch/memcmp-evex-movbe.S | 8 +-- sysdeps/x86_64/multiarch/memcmp-sse2.S | 4 +- sysdeps/x86_64/multiarch/memcmpeq-avx2.S | 4 +- sysdeps/x86_64/multiarch/memcmpeq-evex.S | 6 +-- sysdeps/x86_64/multiarch/memmove-ssse3.S | 4 +- .../multiarch/memmove-vec-unaligned-erms.S | 8 +-- sysdeps/x86_64/multiarch/memrchr-avx2.S | 4 +- sysdeps/x86_64/multiarch/memrchr-evex.S | 4 +- sysdeps/x86_64/multiarch/memrchr-sse2.S | 2 +- .../multiarch/memset-vec-unaligned-erms.S | 2 +- sysdeps/x86_64/multiarch/rawmemchr-evex.S | 6 +-- sysdeps/x86_64/multiarch/strcat-sse2.S | 2 +- .../x86_64/multiarch/strcat-strlen-avx2.h.S | 2 +- .../x86_64/multiarch/strcat-strlen-evex.h.S | 2 +- sysdeps/x86_64/multiarch/strchr-evex.S | 12 ++--- sysdeps/x86_64/multiarch/strchr-sse2.S | 2 +- sysdeps/x86_64/multiarch/strcmp-avx2.S | 14 +++--- sysdeps/x86_64/multiarch/strcmp-evex.S | 20 ++++---- .../x86_64/multiarch/strcmp-sse2-unaligned.S | 2 +- sysdeps/x86_64/multiarch/strcmp-sse2.S | 8 +-- sysdeps/x86_64/multiarch/strcmp-sse4_2.S | 4 +- sysdeps/x86_64/multiarch/strcpy-sse2.S | 2 +- sysdeps/x86_64/multiarch/strlen-avx2.S | 2 +- sysdeps/x86_64/multiarch/strncat-evex.S | 2 +- sysdeps/x86_64/multiarch/strncpy-avx2.S | 2 +- sysdeps/x86_64/multiarch/strncpy-evex.S | 12 ++--- sysdeps/x86_64/multiarch/strnlen-evex.S | 2 +- sysdeps/x86_64/multiarch/strrchr-avx2.S | 6 +-- sysdeps/x86_64/multiarch/strrchr-evex-base.S | 4 +- sysdeps/x86_64/multiarch/strrchr-evex.S | 14 +++--- sysdeps/x86_64/multiarch/strrchr-sse2.S | 12 ++--- sysdeps/x86_64/multiarch/strstr-avx512.c | 2 +- sysvipc/semop.c | 2 +- sysvipc/semtimedop.c | 2 +- time/asctime.c | 2 +- time/tst-clock.c | 2 +- time/tst-difftime.c | 2 +- time/tst-strptime2.c | 2 +- time/tzfile.c | 2 +- timezone/africa | 2 +- timezone/antarctica | 2 +- timezone/asia | 2 +- timezone/australasia | 6 +-- timezone/europe | 8 +-- timezone/southamerica | 4 +- wcsmbs/tst-btowc.c | 2 +- wcsmbs/tst-mbrtowc.c | 6 +-- 672 files changed, 1027 insertions(+), 1027 deletions(-)