Blob Blame History Raw
From c9355734f5acce3c06553d7b7b7ddbda50a7b495 Mon Sep 17 00:00:00 2001
From: bbbradsmith <bbbradsmith@users.noreply.github.com>
Date: Mon, 18 Nov 2019 01:37:26 -0500
Subject: [PATCH 098/170] make linker generated export warning conistent with
 the import warning

---
 src/ld65/exports.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ld65/exports.c b/src/ld65/exports.c
index be14f748..5df7a37c 100644
--- a/src/ld65/exports.c
+++ b/src/ld65/exports.c
@@ -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 */
-- 
2.26.0