From: nasm-bot f. H. P. A. <hp...@zy...> - 2016-02-12 04:33:17
|
Commit-ID: ecc9e0ecd732c66918a880b8f225cc26b7cd83ba Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=ecc9e0ecd732c66918a880b8f225cc26b7cd83ba Author: H. Peter Anvin <hp...@zy...> AuthorDate: Thu, 11 Feb 2016 20:29:34 -0800 Committer: H. Peter Anvin <hp...@zy...> CommitDate: Thu, 11 Feb 2016 20:29:34 -0800 Set warning name to zext-reloc and fix the warning message Adjustment to the warning about zero-extended relocations. Signed-off-by: H. Peter Anvin <hp...@zy...> --- assemble.c | 2 +- nasm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assemble.c b/assemble.c index 8382b89..1d8c3c1 100644 --- a/assemble.c +++ b/assemble.c @@ -360,7 +360,7 @@ static void out(int64_t offset, int32_t segto, const void *data, abits, outfmt->shortname); } else { errfunc(ERR_WARNING | ERR_WARN_ZEXTRELOC, - "%d-bit unsigned relocation zeroq-padded from %d bits\n", + "%d-bit unsigned relocation zero-extended from %d bits\n", abits, maxbits); outfmt->output(segto, data, type, amax, segment, wrt); size -= amax; diff --git a/nasm.c b/nasm.c index e48f0a9..bb62d17 100644 --- a/nasm.c +++ b/nasm.c @@ -168,7 +168,7 @@ static const struct warning { {"lock", "lock prefix on unlockable instructions", true}, {"hle", "invalid hle prefixes", true}, {"bnd", "invalid bnd prefixes", true}, - {"zero-reloc", "relocation zero-extended to match output format", true}, + {"zext-reloc", "relocation zero-extended to match output format", true}, }; static bool want_usage; |