printf ("Module `%s' (%u exports):\n", O->Name, Count);
}
while (Count--) {
+
+ unsigned char Tag;
+ unsigned Len;
+ char* Name;
/* Get the export tag */
- unsigned char Tag = *Exports++;
+ Tag = *Exports++;
+
+ /* condes decls may follow */
+ Exports += GET_EXP_CONDES_COUNT (Tag);
/* Next thing is name of symbol */
- unsigned Len = GetVar (&Exports);
- char* Name = xmalloc (Len + 1);
+ Len = GetVar (&Exports);
+ Name = xmalloc (Len + 1);
memcpy (Name, Exports, Len);
Name [Len] = '\0';
Exports += Len;
/* Insert the name into the hash table */
if (Verbose > 1) {
- printf (" %s\n", Name);
+ printf (" %s\n", Name);
}
ExpInsert (Name, O->Index);
-#include "../common/exprdefs.h"
-#include "../common/filepos.h"
+/* common */
+#include "exprdefs.h"
+#include "filepos.h"
/*****************************************************************************/
-/* struct Fragment */
+/* struct Fragment */
/*****************************************************************************/
+
unsigned SegNum; /* If this is a segment */
unsigned ImpNum; /* If this is an import */
struct Memory* MemArea; /* If this is a memory area */
+ struct Section* Sec; /* If segment and Obj is NULL */
} V;
};