]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix misspellings in elf/ -- BZ 25337
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Sat, 27 May 2023 20:47:46 +0000 (20:47 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Mon, 29 May 2023 23:00:12 +0000 (23:00 +0000)
Applying this commit results in bit-identical libc.so.6.
The elf/ld-linux-x86-64.so.2 does change, but only in .note.gnu.build-id

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
31 files changed:
elf/Makefile
elf/cache.c
elf/dl-cache.c
elf/dl-catch.c
elf/dl-dst.h
elf/dl-find_object.c
elf/dl-fptr.c
elf/dl-load.c
elf/dl-minimal.c
elf/dl-profile.c
elf/dl-support.c
elf/dl-tls.c
elf/dl-version.c
elf/dynamic-link.h
elf/elf.h
elf/ldconfig.c
elf/reldep.c
elf/reldep2.c
elf/reldep3.c
elf/reldep5.c
elf/rtld.c
elf/sprof.c
elf/tst-leaks1.c
elf/tst-nodelete-dlclose-dso.c
elf/tst-nodelete-dlclose-plugin.c
elf/tst-pldd.c
elf/tst-protected1a.c
elf/tst-protected1b.c
elf/tst-tls-manydynamic.c
elf/tst-tls20.c
elf/vismain.c

index 7430453a6b64dd680a2c4a83cf4529416c7465ce..264737110ba44c12c1a5161ed81a9ca0fba30b3c 100644 (file)
@@ -2723,7 +2723,7 @@ $(objpfx)tst-tls-manydynamic0mod-dep.so: $(objpfx)tst-tls-manydynamic1mod-dep.so
 # Double dependencies.
 $(objpfx)tst-tls-manydynamic2mod-dep.so: $(objpfx)tst-tls-manydynamic3mod-dep.so \
                                         $(objpfx)tst-tls-manydynamic4mod-dep.so
-# Double dependencies with each dependency depent of another module.
+# Double dependencies with each dependency dependent of another module.
 $(objpfx)tst-tls-manydynamic5mod-dep.so: $(objpfx)tst-tls-manydynamic6mod-dep.so \
                                         $(objpfx)tst-tls-manydynamic7mod-dep.so
 $(objpfx)tst-tls-manydynamic6mod-dep.so: $(objpfx)tst-tls-manydynamic8mod-dep.so
@@ -2733,7 +2733,7 @@ $(objpfx)tst-tls-manydynamic9mod-dep.so: $(objpfx)tst-tls-manydynamic10mod-dep.s
                                         $(objpfx)tst-tls-manydynamic11mod-dep.so
 $(objpfx)tst-tls-manydynamic10mod-dep.so: $(objpfx)tst-tls-manydynamic12mod-dep.so
 $(objpfx)tst-tls-manydynamic12mod-dep.so: $(objpfx)tst-tls-manydynamic13mod-dep.so
-# Long chain with two double depedencies in the middle
+# Long chain with two double dependencies in the middle
 $(objpfx)tst-tls-manydynamic14mod-dep.so: $(objpfx)tst-tls-manydynamic15mod-dep.so
 $(objpfx)tst-tls-manydynamic15mod-dep.so: $(objpfx)tst-tls-manydynamic16mod-dep.so \
                                          $(objpfx)tst-tls-manydynamic17mod-dep.so
@@ -2747,7 +2747,7 @@ LDFLAGS-tst-tls-manydynamic0mod-dep-bad.so = -Wl,--no-as-needed
 $(objpfx)tst-tls-manydynamic1mod-dep-bad.so: $(objpfx)tst-tls-manydynamic2mod-dep-bad.so \
                                             $(objpfx)tst-tls20mod-bad.so
 LDFLAGS-tst-tls-manydynamic1mod-dep-bad.so = -Wl,--no-as-needed
-# Double dependencies with each dependency depent of another module.
+# Double dependencies with each dependency dependent of another module.
 $(objpfx)tst-tls-manydynamic3mod-dep-bad.so: $(objpfx)tst-tls-manydynamic4mod-dep-bad.so \
                                             $(objpfx)tst-tls-manydynamic5mod-dep-bad.so
 LDFLAGS-tst-tls-manydynamic3mod-dep-bad.so = -Wl,--no-as-needed
@@ -2763,7 +2763,7 @@ $(objpfx)tst-tls-manydynamic7mod-dep-bad.so: $(objpfx)tst-tls-manydynamic9mod-de
 LDFLAGS-tst-tls-manydynamic7mod-dep-bad.so = -Wl,--no-as-needed
 $(objpfx)tst-tls-manydynamic9mod-dep-bad.so: $(objpfx)tst-tls20mod-bad.so
 LDFLAGS-tst-tls-manydynamic9mod-dep-bad.so = -Wl,--no-as-needed
-# Long chain with two double depedencies in the middle
+# Long chain with two double dependencies in the middle
 $(objpfx)tst-tls-manydynamic10mod-dep-bad.so: $(objpfx)tst-tls-manydynamic11mod-dep-bad.so
 LDFLAGS-tst-tls-manydynamic10mod-dep-bad.so = -Wl,--no-as-needed
 $(objpfx)tst-tls-manydynamic11mod-dep-bad.so: $(objpfx)tst-tls-manydynamic12mod-dep-bad.so \
index 83e6b713499bc170c3fbd3faeab30ad4f8798bb2..8149f889bab9f9cb32a50e349991ba821e4db0dd 100644 (file)
@@ -66,7 +66,7 @@ glibc_hwcaps_subdirectory_name (const struct glibc_hwcaps_subdirectory *dir)
   return dir->name->string;
 }
 
