From 65cc53fe7c6556b90159b8c3da1eb283792387db Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 30 May 2023 23:02:29 +0000 Subject: Fix misspellings in sysdeps/ -- BZ 25337 --- sysdeps/x86/cpu-features.c | 2 +- sysdeps/x86/dl-prop.h | 2 +- sysdeps/x86/hp-timing.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/x86') 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 -- cgit 1.4.1