outcoff: this is COFF, not binary
authorH. Peter Anvin <hpa@zytor.com>
Fri, 17 Jul 2009 02:44:19 +0000 (22:44 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 17 Jul 2009 02:44:19 +0000 (22:44 -0400)
Fix error message in outcoff to say COFF, not binary format...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outcoff.c

index 5a03bec560a12c8fa76c8cde8dc52ed478a19d74..044600fd9c8fc836a10b88a693fc9a7d24ffd393 100644 (file)
@@ -419,8 +419,8 @@ static void coff_deflabel(char *name, int32_t segment, int64_t offset,
     struct Symbol *sym;
 
     if (special)
-        error(ERR_NONFATAL, "binary format does not support any"
-              " special symbol types");
+        error(ERR_NONFATAL, "COFF format does not support any"
+              " special symbol types", ofmt->name);
 
     if (name[0] == '.' && name[1] == '.' && name[2] != '@') {
        if (strcmp(name,WRT_IMAGEBASE))