mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
outcoff: fix invalid reference to ofmt
ofmt is a static in nasm.c (why?), not a global... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
892bafc9b1
commit
a5fd1ca895
@ -420,7 +420,7 @@ static void coff_deflabel(char *name, int32_t segment, int64_t offset,
|
||||
|
||||
if (special)
|
||||
error(ERR_NONFATAL, "COFF format does not support any"
|
||||
" special symbol types", ofmt->name);
|
||||
" special symbol types");
|
||||
|
||||
if (name[0] == '.' && name[1] == '.' && name[2] != '@') {
|
||||
if (strcmp(name,WRT_IMAGEBASE))
|
||||
|
Loading…
Reference in New Issue
Block a user