diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-12-12 19:50:45 +0300 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2020-12-12 18:06:28 +0100 |
commit | c2ec7163ffd23da0cc0af86a81ed529c7260f87e (patch) | |
tree | 87d60c58fd9979183cc9aac85f424f49439a764d /libasm | |
parent | f306e3dd4856f48541018598dbc673288892cbb5 (diff) | |
download | elfutils-c2ec7163ffd23da0cc0af86a81ed529c7260f87e.tar.gz |
libasm: fix spelling typos in comments
endianess -> endianness
setion -> section
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'libasm')
-rw-r--r-- | libasm/ChangeLog | 5 | ||||
-rw-r--r-- | libasm/asm_begin.c | 2 | ||||
-rw-r--r-- | 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; |