From e63dcb46f1e6c28325304282152278a54820156e Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 1 Sep 2011 10:00:31 +0000 Subject: [PATCH] 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 --- src/ld65/dbgsyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5