mirror of
https://github.com/cc65/cc65.git
synced 2025-08-15 06:27:36 +00:00
If a debug symbol is an import, write out the import id.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5182 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -675,7 +675,7 @@ void SymDump (FILE* F)
|
|||||||
void WriteImports (void)
|
void WriteImports (void)
|
||||||
/* Write the imports list to the object file */
|
/* Write the imports list to the object file */
|
||||||
{
|
{
|
||||||
SymEntry* S;
|
SymEntry* S;
|
||||||
|
|
||||||
/* Tell the object file module that we're about to start the imports */
|
/* Tell the object file module that we're about to start the imports */
|
||||||
ObjStartImports ();
|
ObjStartImports ();
|
||||||
@@ -865,6 +865,11 @@ void WriteDbgSyms (void)
|
|||||||
ObjWriteVar (Size);
|
ObjWriteVar (Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If the symbol is an import, write out its import id */
|
||||||
|
if (SYM_IS_IMPORT (SymFlags)) {
|
||||||
|
ObjWriteVar (GetSymImportId (S));
|
||||||
|
}
|
||||||
|
|
||||||
/* Write the line infos */
|
/* Write the line infos */
|
||||||
WriteLineInfo (&S->LineInfos);
|
WriteLineInfo (&S->LineInfos);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user