gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
EcoffObject Class Reference

#include <ecoff_object.hh>

Inheritance diagram for EcoffObject:
ObjectFile ImageFile

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
 
- Public Member Functions inherited from ObjectFile
virtual ~ObjectFile ()
 
virtual bool loadWeakSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
 
virtual ObjectFilegetInterpreter () 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_exechdrexecHdr
 
const ecoff_filehdrfileHdr
 
const ecoff_aouthdraoutHdr
 
- Protected Attributes inherited from ObjectFile
Arch arch = UnknownArch
 
OpSys opSys = UnknownOpSys
 
Addr entry = 0
 
- Protected Attributes inherited from ImageFile
ImageFileDataPtr imageData
 

Additional Inherited Members

- Public Types inherited from ObjectFile
enum  Arch {
  UnknownArch, Alpha, SPARC64, SPARC32,
  Mips, X86_64, I386, Arm64,
  Arm, Thumb, Power, Riscv64,
  Riscv32
}
 
enum  OpSys {
  UnknownOpSys, Tru64, Linux, Solaris,
  LinuxArmOABI, FreeBSD
}
 
- Protected Member Functions inherited from ObjectFile
 ObjectFile (ImageFileDataPtr ifd)
 
- Protected Member Functions inherited from ImageFile
 ImageFile (ImageFileDataPtr data)
 
virtual ~ImageFile ()
 

Detailed Description

Definition at line 47 of file ecoff_object.hh.

Constructor & Destructor Documentation

◆ EcoffObject()

EcoffObject::EcoffObject ( ImageFileDataPtr  ifd)

Member Function Documentation

◆ buildImage()

MemoryImage EcoffObject::buildImage ( ) const
overridevirtual

◆ loadAllSymbols()

bool EcoffObject::loadAllSymbols ( SymbolTable symtab,
Addr  base = 0,
Addr  offset = 0,
Addr  addr_mask = MaxAddr 
)
overridevirtual

Reimplemented from ObjectFile.

Definition at line 99 of file ecoff_object.cc.

References loadGlobalSymbols(), and loadLocalSymbols().

◆ loadGlobalSymbols()

bool EcoffObject::loadGlobalSymbols ( SymbolTable symtab,
Addr  base = 0,
Addr  offset = 0,
Addr  addr_mask = MaxAddr 
)
overridevirtual

◆ loadLocalSymbols()

bool EcoffObject::loadLocalSymbols ( SymbolTable symtab,
Addr  base = 0,
Addr  offset = 0,
Addr  addr_mask = MaxAddr 
)
overridevirtual

Member Data Documentation

◆ aoutHdr

const ecoff_aouthdr* EcoffObject::aoutHdr
protected

Definition at line 52 of file ecoff_object.hh.

Referenced by buildImage(), and EcoffObject().

◆ execHdr

const ecoff_exechdr* EcoffObject::execHdr
protected

Definition at line 50 of file ecoff_object.hh.

Referenced by buildImage(), and EcoffObject().

◆ fileHdr

const ecoff_filehdr* EcoffObject::fileHdr
protected

Definition at line 51 of file ecoff_object.hh.

Referenced by EcoffObject(), loadGlobalSymbols(), and loadLocalSymbols().


The documentation for this class was generated from the following files:

Generated on Fri Feb 28 2020 16:27:10 for gem5 by doxygen 1.8.13