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:
H. Peter Anvin 2009-07-16 22:46:34 -04:00
parent 892bafc9b1
commit a5fd1ca895

View file

@ -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))