-/* Linked list of known hwcaps subdirecty names.  */
+/* Linked list of known hwcaps subdirectory names.  */
 static struct glibc_hwcaps_subdirectory *hwcaps;
 
 struct glibc_hwcaps_subdirectory *
index 631286832d6c88ae2355cdd9b50bd4e4fd9a542e..804bf2322246bbc0fa6a8a4aa12097c74329290f 100644 (file)
@@ -457,7 +457,7 @@ _dl_load_cache_lookup (const char *name)
                  /* The old-format part of the cache is bogus as well
                     if the endianness does not match.  (But it is
                     unclear how the new header can be located if the
-                    endianess does not match.)  */
+                    endianness does not match.)  */
                  cache = (void *) -1;
                  cache_new = (void *) -1;
                  __munmap (file, cachesize);
index a47ed4892d0214afc847faf2f33a95dec1186077..0aa04ce59451239c131e7ddc5f23b93638584bca 100644 (file)
@@ -109,7 +109,7 @@ _dl_signal_exception (int errcode, struct dl_exception *exception,
 rtld_hidden_def (_dl_signal_exception)
 
 void
-_dl_signal_error (int errcode, const char *objname, const char *occation,
+_dl_signal_error (int errcode, const char *objname, const char *occasion,
                  const char *errstring)
 {
   struct rtld_catch *lcatch = get_catch ();
@@ -126,7 +126,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation,
       __longjmp (lcatch->env[0].__jmpbuf, 1);
     }
   else
-    fatal_error (errcode, objname, occation, errstring);
+    fatal_error (errcode, objname, occasion, errstring);
 }
 rtld_hidden_def (_dl_signal_error)
 
@@ -162,12 +162,12 @@ _dl_signal_cexception (int errcode, struct dl_exception *exception,
 }
 
 void
-_dl_signal_cerror (int errcode, const char *objname, const char *occation,
+_dl_signal_cerror (int errcode, const char *objname, const char *occasion,
                   const char *errstring)
 {
   if (__builtin_expect (GLRO(dl_debug_mask)
                        & ~(DL_DEBUG_STATISTICS), 0))
-    _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occation,
+    _dl_debug_printf ("%s: error: %s: %s (%s)\n", objname, occasion,
                      errstring, receiver ? "continued" : "fatal");
 
   if (receiver)
@@ -178,7 +178,7 @@ _dl_signal_cerror (int errcode, const char *objname, const char *occation,
       (*receiver) (errcode, objname, errstring);
     }
   else
-    _dl_signal_error (errcode, objname, occation, errstring);
+    _dl_signal_error (errcode, objname, occasion, errstring);
 }
 
 void
index b40d5b0f55042bf5c9abeb71915558ef4e6d33cf..6940f140ec623633c40a4440a559abc27d1555c2 100644 (file)
@@ -1,4 +1,4 @@
-/* Handling of dynamic sring tokens.
+/* Handling of dynamic string tokens.
    Copyright (C) 1999-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 2ced2f351028edb9e0cc355cd096610c167a70aa..928eb499ccf1e63d6aa38e36f278a71724c35716 100644 (file)
@@ -312,7 +312,7 @@ _dlfo_mappings_active_segment (uint64_t start_version)
   return _dlfo_loaded_mappings[start_version & 1];
 }
 
-/* Searches PC amoung the address-sorted array [FIRST1, FIRST1 +
+/* Searches PC among the address-sorted array [FIRST1, FIRST1 +
    SIZE).  Assumes PC >= FIRST1->map_start.  Returns a pointer to the
    element that contains PC, or NULL if there is no such element.  */
 static inline struct dl_find_object_internal *
index 35b5b96cf97d5342f74031d6cba8094005053fb2..536ad170891d21a9e92e476267e7c8ac0b85281f 100644 (file)
@@ -230,7 +230,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
       if (__builtin_expect (COMPARE_AND_SWAP (&ftab[symidx], (ElfW(Addr)) NULL,
                                              fdesc), 1))
        {
-         /* Noone has updated the entry and the new function
+         /* No one has updated the entry and the new function
             descriptor has been installed.  */
 #if 0
          const char *strtab
index 6a0d85eaf8dfdd1195b23667d9e555ce77fa1a73..9a87fda9c921548c31153c9437ea30f33925089f 100644 (file)
@@ -44,7 +44,7 @@
    long respectively.  I.e., even with a file which has 10 program
    header entries we only have to read 372B/624B respectively.  Add to
    this a bit of margin for program notes and reading 512B and 832B
-   for 32-bit and 64-bit files respecitvely is enough.  If this
+   for 32-bit and 64-bit files respectively is enough.  If this
    heuristic should really fail for some file the code in
    `_dl_map_object_from_fd' knows how to recover.  */
 struct filebuf
@@ -270,7 +270,7 @@ _dl_dst_count (const char *input)
    least equal to the value returned by DL_DST_REQUIRED.  Note that it
    is possible for a DT_NEEDED, DT_AUXILIARY, and DT_FILTER entries to
    have colons, but we treat those as literal colons here, not as path
-   list delimeters.  */
+   list delimiters.  */
 char *
 _dl_dst_substitute (struct link_map *l, const char *input, char *result)
 {
index abda453c9204b3365b60300051662bfdcc6d4cde..578bf84c208cade256671bce45ca6b13c95c41ce 100644 (file)
@@ -77,7 +77,7 @@ __rtld_malloc_init_real (struct link_map *main_map)
   /* We cannot use relocations and initializers for this because the
      changes made by __rtld_malloc_init_stubs break REL-style
      (non-RELA) relocations that depend on the previous pointer
-     contents.  Also avoid direct relocation depedencies for the
+     contents.  Also avoid direct relocation dependencies for the
      malloc symbols so this function can be called before the final
      rtld relocation (which enables RELRO, after which the pointer
      variables cannot be written to).  */
index d8345da22e503a6b8dacd5da9ada11e137366a06..8be0065fbdec1b233a2563c5a381a077e62ee4dc 100644 (file)
@@ -38,7 +38,7 @@
 
 /* The LD_PROFILE feature has to be implemented different to the
    normal profiling using the gmon/ functions.  The problem is that an
-   arbitrary amount of processes simulataneously can be run using
+   arbitrary amount of processes simultaneously can be run using
    profiling and all write the results in the same file.  To provide
    this mechanism one could implement a complicated mechanism to merge
    the content of two profiling runs or one could extend the file
@@ -177,7 +177,7 @@ static unsigned int log_hashfraction;
 
 
 \f
-/* Set up profiling data to profile object desribed by MAP.  The output
+/* Set up profiling data to profile object described by MAP.  The output
    file is found (or created) in OUTPUT_DIR.  */
 void
 _dl_start_profile (void)
@@ -218,7 +218,7 @@ _dl_start_profile (void)
       }
 
   /* Now we can compute the size of the profiling data.  This is done
-     with the same formulars as in `monstartup' (see gmon.c).  */
+     with the same formulas as in `monstartup' (see gmon.c).  */
   running = 0;
   lowpc = ROUNDDOWN (mapstart + GL(dl_profile_map)->l_addr,
                     HISTFRACTION * sizeof (HISTCOUNTER));
index 322599916f84381f8f3c5ff2631a91ac0be19015..44a54dea0743c633e2d844841c632ac252c46aea 100644 (file)
@@ -206,7 +206,7 @@ struct link_map *_dl_sysinfo_map;
 #include <dl-vdso-setup.c>
 
 /* During the program run we must not modify the global data of
-   loaded shared object simultanously in two threads.  Therefore we
+   loaded shared object simultaneously in two threads.  Therefore we
    protect `_dl_open' and `_dl_close' in dl-close.c.
 
    This must be a recursive lock since the initializer function of
index 4ef7bc3f1e28625d419c6a6b8a4a75a8eae4c6df..99b83ca6962cf8464c57195ee5ef7fd6723ebc21 100644 (file)
@@ -233,7 +233,7 @@ _dl_determine_tlsoffset (void)
      and an alignment requirement.  The GNU ld computes the alignment
      requirements for the data at the positions *in the file*, though.
      I.e, it is not simply possible to allocate a block with the size
-     of the TLS program header entry.  The data is layed out assuming
+     of the TLS program header entry.  The data is laid out assuming
      that the first byte of the TLS block fulfills
 
        p_vaddr mod p_align == &TLS_BLOCK mod p_align
index 3dbc6aa7984b0b1ebad42771a27335039e805460..5b8693de04a4833923c89686f71b508038b1ed5b 100644 (file)
@@ -160,7 +160,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode)
   /* Pointer to dynamic section with definitions.  */
   ElfW(Dyn) *def;
   /* We need to find out which is the highest version index used
-    in a dependecy.  */
+    in a dependency.  */
   unsigned int ndx_high = 0;
   struct dl_exception exception;
   /* Initialize to make the compiler happy.  */
index ccb78525edbe890dabf6d18effc830a9dc0f411f..e7f755fc752c0ee7ae0275dc1ab26108cedf2917 100644 (file)
@@ -73,7 +73,7 @@ elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[],
 /* On some machines, notably SPARC, DT_REL* includes DT_JMPREL in its
    range.  Note that according to the ELF spec, this is completely legal!
 
-   We are guarenteed that we have one of three situations.  Either DT_JMPREL
+   We are guaranteed that we have one of three situations.  Either DT_JMPREL
    comes immediately after DT_REL*, or there is overlap and DT_JMPREL
    consumes precisely the very end of the DT_REL*, or DT_JMPREL and DT_REL*
    are completely separate and there is a gap between them.  */
index c0803a610e98d9f37e65420c4add1a2948807476..ac7032b7a5e3d737e5c9e304d1b1c901542fea86 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -210,7 +210,7 @@ typedef struct
 #define EM_68HC12      53      /* Motorola M68HC12 */
 #define EM_MMA         54      /* Fujitsu MMA Multimedia Accelerator */
 #define EM_PCP         55      /* Siemens PCP */
-#define EM_NCPU                56      /* Sony nCPU embeeded RISC */
+#define EM_NCPU                56      /* Sony nCPU embedded RISC */
 #define EM_NDR1                57      /* Denso NDR1 microprocessor */
 #define EM_STARCORE    58      /* Motorola Start*Core processor */
 #define EM_ME16                59      /* Toyota ME16 processor */
@@ -559,7 +559,7 @@ typedef struct
 
 /* Possible bitmasks for si_flags.  */
 #define SYMINFO_FLG_DIRECT     0x0001  /* Direct bound symbol */
-#define SYMINFO_FLG_PASSTHRU   0x0002  /* Pass-thru symbol for translator */
+#define SYMINFO_FLG_PASSTHRU   0x0002  /* Pass-through symbol for translator */
 #define SYMINFO_FLG_COPY       0x0004  /* Symbol is a copy-reloc */
 #define SYMINFO_FLG_LAZYLOAD   0x0008  /* Symbol bound to object to be lazy
                                           loaded */
index 2fc45ad8255bf5bcaec6eba2238e9c5c9a20d9ee..349b735670d191c16e22d9a29fc7befc27c4f4fc 100644 (file)
@@ -631,7 +631,7 @@ out:
    - search for libraries which will be added to the cache
    - create symbolic links to the soname for each library
 
-   This has to be done separatly for each directory.
+   This has to be done separately for each directory.
 
    To keep track of which libraries to add to the cache and which
    links to create, we save a list of all libraries.
@@ -875,7 +875,7 @@ search_dir (const struct dir_entry *entry)
             or downgrade. The problems will arise because ldconfig will,
             depending on directory ordering, creat symlinks against libfoo.so
             e.g. libfoo.so.1.2 -> libfoo.so, but when libfoo.so is removed
-            (typically by the removal of a development pacakge not required
+            (typically by the removal of a development package not required
             for the runtime) it will break the libfoo.so.1.2 symlink and the
             application will fail to start.  */
          const char *real_base_name = basename (real_file_name);
index adabc0d5d5f44faf4ede73b3ab23f88de90f09b2..f4e2eedf19d98e0312b3190e65632bf32fb26c7b 100644 (file)
@@ -93,7 +93,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 0)
     {
       puts ("variable \"some_var\" not reset");
index ba5ab222f9af0102248bf67056a371b8c25426fa..f5416debb0e5e2679545725bfe3d3df66c5a90e4 100644 (file)
@@ -78,7 +78,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 42)
     {
       puts ("variable \"some_var\" reset");
index 05013d3509bc3eb2a0591ed39846d393f3d3253d..ea6a10bd0d528cbebc8b65a532310d42794856fb 100644 (file)
@@ -78,7 +78,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 0)
     {
       puts ("variable \"some_var\" not reset");
index 881d519ff6a7d7f70cb499af4b8718bcff868bc4..236f9f85e2a601852228d5da8eb35da58d2947d4 100644 (file)
@@ -57,7 +57,7 @@ main (void)
       puts ("function \"call_me\" the second time returned wrong result");
       exit (1);
     }
-  puts ("second call suceeded as well");
+  puts ("second call succeeded as well");
 
   /* Close the second object, we are done.  */
   if (dlclose (h2) != 0)
index c1e383b0555f336b53c8b56412d4ac4146da8537..8e1f5966c6a28dd92341869bddab99ccdbf3d40a 100644 (file)
@@ -454,7 +454,7 @@ _dl_start_final (void *arg, struct dl_start_final_info *info)
   ElfW(Addr) start_addr;
 
   /* Do not use an initializer for these members because it would
-     intefere with __rtld_static_init.  */
+     interfere with __rtld_static_init.  */
   GLRO (dl_find_object) = &_dl_find_object;
 
   /* If it hasn't happen yet record the startup time.  */
@@ -1067,7 +1067,7 @@ load_audit_modules (struct link_map *main_map, struct audit_list *audit_list)
     }
 }
 
