From: C. M. <pu...@38...> - 2018-12-11 14:25:13
|
Hello, I found a few spelling mistakes and missing blanks in some messages. I assume this patch should be trivial to apply. Regards, ecm >From c69e671a33183c23455ec117f576609fd953637a Mon Sep 17 00:00:00 2001 From: "C. Masloch" <pu...@38...> Date: Tue, 11 Dec 2018 15:21:18 +0100 Subject: [PATCH] fix some spelling mistakes Signed-off-by: C. Masloch <pu...@38...> --- asm/error.c | 4 ++-- output/outelf.c | 2 +- output/outmacho.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/asm/error.c b/asm/error.c index 73db7443..052bd630 100644 --- a/asm/error.c +++ b/asm/error.c @@ -47,7 +47,7 @@ * the [warning] directive. */ const struct warning warnings[ERR_WARN_ALL+1] = { - {"other", "any warning not specifially mentioned below", true}, + {"other", "any warning not specifically mentioned below", true}, {"macro-params", "macro calls with wrong parameter count", true}, {"macro-selfref", "cyclic macro references", false}, {"macro-defaults", "macros with more default than optional parameters", true}, @@ -68,7 +68,7 @@ const struct warning warnings[ERR_WARN_ALL+1] = { {"unknown-pragma", "unknown %pragma facility or directive", false}, {"not-my-pragma", "%pragma not applicable to this compilation", false}, {"unknown-warning", "unknown warning in -W/-w or warning directive", false}, - {"negative-rep", "regative %rep count", true}, + {"negative-rep", "negative %rep count", true}, {"phase", "phase error during stabilization", false}, /* THIS ENTRY MUST COME LAST */ diff --git a/output/outelf.c b/output/outelf.c index a32e1335..f9cebd7a 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -439,7 +439,7 @@ static int32_t elf_section_names(char *name, int pass, int *bits) if (!strcmp(name, ".shstrtab") || !strcmp(name, ".symtab") || !strcmp(name, ".strtab")) { - nasm_error(ERR_NONFATAL, "attempt to redefine reserved section" + nasm_error(ERR_NONFATAL, "attempt to redefine reserved section " "name `%s'", name); return NO_SEG; } diff --git a/output/outmacho.c b/output/outmacho.c index e78623e3..d53c5aaa 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -547,7 +547,7 @@ static int64_t add_reloc(struct section *sect, int32_t section, break; case RL_SUB: /* obsolete */ - nasm_error(ERR_WARNING, "relcation with subtraction" + nasm_error(ERR_WARNING, "relocation with subtraction " "becomes to be obsolete"); r->ext = 0; r->type = X86_64_RELOC_SUBTRACTOR; @@ -666,7 +666,7 @@ static void macho_output(int32_t secto, const void *data, nasm_error(ERR_WARNING, "attempt to initialize memory in " "BSS section: ignored"); /* FIXME */ - nasm_error(ERR_WARNING, "section size may be negative" + nasm_error(ERR_WARNING, "section size may be negative " "with address symbols"); s->size += realsize(type, size); return; -- 2.19.2 |