aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elf/tst-ldconfig-p.sh2
-rw-r--r--include/clone_internal.h2
-rw-r--r--include/set-freeres.h2
-rw-r--r--malloc/tst-malloc-tcache-leak.c2
-rwxr-xr-xscripts/sort-makefile-lines.py6
-rw-r--r--stdio-common/vfprintf-process-arg.c2
-rw-r--r--stdlib/test-atexit-recursive.c2
-rw-r--r--sysdeps/aarch64/fpu/advsimd_utils.h2
-rw-r--r--sysdeps/alpha/alphaev6/memcpy.S2
-rw-r--r--sysdeps/hppa/nptl/bits/struct_rwlock.h2
-rw-r--r--sysdeps/mach/hurd/x86_64/localplt.data2
-rw-r--r--sysdeps/x86/htl/pt-machdep.h2
12 files changed, 14 insertions, 14 deletions
diff --git a/elf/tst-ldconfig-p.sh b/elf/tst-ldconfig-p.sh
index e966c4d1..981e3a4 100644
--- a/elf/tst-ldconfig-p.sh
+++ b/elf/tst-ldconfig-p.sh
@@ -63,7 +63,7 @@ case $status in
(1)
if head -n 1 "$testout" | \
grep -q ": Cache file has wrong endianness\.$" ; then
- echo "info: cache file has wrong endianess" >> "$testout"
+ echo "info: cache file has wrong endianness" >> "$testout"
else
echo "error: unexpected ldconfig error message" >> "$testout"
errors=1
diff --git a/include/clone_internal.h b/include/clone_internal.h
index dd380f1..ad7b170 100644
--- a/include/clone_internal.h
+++ b/include/clone_internal.h
@@ -5,7 +5,7 @@
/* The clone3 syscall provides a superset of the functionality of the clone
interface. The kernel might extend __CL_ARGS struct in the future, with
- each version with a diffent __SIZE. If the child is created, it will
+ each version with a different __SIZE. If the child is created, it will
start __FUNC function with __ARG arguments.
Different than kernel, the implementation also returns EINVAL for an
diff --git a/include/set-freeres.h b/include/set-freeres.h
index b7f6651..866d0e3 100644
--- a/include/set-freeres.h
+++ b/include/set-freeres.h
@@ -33,7 +33,7 @@
memory leaks.
A single public API exists and is __libc_freeres, and this is used
- by applications like valgrind to freee resouces.
+ by applications like valgrind to free resources.
Each free routines must be explicit listed below. */
diff --git a/malloc/tst-malloc-tcache-leak.c b/malloc/tst-malloc-tcache-leak.c
index a2a624f..27b5ab2 100644
--- a/malloc/tst-malloc-tcache-leak.c
+++ b/malloc/tst-malloc-tcache-leak.c
@@ -42,7 +42,7 @@ worker (void *data)
/* Allocate an arbitrary amount of memory that is known to fit into
the thread local cache (tcache). If we have at least 64 bins
(default e.g. TCACHE_MAX_BINS) we should be able to allocate 32
- bytes and force malloc to fill the tcache. We are assuming tcahce
+ bytes and force malloc to fill the tcache. We are assuming tcache
init happens at the first small alloc, but it might in the future
be deferred to some other point. Therefore to future proof this
test we include a full alloc/free/alloc cycle for the thread. We
diff --git a/scripts/sort-makefile-lines.py b/scripts/sort-makefile-lines.py
index c0badeb..8a1bc3f 100755
--- a/scripts/sort-makefile-lines.py
+++ b/scripts/sort-makefile-lines.py
@@ -38,7 +38,7 @@
# Sorting is only carried out between two special markers:
# (a) Marker start is '<variable> += \' (or '= \', or ':= \')
# (b) Marker end is ' # <variable>' (whitespace matters)
-# With everthing between (a) and (b) being sorted accordingly.
+# With everything between (a) and (b) being sorted accordingly.
#
# You can use it like this:
# $ scripts/sort-makefile-lines.py < elf/Makefile > elf/Makefile.tmp
@@ -80,7 +80,7 @@
# No manually listed test currently uses more than that (though
# automatically generated tests may; they don't need sorting).
# - Avoid including another test and instead refactor into common
-# code with all tests including hte common code, then give the
+# code with all tests including the common code, then give the
# tests unique names.
#
# If you have a Makefile that needs converting, then you can
@@ -143,7 +143,7 @@ def sort_makefile_lines():
reg = r'^ # ' + sm[1] + r'$'
for j in range(sm[0] + 1, len(lines)):
if re.search(reg, lines[j]):
- # Rembember the block to sort (inclusive).
+ # Remember the block to sort (inclusive).
rangemarks.append((sm[0] + 1, j))
break
diff --git a/stdio-common/vfprintf-process-arg.c b/stdio-common/vfprintf-process-arg.c
index 8c0fcbc..f40336f 100644
--- a/stdio-common/vfprintf-process-arg.c
+++ b/stdio-common/vfprintf-process-arg.c
@@ -187,7 +187,7 @@ LABEL (unsigned_number): /* Unsigned number of base BASE. */
&& alt && base == 8);
/* At this point prec_inc is the additional bytes required for the
- specificed precision. It is 0 if the precision would not have
+ specified precision. It is 0 if the precision would not have
required additional bytes i.e. the number of input digits is more
than the precision. It is greater than zero if the precision is
more than the number of digits without grouping (precision only
diff --git a/stdlib/test-atexit-recursive.c b/stdlib/test-atexit-recursive.c
index 0596b97..9dbd5e5 100644
--- a/stdlib/test-atexit-recursive.c
+++ b/stdlib/test-atexit-recursive.c
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-/* Check that atexit handler registed from another handler still called. */
+/* Check that atexit handler registered from another handler still called. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/sysdeps/aarch64/fpu/advsimd_utils.h b/sysdeps/aarch64/fpu/advsimd_utils.h
index 08bfe77..8a0fcc0 100644
--- a/sysdeps/aarch64/fpu/advsimd_utils.h
+++ b/sysdeps/aarch64/fpu/advsimd_utils.h
@@ -1,4 +1,4 @@
-/* Helpers for Advanced SIMD vector math funtions.
+/* Helpers for Advanced SIMD vector math functions.
Copyright (C) 2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/sysdeps/alpha/alphaev6/memcpy.S b/sysdeps/alpha/alphaev6/memcpy.S
index 58c139a..28cd1e6 100644
--- a/sysdeps/alpha/alphaev6/memcpy.S
+++ b/sysdeps/alpha/alphaev6/memcpy.S
@@ -190,7 +190,7 @@ $tail_bytes:
$misaligned:
mov $0, $4 # E : dest temp
and $0, 7, $1 # E : dest alignment mod8
- beq $1, $dest_0mod8 # U : life doesnt totally suck
+ beq $1, $dest_0mod8 # U : life doesn't totally suck
nop
$aligndest:
diff --git a/sysdeps/hppa/nptl/bits/struct_rwlock.h b/sysdeps/hppa/nptl/bits/struct_rwlock.h
index 762b05b..f91460b 100644
--- a/sysdeps/hppa/nptl/bits/struct_rwlock.h
+++ b/sysdeps/hppa/nptl/bits/struct_rwlock.h
@@ -27,7 +27,7 @@ struct __pthread_rwlock_arch_t
next four words are all set to 1 by the Linuxthreads
PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.
- The 16-byte aligned lock stucture is not needed for NPTL.
+ The 16-byte aligned lock structure is not needed for NPTL.
It causes some package builds to fail (e.g., protobuf) and
issues with dynamic memory allocation in C++ versions prior
to C++17. Removing it allows for more efficient allocators
diff --git a/sysdeps/mach/hurd/x86_64/localplt.data b/sysdeps/mach/hurd/x86_64/localplt.data
index ce12ef0..c38821e 100644
--- a/sysdeps/mach/hurd/x86_64/localplt.data
+++ b/sysdeps/mach/hurd/x86_64/localplt.data
@@ -8,7 +8,7 @@ libc.so: free + RELA R_X86_64_GLOB_DAT
libc.so: malloc + RELA R_X86_64_GLOB_DAT
libc.so: realloc + RELA R_X86_64_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/x86/htl/pt-machdep.h b/sysdeps/x86/htl/pt-machdep.h
index d0cc979..d0fd16e 100644
--- a/sysdeps/x86/htl/pt-machdep.h
+++ b/sysdeps/x86/htl/pt-machdep.h
@@ -1,4 +1,4 @@
-/* Machine dependent pthreads internal defenitions. x86 version.
+/* Machine dependent pthreads internal definitions. x86 version.
Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.