mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-08-23 10:33:50 -04: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)
|
if (special)
|
||||||
error(ERR_NONFATAL, "COFF format does not support any"
|
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 (name[0] == '.' && name[1] == '.' && name[2] != '@') {
|
||||||
if (strcmp(name,WRT_IMAGEBASE))
|
if (strcmp(name,WRT_IMAGEBASE))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user