aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/x86
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.bz2
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/cpu-features.c2
-rw-r--r--sysdeps/x86/dl-prop.h2
-rw-r--r--sysdeps/x86/hp-timing.h2
3 files changed, 3 insertions, 3 deletions
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>