]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
misc: Fix a few typos in comments
authorYury Khrustalev <yury.khrustalev@arm.com>
Fri, 20 Mar 2026 12:34:57 +0000 (12:34 +0000)
committerYury Khrustalev <yury.khrustalev@arm.com>
Fri, 20 Mar 2026 12:34:57 +0000 (12:34 +0000)
elf/rtld.c
malloc/arena.c
sysdeps/aarch64/dl-trampoline.S
sysdeps/aarch64/memchr.S
sysdeps/aarch64/memrchr.S
sysdeps/aarch64/strnlen.S

index e1c2105ba6a7bf96799313710c460926fa7e8ace..0eac823749babded8812afec1cba759de09b7c88 100644 (file)
@@ -2251,7 +2251,7 @@ dl_main (const ElfW(Phdr) *phdr,
 
   int consider_profiling = GLRO(dl_profile) != NULL;
 
-  /* If we are profiling we also must do lazy reloaction.  */
+  /* If we are profiling we also must do lazy relocation.  */
   GLRO(dl_lazy) |= consider_profiling;
 
   /* If libc.so has been loaded, relocate it early, after the dynamic
@@ -2291,7 +2291,7 @@ dl_main (const ElfW(Phdr) *phdr,
        _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0,
                             consider_profiling);
 
-       /* Add object to slot information data if necessasy.  */
+       /* Add object to slot information data if necessary.  */
        if (l->l_tls_blocksize != 0 && __rtld_tls_init_tp_called)
          _dl_add_to_slotinfo (l, true);
       }
index 03a812f54d8a7448aceebe479ade30299bd1c6b9..727d0517c42937ebb534602dad2df7476c78ed06 100644 (file)
@@ -275,7 +275,7 @@ __ptmalloc_init (void)
     __always_fail_morecore = true;
 #endif
 
-  /* Enable THP if DEFAULT_THP_PAGESIZE is non-zero.  Avoid quering the THP
+  /* Enable THP if DEFAULT_THP_PAGESIZE is non-zero.  Avoid querying the THP
      page size or mode since accessing /sys/kernel/mm is relatively slow and
      might not be accessible in containers.  */
   if (DEFAULT_THP_PAGESIZE > 0)
index 957facaa09efb3504af8bad55486b9bbbcc99187..b40d8bb31bc3db0d646ad974c0d0ca2ed591291b 100644 (file)
@@ -25,7 +25,7 @@
 #define ip1 x17
 #define lr  x30
 
-/* RELA relocatons are 3 pointers */
+/* RELA relocations are 3 pointers */
 #define RELA_SIZE 24
 
        .text
index 84de5208c96ab9cce2b94311f76471557cc77d4b..16d65ce7baf45fe347810936a06be01383826228 100644 (file)
@@ -82,7 +82,7 @@ L(start_loop):
        subs    cntrem, cntin, tmp
        b.lo    L(nomatch)
 
-       /* Make sure that it won't overread by a 16-byte chunk */
+       /* Make sure that it won't over-read by a 16-byte chunk */
        tbz     cntrem, 4, L(loop32_2)
        sub     src, src, 16
        .p2align 4
index 0b6df9a954d4d690c269e882032f31d2e50209f8..1344c32487303706ba5b8f54798abb60c77ac8dc 100644 (file)
@@ -79,7 +79,7 @@ L(start_loop):
        subs    cntrem, src, srcin
        b.ls    L(nomatch)
 
-       /* Make sure that it won't overread by a 16-byte chunk */
+       /* Make sure that it won't over-read by a 16-byte chunk */
        sub     cntrem, cntrem, 1
        tbz     cntrem, 4, L(loop32_2)
        add     src, src, 16
index 1dfec3171adfb305bd5438bf661248eaccb0483f..cf7148f5dc1540c114909df1702aee7f94b70ac9 100644 (file)
@@ -76,7 +76,7 @@ L(start_loop):
        subs    cntrem, cntin, tmp
        b.lo    L(nomatch)
 
-       /* Make sure that it won't overread by a 16-byte chunk */
+       /* Make sure that it won't over-read by a 16-byte chunk */
        tbz     cntrem, 4, L(loop32_2)
        sub     src, src, 16
        .p2align 5