diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-02-11 20:29:34 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-02-11 20:29:34 -0800 |
commit | ecc9e0ecd732c66918a880b8f225cc26b7cd83ba (patch) | |
tree | 7d73065066a42db3e4900e2a6b17b635edc6756e | |
parent | 5507ad585fa98ff81e84350eb3d94183714580c6 (diff) | |
download | nasm-ecc9e0ecd732c66918a880b8f225cc26b7cd83ba.tar.gz |
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 <hpa@zytor.com>
-rw-r--r-- | assemble.c | 2 | ||||
-rw-r--r-- | nasm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; @@ -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; |