1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-21 00:31:53 +00:00

make linker generated export warning conistent with the import warning

This commit is contained in:
bbbradsmith 2019-11-18 01:37:26 -05:00 committed by Oliver Schmidt
parent 788fbcc9c8
commit c9355734f5

View File

@ -702,7 +702,7 @@ static void CheckSymType (const Export* E)
/* The export is linker generated and we don't have line
** information (likely from command line define)
*/
SB_Printf (&ExportLoc, "linker");
SB_Printf (&ExportLoc, "%s", GetObjFileName (E->Obj));
}
if (I->Obj) {
/* The import comes from an object file */