-/* Check if the executable is not actualy dynamically linked, and
+/* Check if the executable is not actually dynamically linked, and
    invoke it directly in that case.  */
 static void
 rtld_chain_load (struct link_map *main_map, char *argv0)
@@ -1167,7 +1167,7 @@ rtld_setup_main_map (struct link_map *main_map)
        /* _dl_rtld_libname.next = NULL;        Already zero.  */
        GL(dl_rtld_map).l_libname = &_dl_rtld_libname;
 
-       /* Ordinarilly, we would get additional names for the loader from
+       /* Ordinarily, we would get additional names for the loader from
           our DT_SONAME.  This can't happen if we were actually linked as
           a static executable (detect this case when we have no DYNAMIC).
           If so, assume the filename component of the interpreter path to
index dfca16b7a6104f77a18d55784e68e4f45d1ff54e..3eaa4758d66c1293be1244a6b0cea313ad8e8146 100644 (file)
@@ -119,7 +119,7 @@ static enum
 /* Nozero for testing.  */
 static int do_test;
 
-/* Strcuture describing calls.  */
+/* Structure describing calls.  */
 struct here_fromstruct
 {
   struct here_cg_arc_record volatile *here;
@@ -413,7 +413,7 @@ load_shobj (const char *name)
 
   /* Since we use dlopen() we must be prepared to work around the sometimes
      strange lookup rules for the shared objects.  If we have a file foo.so
-     in the current directory and the user specfies foo.so on the command
+     in the current directory and the user specifies foo.so on the command
      line (without specifying a directory) we should load the file in the
      current directory even if a normal dlopen() call would read the other
      file.  We do this by adding a directory portion to the name.  */
@@ -809,7 +809,7 @@ load_profdata (const char *name, struct shobj *shobj)
       return NULL;
     }
 
