From c2ec7163ffd23da0cc0af86a81ed529c7260f87e Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 12 Dec 2020 19:50:45 +0300 Subject: [PATCH] libasm: fix spelling typos in comments endianess -> endianness setion -> section Signed-off-by: Dmitry V. Levin --- 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 6268b26..78f1baa 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,8 @@ +2020-12-12 Dmitry V. Levin + + * asm_begin.c (prepare_binary_output): Fix spelling typo in comment. + * asm_end.c (binary_end): Likewise. + 2020-12-11 Dmitry V. Levin * Makefile.am (GCC_INCLUDE): Remove. diff --git a/libasm/asm_begin.c b/libasm/asm_begin.c index 6248786..1df2d4e 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 3b8582f..077d2aa 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; -- 2.7.4