[PATCH 04/12] libasm: fix spelling typos in comments

Dmitry V. Levin ldv@altlinux.org
Sat Dec 12 16:50:45 GMT 2020


endianess -> endianness
setion -> section

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 libasm/ChangeLog   | 5 +++++
 libasm/asm_begin.c | 2 +-
 libasm/asm_end.c   | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/libasm/ChangeLog b/libasm/ChangeLog
index 6268b26c..78f1baa4 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -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.
diff --git a/libasm/asm_begin.c b/libasm/asm_begin.c
index 6248786c..1df2d4ea 100644
--- a/libasm/asm_begin.c
+++ b/libasm/asm_begin.c
@@ -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);
diff --git a/libasm/asm_end.c b/libasm/asm_end.c
index 3b8582fd..077d2aa5 100644
--- a/libasm/asm_end.c
+++ b/libasm/asm_end.c
@@ -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;
-- 
ldv


More information about the Elfutils-devel mailing list