-  /* We don't need the file desriptor anymore.  */
+  /* We don't need the file descriptor anymore.  */
   if (close (fd) < 0)
     {
       error (0, errno, _("error while closing the profiling data file"));
index 75bc92d25f99300b62363adfdb2db468276b84bd..e9038fc932e018296d01c447568246d21f42e3c0 100644 (file)
@@ -9,7 +9,7 @@ do_test (void)
   void *h;
   int ret = 0;
   /* Carry out *one* failing call to dlopen before starting mtrace to
-     force any one-time inintialization that may happen to the
+     force any one-time initialization that may happen to the
      executable link map e.g. expansion and caching of $ORIGIN.  */
   h = dlopen ("$ORIGIN/tst-leaks1.o", RTLD_LAZY);
   if (h != NULL)
index 6869fc999577dfd728e38aee7484fecfcf71ad6c..e502c87526da17ca9b82b6310118209f99007203 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* This is the primary DSO that is loaded by the appliation.  This DSO
+/* This is the primary DSO that is loaded by the application.  This DSO
    then loads a plugin with RTLD_NODELETE.  This plugin depends on this
    DSO.  This dependency chain means that at application shutdown the
    plugin will be destructed first.  Thus by the time this DSO is
index 096eb5e6dd93d319a7542b5ff7d17f01aa548742..d693aaf5ddfce372c194b1b18b56730644c9eb1c 100644 (file)
@@ -17,7 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 /* This DSO simulates a plugin with a dependency on the
-   primary DSO loaded by the appliation.  */
+   primary DSO loaded by the application.  */
 #include <stdio.h>
 
 extern void primary_reference (void);
index 82b7e47ef1835c9432dd9c81e45232c7618a00eb..a6ecaabf578b4bdd4110d7f94181531f0a642f40 100644 (file)
@@ -71,7 +71,7 @@ pldd_process (void *arg)
 }
 
 /* The test runs in a container because pldd does not support tracing
-   a binary started by the loader iself (as with testrun.sh).  */
+   a binary started by the loader itself (as with testrun.sh).  */
 
 static bool
 in_str_list (const char *libname, const char *const strlist[])
