Output library information to the debug file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5127 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "exports.h"
|
||||
#include "global.h"
|
||||
#include "error.h"
|
||||
#include "library.h"
|
||||
#include "mapfile.h"
|
||||
#include "objdata.h"
|
||||
#include "segments.h"
|
||||
@@ -80,9 +81,9 @@ void CreateMapFile (int ShortMap)
|
||||
const ObjData* O = CollConstAt (&ObjDataList, I);
|
||||
|
||||
/* Output the data */
|
||||
if (O->LibName != INVALID_STRING_ID) {
|
||||
if (O->Lib) {
|
||||
/* The file is from a library */
|
||||
fprintf (F, "%s(%s):\n", GetString (O->LibName), GetObjFileName (O));
|
||||
fprintf (F, "%s(%s):\n", GetLibFileName (O->Lib), GetObjFileName (O));
|
||||
} else {
|
||||
fprintf (F, "%s:\n", GetObjFileName (O));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user