]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
misc: Fix typos in comments
authorYury Khrustalev <yury.khrustalev@arm.com>
Mon, 1 Jun 2026 12:29:53 +0000 (13:29 +0100)
committerYury Khrustalev <yury.khrustalev@arm.com>
Mon, 1 Jun 2026 12:29:53 +0000 (13:29 +0100)
elf/Makefile
elf/dl-close.c
elf/dl-deps.c
elf/dl-find_object.c
elf/dl-open.c
elf/dl-tls.c
malloc/tst-malloc-thread-fail.c

index a58a902451cbd41bd266ed4afb1a121987d2931a..bdf9a786d5421edc59699e329046151ef5b2abf6 100644 (file)
@@ -2810,7 +2810,7 @@ $(objpfx)tst-ldconfig-soname.out : tst-ldconfig-soname.sh \
 
 # Test static linking of all the libraries we can possibly link
 # together.  Note that in some configurations this may be less than the
-# complete list of libraries we build but we try to maxmimize this list.
+# complete list of libraries we build but we try to maximize this list.
 $(objpfx)tst-linkall-static: \
   $(common-objpfx)math/libm.a \
   $(common-objpfx)resolv/libresolv.a \
index 92bce07c7a49dad30bc1e28a718578765fdcf17b..8b6e6547916f848b6ad541de0dfbb2e4929d359a 100644 (file)
@@ -485,7 +485,7 @@ _dl_close_worker (struct link_map *map, bool force)
   size_t tls_free_end;
   tls_free_start = tls_free_end = NO_TLS_OFFSET;
 
-  /* Protects global and module specitic TLS state.  */
+  /* Protects global and module specific TLS state.  */
   __rtld_lock_lock_recursive (GL(dl_load_tls_lock));
 
   /* We modify the list of loaded objects.  */
index 446163b55c8abc6079505c5ccf4dd9c689bbb065..7a904e5879d93236c99f0cd3172d7ef7afc4f2e5 100644 (file)
@@ -557,7 +557,7 @@ cannot load auxiliary `%s' because of empty dynamic string token "
       /* Copy the binary into position 0.  */
       l_initfini[0] = map->l_searchlist.r_list[map_index];
 
-      /* Copy the filtees.  */
+      /* Copy the filters.  */
       for (i = 0; i < map_index; ++i)
        l_initfini[i+1] = map->l_searchlist.r_list[i];
 
index 28c04b374eae74dd032cbf4a29e7bb516ff13678..eebd32ee31e46f8602db28b30c79a391a0b11611 100644 (file)
@@ -465,7 +465,7 @@ _dl_find_object (void *pc1, struct dl_find_object *result)
 }
 rtld_hidden_def (_dl_find_object)
 
-/* Subroutine of _dlfo_process_initial to split out noncontigous link
+/* Subroutine of _dlfo_process_initial to split out noncontiguous link
    maps.  NODELETE is the number of used _dlfo_nodelete_mappings
    elements.  It is incremented as needed, and the new NODELETE value
    is returned.  */
@@ -586,7 +586,7 @@ _dl_find_object_init (void)
       {
         /* Non-contiguous main maps are handled in
            _dlfo_process_initial.  Mark as initialized, but not
-           coverying any valid PC.  */
+           covering any valid PC.  */
         _dlfo_main.map_start = -1;
         _dlfo_main.map_end = -1;
       }
index ee25d4d42b4cf18ebf371ea31693e1074ffa4c5c..0a34b1b33424c0df2738dab292507c0cf9421ea4 100644 (file)
@@ -777,7 +777,7 @@ dl_open_worker (void *a)
 
 #ifdef SHARED
        if (was_not_consistent)
-         /* Avoid redudant/recursive signalling.  */
+         /* Avoid redundant/recursive signalling.  */
          _dl_audit_activity_nsid (nsid, LA_ACT_CONSISTENT);
 #endif
       }
index edf31383b22ada95103d4c4be0aeda84a5e5e3ef..1380bd70831c895672851d937d5de934ccec268d 100644 (file)
@@ -339,7 +339,7 @@ _dl_determine_tlsoffset (void)
   /* Extra TLS block for internal usage to append at the end of the TLS blocks
      (in allocation order).  The address at which the block is allocated must
      be aligned to 'extra_tls_align'.  The size of the block as returned by
-     '_dl_extra_tls_get_size ()' is always a multiple of the aligment.
+     '_dl_extra_tls_get_size ()' is always a multiple of the alignment.
 
      On Linux systems this is where the rseq area will be allocated.  On other
      systems it is currently unused and both values will be '0'.  */
@@ -419,7 +419,7 @@ _dl_determine_tlsoffset (void)
   /* Extra TLS block for internal usage to append at the end of the TLS blocks
      (in allocation order).  The address at which the block is allocated must
      be aligned to 'extra_tls_align'.  The size of the block as returned by
-     '_dl_extra_tls_get_size ()' is always a multiple of the aligment.
+     '_dl_extra_tls_get_size ()' is always a multiple of the alignment.
 
      On Linux systems this is where the rseq area will be allocated.  On other
      systems it is currently unused and both values will be '0'.  */
@@ -699,7 +699,7 @@ _dl_allocate_tls_init (void *result, bool main_thread)
             initialization because it would already be set by the
             audit setup, which uses the dlopen code and already
             clears l_need_tls_init.  Calls with !main_thread from
-            pthread_create need to initialze TLS for the current
+            pthread_create need to initialize TLS for the current
             thread regardless of namespace.  */
          if (map->l_ns != LM_ID_BASE && main_thread)
            continue;
index d6319a3b3ca67ed7c33aaa9d2458f7a2687cae04..29af8ca53da560ed525427e7b657d607de32b5df 100644 (file)
@@ -310,7 +310,7 @@ int
 do_test (void)
 {
   /* Limit the number of malloc arenas.  We use a very low number so
-     that despute the address space limit configured below, all
+     that despite the address space limit configured below, all
      requested arenas a can be created.  */
   if (mallopt (M_ARENA_MAX, 2) == 0)
     {