index 715c842029a54af042c10197aa20d81279fd2e11..f10ab265f42288be1daed31e1354c459de20cfa4 100644 (file)
@@ -25,7 +25,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 /* This file must be compiled as PIE to avoid copy relocation when
-   accessing protected symbols defined in shared libaries since copy
+   accessing protected symbols defined in shared libraries since copy
    relocation doesn't work with protected symbols and linker in
    binutils 2.26 enforces this rule.  */
 
index 2312a0f1294bf32f17002b583179f2fcf2cdc0e2..8550b9509c67377d1cc1a61b2cb75d2abc4c1566 100644 (file)
@@ -25,7 +25,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 /* This file must be compiled as PIE to avoid copy relocation when
-   accessing protected symbols defined in shared libaries since copy
+   accessing protected symbols defined in shared libraries since copy
    relocation doesn't work with protected symbols and linker in
    binutils 2.26 enforces this rule.  */
 
index 5f5afc85ddc150bd3c6b2269c3be941ee7cb638a..80a5f93aee6bd86fccf46238cf03b73475deffbd 100644 (file)
@@ -117,7 +117,7 @@ do_test (void)
   init_functions ();
 
   struct value values[COUNT];
-  /* Initialze the TLS variables.  */
+  /* Initialize the TLS variables.  */
   for (int i = 0; i < COUNT; ++i)
     {
       for (int j = 0; j < PER_VALUE_COUNT; ++j)
index 86e68c5eb1003d46a389134995a242709eaca44c..907dfe2ca2b3c235f5c47b2f667d14ebaffe4bd3 100644 (file)
@@ -153,11 +153,11 @@ do_test_no_depedency (void)
       mod0 -> mod1
    2. Double dependency:
       mod2 -> [mod3,mod4]
-   3. Double dependency with each dependency depent of another module:
+   3. Double dependency with each dependency dependent of another module:
       mod5 -> [mod6,mod7] -> mod8
    4. Long chain with one double dependency in the middle:
       mod9 -> [mod10, mod11] -> mod12 -> mod13
-   5. Long chain with two double depedencies in the middle:
+   5. Long chain with two double dependencies in the middle:
       mod14 -> mod15 -> [mod16, mod17]
       mod15 -> [mod18, mod19]
 
@@ -217,7 +217,7 @@ do_test_dependency (void)
   };
 
   /* The gap configuration is defined as a bitmap: the bit set represents a
-     loaded module prior the tests execution, while a bit unsed is a module
+     loaded module prior the tests execution, while a bit unset is a module
      unloaded.  Not all permtation will show gaps, but it is simpler than
      define each one independently.  */
   for (uint32_t g = 0; g < 64; g++)
