mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Fix a few more typos I missed in previous round -- BZ 25337
This commit is contained in:
parent
7f0d9e61f4
commit
2cbeda847b
12 changed files with 14 additions and 14 deletions
|
@ -63,7 +63,7 @@ case $status in
|
||||||
(1)
|
(1)
|
||||||
if head -n 1 "$testout" | \
|
if head -n 1 "$testout" | \
|
||||||
grep -q ": Cache file has wrong endianness\.$" ; then
|
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
|
else
|
||||||
echo "error: unexpected ldconfig error message" >> "$testout"
|
echo "error: unexpected ldconfig error message" >> "$testout"
|
||||||
errors=1
|
errors=1
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
/* The clone3 syscall provides a superset of the functionality of the clone
|
/* The clone3 syscall provides a superset of the functionality of the clone
|
||||||
interface. The kernel might extend __CL_ARGS struct in the future, with
|
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.
|
start __FUNC function with __ARG arguments.
|
||||||
|
|
||||||
Different than kernel, the implementation also returns EINVAL for an
|
Different than kernel, the implementation also returns EINVAL for an
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
memory leaks.
|
memory leaks.
|
||||||
|
|
||||||
A single public API exists and is __libc_freeres, and this is used
|
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. */
|
Each free routines must be explicit listed below. */
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ worker (void *data)
|
||||||
/* Allocate an arbitrary amount of memory that is known to fit into
|
/* Allocate an arbitrary amount of memory that is known to fit into
|
||||||
the thread local cache (tcache). If we have at least 64 bins
|
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
|
(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
|
init happens at the first small alloc, but it might in the future
|
||||||
be deferred to some other point. Therefore to future proof this
|
be deferred to some other point. Therefore to future proof this
|
||||||
test we include a full alloc/free/alloc cycle for the thread. We
|
test we include a full alloc/free/alloc cycle for the thread. We
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
# Sorting is only carried out between two special markers:
|
# Sorting is only carried out between two special markers:
|
||||||
# (a) Marker start is '<variable> += \' (or '= \', or ':= \')
|
# (a) Marker start is '<variable> += \' (or '= \', or ':= \')
|
||||||
# (b) Marker end is ' # <variable>' (whitespace matters)
|
# (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:
|
# You can use it like this:
|
||||||
# $ scripts/sort-makefile-lines.py < elf/Makefile > elf/Makefile.tmp
|
# $ scripts/sort-makefile-lines.py < elf/Makefile > elf/Makefile.tmp
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
# No manually listed test currently uses more than that (though
|
# No manually listed test currently uses more than that (though
|
||||||
# automatically generated tests may; they don't need sorting).
|
# automatically generated tests may; they don't need sorting).
|
||||||
# - Avoid including another test and instead refactor into common
|
# - 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.
|
# tests unique names.
|
||||||
#
|
#
|
||||||
# If you have a Makefile that needs converting, then you can
|
# If you have a Makefile that needs converting, then you can
|
||||||
|
@ -143,7 +143,7 @@ def sort_makefile_lines():
|
||||||
reg = r'^ # ' + sm[1] + r'$'
|
reg = r'^ # ' + sm[1] + r'$'
|
||||||
for j in range(sm[0] + 1, len(lines)):
|
for j in range(sm[0] + 1, len(lines)):
|
||||||
if re.search(reg, lines[j]):
|
if re.search(reg, lines[j]):
|
||||||
# Rembember the block to sort (inclusive).
|
# Remember the block to sort (inclusive).
|
||||||
rangemarks.append((sm[0] + 1, j))
|
rangemarks.append((sm[0] + 1, j))
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ LABEL (unsigned_number): /* Unsigned number of base BASE. */
|
||||||
&& alt && base == 8);
|
&& alt && base == 8);
|
||||||
|
|
||||||
/* At this point prec_inc is the additional bytes required for the
|
/* 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
|
required additional bytes i.e. the number of input digits is more
|
||||||
than the precision. It is greater than zero if the precision is
|
than the precision. It is greater than zero if the precision is
|
||||||
more than the number of digits without grouping (precision only
|
more than the number of digits without grouping (precision only
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<https://www.gnu.org/licenses/>. */
|
<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 <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.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.
|
Copyright (C) 2023 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
|
@ -190,7 +190,7 @@ $tail_bytes:
|
||||||
$misaligned:
|
$misaligned:
|
||||||
mov $0, $4 # E : dest temp
|
mov $0, $4 # E : dest temp
|
||||||
and $0, 7, $1 # E : dest alignment mod8
|
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
|
nop
|
||||||
|
|
||||||
$aligndest:
|
$aligndest:
|
||||||
|
|
|
@ -27,7 +27,7 @@ struct __pthread_rwlock_arch_t
|
||||||
next four words are all set to 1 by the Linuxthreads
|
next four words are all set to 1 by the Linuxthreads
|
||||||
PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.
|
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
|
It causes some package builds to fail (e.g., protobuf) and
|
||||||
issues with dynamic memory allocation in C++ versions prior
|
issues with dynamic memory allocation in C++ versions prior
|
||||||
to C++17. Removing it allows for more efficient allocators
|
to C++17. Removing it allows for more efficient allocators
|
||||||
|
|
|
@ -8,7 +8,7 @@ libc.so: free + RELA R_X86_64_GLOB_DAT
|
||||||
libc.so: malloc + RELA R_X86_64_GLOB_DAT
|
libc.so: malloc + RELA R_X86_64_GLOB_DAT
|
||||||
libc.so: realloc + 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
|
# 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: __open ?
|
||||||
ld.so: __open64 ?
|
ld.so: __open64 ?
|
||||||
ld.so: __open_nocancel
|
ld.so: __open_nocancel
|
||||||
|
|
|
@ -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.
|
Copyright (C) 2000-2023 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue