From: uz Date: Thu, 1 Sep 2011 10:00:31 +0000 (+0000) Subject: Fixed an error: Symbol references for csyms were output as local, not global X-Git-Tag: V2.13.3~170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e63dcb46f1e6c28325304282152278a54820156e;p=cc65 Fixed an error: Symbol references for csyms were output as local, not global ids. git-svn-id: svn://svn.cc65.org/cc65/trunk@5292 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/dbgsyms.c b/src/ld65/dbgsyms.c index db2f8c663..551979aac 100644 --- a/src/ld65/dbgsyms.c +++ b/src/ld65/dbgsyms.c @@ -484,7 +484,7 @@ void PrintHLLDbgSyms (FILE* F) /* For non auto symbols output the debug symbol id of the asm sym */ if (HLL_HAS_SYM (S->Flags)) { - fprintf (F, ",sym=%u", S->Sym->Id); + fprintf (F, ",sym=%u", O->SymBaseId + S->Sym->Id); } /* Terminate the output line */