@@ -277,11 +277,11 @@ do_test_dependency (void)
       mod0 -> invalid
    2. Double dependency:
       mod1 -> [mod2,invalid]
-   3. Double dependency with each dependency depent of another module:
+   3. Double dependency with each dependency dependent of another module:
       mod3 -> [mod4,mod5] -> invalid
    4. Long chain with one double dependency in the middle:
       mod6 -> [mod7, mod8] -> mod12 -> invalid
-   5. Long chain with two double depedencies in the middle:
+   5. Long chain with two double dependencies in the middle:
       mod10 -> mod11 -> [mod12, mod13]
       mod12 -> [mod14, invalid]
 
@@ -295,7 +295,7 @@ do_test_invalid_dependency (bool bind_now)
   static const int tlsmanydeps[] = { 0, 1, 3, 6, 10 };
 
   /* The gap configuration is defined as a bitmap: the bit set represents a
-     loaded module prior the tests execution, while a bit unsed is a module
+     loaded module prior the tests execution, while a bit unset is a module
      unloaded.  Not all permtation will show gaps, but it is simpler than
      define each one independently.  */
   for (uint32_t g = 0; g < 64; g++)
index 4ee0130dc734a68a34d8bf5802ab916a58dc3574..870ab151d52bc5219770336f481a073a96cefd78 100644 (file)
@@ -16,7 +16,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 /* This file must be compiled as PIE to avoid copy relocation when
-   accessing protected symbols defined in shared libaries since copy
+   accessing protected symbols defined in shared libraries since copy
    relocation doesn't work with protected symbols and linker in
    binutils 2.26 enforces this rule.  */