libasm: fix spelling typos in comments
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 12 Dec 2020 16:50:45 +0000 (19:50 +0300)
committerMark Wielaard <mark@klomp.org>
Sat, 12 Dec 2020 17:06:28 +0000 (18:06 +0100)
endianess -> endianness
setion -> section

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
libasm/ChangeLog
libasm/asm_begin.c
libasm/asm_end.c

index 6268b26..78f1baa 100644 (file)
@@ -1,3 +1,8 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * asm_begin.c (prepare_binary_output): Fix spelling typo in comment.
+       * asm_end.c (binary_end): Likewise.
+
 2020-12-11  Dmitry V. Levin  <ldv@altlinux.org>
 
        * Makefile.am (GCC_INCLUDE): Remove.
index 6248786..1df2d4e 100644 (file)
@@ -98,7 +98,7 @@ prepare_binary_output (AsmCtx_t *result, Ebl *ebl)
   /* Set the ELF version.  */
   ehdr->e_version = EV_CURRENT;
 
-  /* Use the machine, class, and endianess values from the Ebl descriptor.  */
+  /* Use the machine, class, and endianness values from the Ebl descriptor.  */
   ehdr->e_machine = ebl_get_elfmachine (ebl);
   ehdr->e_ident[EI_CLASS] = class;
   ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl);
index 3b8582f..077d2aa 100644 (file)
@@ -257,7 +257,7 @@ binary_end (AsmCtx_t *ctx)
                    xndxdata->d_off = 0;
                  }
 
-               /* Store the real section index in the extended setion
+               /* Store the real section index in the extended section
                   index table.  */
                assert ((size_t) ptr < ctx->nsymbol_tab + 1);
                xshndx[ptr] = ndx;