void WriteHeader(std::ostream &);
void WriteExports(std::ostream &);
void WriteExternals(std::ostream &);
+ void WriteImages(std::ostream &);
void Relocate(std::iostream &);
void RelocateArray(char *, int size);
- void Relocate(char *, const TypeDescription &);
+ void Relocate(unsigned int pos, char *dest, const TypeDescription &);
void PrepareExport(Export &, const std::string &);
void PrepareExternal(External &, const Interpreter::PostponedDefinition &);
private:
const Interpreter &intp;
- unsigned int cursor;
-
ObjectFileHeader fileHeader;
std::map<const void *, unsigned int> addressMap;
+ std::map<unsigned int, void *> images;
};