aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-09-12 17:48:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-09-12 17:48:16 -0700
commit82c5cb170453482095b7610e175a07bea1338f50 (patch)
treed6e578aa58b26344e78e9a8bd4d1c945bd03ce7a
parente47f4b7ad5e9ee416cdcac72c04d84077af0d80f (diff)
downloadnasm-82c5cb170453482095b7610e175a07bea1338f50.tar.gz
nasm-82c5cb170453482095b7610e175a07bea1338f50.tar.xz
nasm-82c5cb170453482095b7610e175a07bea1338f50.zip
outelf: use "symbols" not "variables" in error messages
Many symbols are variables, but others are labels, etc. Use the common term "symbol". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--output/outelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outelf.c b/output/outelf.c
index 787a3aab..4976b680 100644
--- a/output/outelf.c
+++ b/output/outelf.c
@@ -913,7 +913,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
spcword = nasm_skip_spaces(wend);
}
if (!is_global && bind != STB_LOCAL) {
- nasm_nonfatal("weak and strong only applies to global variables");
+ nasm_nonfatal("weak and strong only applies to global symbols");
bind = STB_LOCAL;
}