OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
TTAProgram::ProgramWriter::RelocInfo Struct Reference
Collaboration diagram for TTAProgram::ProgramWriter::RelocInfo:
Collaboration graph

Public Member Functions

 RelocInfo (TPEF::Section *aSrcSect, TPEF::SectionElement *aSrcElem, const Address &aDstAddress, int bitWidth)
 

Public Attributes

TPEF::SectionsrcSect
 Location section. More...
 
TPEF::SectionElementsrcElem
 Location element. More...
 
Address destination
 Destination address. More...
 
int bits
 Relocation width. More...
 

Detailed Description

Info about relocation of immediate or data chunk.

Definition at line 162 of file ProgramWriter.hh.

Constructor & Destructor Documentation

◆ RelocInfo()

TTAProgram::ProgramWriter::RelocInfo::RelocInfo ( TPEF::Section aSrcSect,
TPEF::SectionElement aSrcElem,
const Address aDstAddress,
int  bitWidth 
)
inline

Definition at line 163 of file ProgramWriter.hh.

165  :
166  srcSect(aSrcSect), srcElem(aSrcElem),
167  destination(aDstAddress), bits(bitWidth) {
168  }

Member Data Documentation

◆ bits

int TTAProgram::ProgramWriter::RelocInfo::bits

Relocation width.

Definition at line 177 of file ProgramWriter.hh.

Referenced by TTAProgram::ProgramWriter::createRelocSections().

◆ destination

Address TTAProgram::ProgramWriter::RelocInfo::destination

Destination address.

Definition at line 175 of file ProgramWriter.hh.

Referenced by TTAProgram::ProgramWriter::createRelocSections().

◆ srcElem

TPEF::SectionElement* TTAProgram::ProgramWriter::RelocInfo::srcElem

Location element.

Definition at line 173 of file ProgramWriter.hh.

Referenced by TTAProgram::ProgramWriter::createRelocSections().

◆ srcSect

TPEF::Section* TTAProgram::ProgramWriter::RelocInfo::srcSect

Location section.

Definition at line 171 of file ProgramWriter.hh.

Referenced by TTAProgram::ProgramWriter::createRelocSections().


The documentation for this struct was generated from the following file:
TTAProgram::ProgramWriter::RelocInfo::bits
int bits
Relocation width.
Definition: ProgramWriter.hh:177
TTAProgram::ProgramWriter::RelocInfo::srcElem
TPEF::SectionElement * srcElem
Location element.
Definition: ProgramWriter.hh:173
TTAProgram::ProgramWriter::RelocInfo::destination
Address destination
Destination address.
Definition: ProgramWriter.hh:175
TTAProgram::ProgramWriter::RelocInfo::srcSect
TPEF::Section * srcSect
Location section.
Definition: ProgramWriter.hh:171