]> git.sur5r.net Git - cc65/blobdiff - src/ld65/dbgsyms.h
One more place where OutputNameUsed must be flagged.
[cc65] / src / ld65 / dbgsyms.h
index 250b50bd563b370d4ab15c41eb0631863af0dc75..5ad169453f91a3c5f2deaf580910a47b164e9ea9 100644 (file)
@@ -65,6 +65,7 @@ struct DbgSym {
     ExprNode*                  Expr;           /* Expression (0 if not def'd) */
     unsigned            Name;                  /* Name */
     unsigned char      Type;           /* Type of symbol */
+    unsigned char       AddrSize;       /* Address size of symbol */
 };
 
 
@@ -78,9 +79,14 @@ struct DbgSym {
 DbgSym* ReadDbgSym (FILE* F, ObjData* Obj);
 /* Read a debug symbol from a file, insert and return it */
 
-long GetDbgSymVal (DbgSym* D);
+long GetDbgSymVal (const DbgSym* D);
 /* Get the value of this symbol */
 
+void ClearDbgSymTable (void);
+/* Clear the debug symbol table. Must be called before outputting debug syms
+ * or debug labels the first time.
+ */
+
 void PrintDbgSyms (ObjData* O, FILE* F);
 /* Print the debug symbols in a debug file */