1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

Symbols imported from the linker config must have the config file position

added to the symbol references, not the definitions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5367 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-01-02 12:39:55 +00:00
parent f24ff82ea2
commit a9f48e663b

View File

@ -1427,7 +1427,7 @@ static void ParseSymbols (void)
/* Generate the import */ /* Generate the import */
Imp = InsertImport (GenImport (Name, AddrSize)); Imp = InsertImport (GenImport (Name, AddrSize));
/* Remember the file position */ /* Remember the file position */
CollAppend (&Imp->DefLines, GenLineInfo (&CfgErrorPos)); CollAppend (&Imp->RefLines, GenLineInfo (&CfgErrorPos));
break; break;
case CfgSymWeak: case CfgSymWeak: