]> git.sur5r.net Git - cc65/commitdiff
Mark imports using "type=imp".
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 18 Aug 2011 09:56:53 +0000 (09:56 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 18 Aug 2011 09:56:53 +0000 (09:56 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5200 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/dbgsyms.c

index 084e54592fc2df787e05b37675a88ff3ad4c3ff2..0bda079713ffe516fffc3e5c19db89aa8ab834b0 100644 (file)
@@ -254,11 +254,10 @@ void PrintDbgSyms (FILE* F)
 
             /* Emit the base data for the entry */
             fprintf (F,
-                     "sym\tid=%u,name=\"%s\",addrsize=%s,type=%s",
+                     "sym\tid=%u,name=\"%s\",addrsize=%s",
                      O->SymBaseId + J,
                      GetString (S->Name),
-                     AddrSizeToStr (S->AddrSize),
-                     SYM_IS_LABEL (S->Type)? "lab" : "equ");
+                     AddrSizeToStr (S->AddrSize));
 
             /* If this is not an import, output its value and - if we have
              * it - the segment.
@@ -285,10 +284,8 @@ void PrintDbgSyms (FILE* F)
                 fprintf (F, ",type=%s", SYM_IS_LABEL (S->Type)? "lab" : "equ");
 
             } else {
-
                 /* Output the type */
                 fputs (",type=imp", F);
-
             }
 
             /* Emit the size only if we know it */