gem5
v19.0.0.0
|
#include <ecoff_object.hh>
Public Member Functions | |
EcoffObject (ImageFileDataPtr ifd) | |
MemoryImage | buildImage () const override |
bool | loadAllSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=MaxAddr) override |
bool | loadGlobalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=MaxAddr) override |
bool | loadLocalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=MaxAddr) override |
![]() | |
virtual | ~ObjectFile () |
virtual bool | loadWeakSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr) |
virtual ObjectFile * | getInterpreter () const |
virtual bool | relocatable () const |
virtual Addr | mapSize () const |
virtual void | updateBias (Addr bias_addr) |
virtual Addr | bias () const |
virtual bool | hasTLS () |
Arch | getArch () const |
OpSys | getOpSys () const |
Addr | entryPoint () const |
Protected Attributes | |
const ecoff_exechdr * | execHdr |
const ecoff_filehdr * | fileHdr |
const ecoff_aouthdr * | aoutHdr |
![]() | |
Arch | arch = UnknownArch |
OpSys | opSys = UnknownOpSys |
Addr | entry = 0 |
![]() | |
ImageFileDataPtr | imageData |
Additional Inherited Members | |
![]() | |
enum | Arch { UnknownArch, Alpha, SPARC64, SPARC32, Mips, X86_64, I386, Arm64, Arm, Thumb, Power, Riscv64, Riscv32 } |
enum | OpSys { UnknownOpSys, Tru64, Linux, Solaris, LinuxArmOABI, FreeBSD } |
![]() | |
ObjectFile (ImageFileDataPtr ifd) | |
![]() | |
ImageFile (ImageFileDataPtr data) | |
virtual | ~ImageFile () |
Definition at line 47 of file ecoff_object.hh.
EcoffObject::EcoffObject | ( | ImageFileDataPtr | ifd | ) |
Definition at line 69 of file ecoff_object.cc.
References ecoff_exechdr::a, ObjectFile::Alpha, aoutHdr, ObjectFile::arch, ecoff_aouthdr::entry, ObjectFile::entry, execHdr, ecoff_exechdr::f, fileHdr, ImageFile::imageData, ObjectFile::opSys, and ObjectFile::Tru64.
|
overridevirtual |
Implements ImageFile.
Definition at line 82 of file ecoff_object.cc.
References aoutHdr, ecoff_aouthdr::bsize, ecoff_aouthdr::bss_start, ecoff_aouthdr::data_start, DPRINTFR, ecoff_aouthdr::dsize, ECOFF_DATOFF, ECOFF_TXTOFF, execHdr, ImageFile::imageData, M5_VAR_USED, X86ISA::seg, ecoff_aouthdr::text_start, and ecoff_aouthdr::tsize.
|
overridevirtual |
Reimplemented from ObjectFile.
Definition at line 99 of file ecoff_object.cc.
References loadGlobalSymbols(), and loadLocalSymbols().
|
overridevirtual |
Reimplemented from ObjectFile.
Definition at line 108 of file ecoff_object.cc.
References ECOFF_MAGIC_ALPHA, ObjectFile::entry, ecoff_filehdr::f_magic, ecoff_filehdr::f_symptr, fileHdr, ArmISA::i, ImageFile::imageData, SymbolTable::insert(), ecoff_sym::iss, magicSym2, ecoff_sym::value, and warn.
Referenced by loadAllSymbols().
|
overridevirtual |
Reimplemented from ObjectFile.
Definition at line 141 of file ecoff_object.cc.
References ECOFF_MAGIC_ALPHA, ObjectFile::entry, ecoff_filehdr::f_magic, ecoff_filehdr::f_symptr, fileHdr, ArmISA::i, ImageFile::imageData, SymbolTable::insert(), ecoff_sym::iss, ArmISA::j, magicSym2, ArmISA::st, ecoff_sym::st, stGlobal, stProc, ecoff_sym::value, and warn.
Referenced by loadAllSymbols().
|
protected |
Definition at line 52 of file ecoff_object.hh.
Referenced by buildImage(), and EcoffObject().
|
protected |
Definition at line 50 of file ecoff_object.hh.
Referenced by buildImage(), and EcoffObject().
|
protected |
Definition at line 51 of file ecoff_object.hh.
Referenced by EcoffObject(), loadGlobalSymbols(), and loadLocalSymbols().