1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

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
This commit is contained in:
uz 2011-09-01 10:00:31 +00:00
parent d1abb7e808
commit e63dcb46f1

View File

@ -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 */