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>
This commit is contained in:
H. Peter Anvin 2019-09-12 17:48:16 -07:00
parent e47f4b7ad5
commit 82c5cb1704

View File

@ -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;
}