1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +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:
uz 2011-08-16 12:33:19 +00:00
parent 1917591b94
commit 63c53499be

View File

@ -675,7 +675,7 @@ void SymDump (FILE* F)
void WriteImports (void)
/* 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 */
ObjStartImports ();
@ -865,6 +865,11 @@ void WriteDbgSyms (void)
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 */
WriteLineInfo (&S->LineInfos);
}