From a9f48e663b863cb2fa6f15f3b2efb0882e8f9fd4 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 2 Jan 2012 12:39:55 +0000 Subject: [PATCH 1/1] 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 --- src/ld65/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ld65/config.c b/src/ld65/config.c index 9a05bdd79..e9ee81139 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -1427,7 +1427,7 @@ static void ParseSymbols (void) /* Generate the import */ Imp = InsertImport (GenImport (Name, AddrSize)); /* Remember the file position */ - CollAppend (&Imp->DefLines, GenLineInfo (&CfgErrorPos)); + CollAppend (&Imp->RefLines, GenLineInfo (&CfgErrorPos)); break; case CfgSymWeak: -- 2.39.5