[PATCH] misc: fix some typos
Yury Khrustalev
yury.khrustalev@arm.com
Tue Dec 2 10:10:27 GMT 2025
---
config.h.in | 2 +-
elf/elf.h | 2 +-
include/link.h | 2 +-
manual/dynlink.texi | 6 +++---
sysdeps/unix/sysv/linux/Makefile | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/config.h.in b/config.h.in
index 6fa3b4e2cd..27e140dd5e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -323,7 +323,7 @@
/* Define if compiler allows add attribute after function declaration. */
#undef ATTR_AFTER_FUNC_DECL
-/* Define if compiler suport __attribute__ ((mode (__libgcc_cmp_return__))). */
+/* Define if compiler support __attribute__ ((mode (__libgcc_cmp_return__))). */
#undef HAVE_X86_LIBGCC_CMP_RETURN_ATTR
#endif
diff --git a/elf/elf.h b/elf/elf.h
index 2f29a47c0b..fb0bd952c7 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -924,7 +924,7 @@ typedef struct
#define DT_SYMTAB_SHNDX 34 /* Address of SYMTAB_SHNDX section */
#define DT_RELRSZ 35 /* Total size of RELR relative relocations */
#define DT_RELR 36 /* Address of RELR relative relocations */
-#define DT_RELRENT 37 /* Size of one RELR relative relocaction */
+#define DT_RELRENT 37 /* Size of one RELR relative relocation */
#define DT_NUM 38 /* Number used */
#define DT_LOOS 0x6000000d /* Start of OS-specific */
#define DT_HIOS 0x6ffff000 /* End of OS-specific */
diff --git a/include/link.h b/include/link.h
index 41e5e54a7b..78fa288b9d 100644
--- a/include/link.h
+++ b/include/link.h
@@ -200,7 +200,7 @@ struct link_map
unsigned int l_auditing:1; /* Nonzero if the DSO is used in auditing. */
unsigned int l_audit_any_plt:1; /* Nonzero if at least one audit module
is interested in the PLT interception.*/
- unsigned int l_removed:1; /* Nozero if the object cannot be used anymore
+ unsigned int l_removed:1; /* Non-zero if the object cannot be used anymore
since it is removed. */
unsigned int l_contiguous:1; /* Nonzero if inter-segment holes are
mprotected or if no holes are present at
diff --git a/manual/dynlink.texi b/manual/dynlink.texi
index 1e99a5aab3..a78a065af4 100644
--- a/manual/dynlink.texi
+++ b/manual/dynlink.texi
@@ -272,7 +272,7 @@ These are additional items for the i386 and x86-64 architectures, as
described below. They mostly contain raw data from the CPUID
instruction. The probes are performed for each active CPU for the
@code{ld.so} process, and data for different probed CPUs receives a
-uniqe @var{index} value. Some CPUID data is expected to differ from CPU
+unique @var{index} value. Some CPUID data is expected to differ from CPU
core to CPU core. In some cases, CPUs are not correctly initialized and
indicate the presence of different feature sets.
@@ -337,7 +337,7 @@ and @var{ecx_limit} (inclusive).
@item x86.processor[@var{index}].cpuid.subleaf_eax[@var{query_eax}].ecx[@var{query_ecx}].ecx_query_mask=0xff
This line indicates that in an @samp{.until_ecx} range, the CPUID
-instruction preserved the lowested 8 bits of the input @code{%rcx} in
+instruction preserved the lowest 8 bits of the input @code{%rcx} in
the output @code{%rcx} registers. Otherwise, the subleaves in the range
have identical values. This special treatment is necessary to report
compact range information in case such copying occurs (because the
@@ -1216,7 +1216,7 @@ If the dynamic segment contains a (deprecated) @code{HASH} tag, it
must also contain a @code{GNU_HASH} tag.
@item
-The @code{INITFIRST} flag (undeer @code{FLAGS_1}) should not be used.
+The @code{INITFIRST} flag (under @code{FLAGS_1}) should not be used.
@item
The program header must not have @code{LOAD} segments that are writable
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 199031da64..f6b59d80dc 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -313,7 +313,7 @@ $(objpfx)bits/syscall.h: \
before-compile += $(objpfx)bits/syscall.h
# All macros defined by <sys/syscall.h>. Include <bits/syscall.h>
-# explicitly because <sys/sycall.h> skips it if _LIBC is defined.
+# explicitly because <sys/syscall.h> skips it if _LIBC is defined.
$(objpfx)tst-syscall-list-macros.list: \
$(objpfx)bits/syscall.h ../sysdeps/unix/sysv/linux/sys/syscall.h
printf '#include <linux/version.h>\n\
--
2.47.3
More information about the Libc-alpha
mailing list