29 #ifndef __BASE_LOADER_OBJECT_FILE_HH__ 30 #define __BASE_LOADER_OBJECT_FILE_HH__ 110 panic(
"mapSize() should only be called on relocatable objects\n");
115 panic(
"updateBias() should only be called on relocatable objects\n");
147 #endif // __BASE_LOADER_OBJECT_FILE_HH__ #define panic(...)
This implements a cprintf based panic() function.
virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
ObjectFile * createObjectFile(const std::string &fname, bool raw)
virtual void updateBias(Addr bias_addr)
std::shared_ptr< ImageFileData > ImageFileDataPtr
virtual bool loadAllSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual ObjectFile * getInterpreter() const
virtual bool relocatable() const
virtual Addr mapSize() const
virtual Addr bias() const
virtual bool loadLocalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
virtual bool loadWeakSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
ObjectFile(ImageFileDataPtr ifd)