]> git.sur5r.net Git - cc65/blobdiff - src/ld65/global.c
One more place where OutputNameUsed must be flagged.
[cc65] / src / ld65 / global.c
index 6ac6f9cce3e3d7016126e80edcb79ff332cfc781..94f378dec5aee7a5dcdfc06ecc43331ad528f390 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2002 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2010, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -44,6 +44,7 @@
 
 
 const char* OutputName     = "a.out";  /* Name of output file */
+unsigned    OutputNameUsed  = 0;        /* Output name was used by %O */
 
 unsigned ModuleId           = 0;        /* Id for o65 module */
 
@@ -55,7 +56,6 @@ unsigned char VerboseMap    = 0;      /* Verbose map file */
 const char* MapFileName            = 0;        /* Name of the map file */
 const char* LabelFileName   = 0;       /* Name of the label file */
 const char* DbgFileName     = 0;        /* Name of the debug file */
-unsigned char WProtSegs     = 0;       /* Mark write protected segments */