Write imports out to the debug info file. Add the id of the corresponding

export.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5186 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-16 13:58:59 +00:00
parent b7c4a4fe01
commit 3996725f44
8 changed files with 165 additions and 69 deletions

View File

@@ -52,6 +52,8 @@
/* Forwards */
struct Export;
struct Import;
struct Library;
struct Scope;
struct Section;
@@ -144,6 +146,12 @@ INLINE int ObjHasFiles (const ObjData* O)
struct Section* GetObjSection (ObjData* Obj, unsigned Id);
/* Get a section from an object file checking for a valid index */
struct Import* GetObjImport (ObjData* Obj, unsigned Id);
/* Get an import from an object file checking for a valid index */
struct Export* GetObjExport (ObjData* Obj, unsigned Id);
/* Get an export from an object file checking for a valid index */
struct Scope* GetObjScope (ObjData* Obj, unsigned Id);
/* Get a scope from an object file checking for a valid index */