|
OpenASIP 2.2
|
#include <RelocElement.hh>


Public Types | |
| enum | RelocType { RT_NOREL = 0x00 , RT_SELF = 0x01 , RT_PAGE = 0x02 , RT_PCREL = 0x03 } |
Private Attributes | |
| RelocType | type_ |
| The type of the relocation. | |
| const ReferenceManager::SafePointer * | location_ |
| The element containing location to be relocated. | |
| const ReferenceManager::SafePointer * | destination_ |
| The destination element of the location to be relocated. | |
| Byte | size_ |
| Bit width of value(or chunk of value) to be relocated. | |
| Byte | bitOffset_ |
| Bit offset where in whole value bits of this chunk should be. | |
| const ReferenceManager::SafePointer * | symbol_ |
| The symbol of relocation. | |
| const ReferenceManager::SafePointer * | aSpace_ |
| The address space of relocated element. | |
| bool | chunked_ |
| Does relocation refer to chunked address. | |
Additional Inherited Members | |
Protected Member Functions inherited from TPEF::SectionElement | |
| SectionElement () | |
Protected Member Functions inherited from TPEF::SafePointable | |
| SafePointable () | |
Relocation table entry.
Definition at line 51 of file RelocElement.hh.
TPEF relocation types.
Definition at line 56 of file RelocElement.hh.
| TPEF::RelocElement::RelocElement | ( | ) |
Constructor.
Definition at line 46 of file RelocElement.cc.
|
virtual |
| ASpaceElement * TPEF::RelocElement::aSpace | ( | ) | const |
| Byte TPEF::RelocElement::bitOffset | ( | ) | const |
Referenced by TPEF::TPEFRelocSectionWriter::actualWriteData().
| bool TPEF::RelocElement::chunked | ( | ) | const |
Referenced by TPEF::TPEFRelocSectionWriter::actualWriteData().
| SectionElement * TPEF::RelocElement::destination | ( | ) | const |
| SectionElement * TPEF::RelocElement::location | ( | ) | const |
Referenced by TPEF::TPEFRelocSectionWriter::actualWriteData(), TTAProgram::TPEFProgramFactory::createDataMemories(), TPEF::AOutRelocationSectionReader::finalize(), TPEF::TPEFRelocSectionReader::finalize(), TPEF::TPEFTools::hasRelocation(), CodeCompressorPlugin::initializeRelocations(), TPEF::TPEFTools::initRelocationCache(), TPEF::TPEFTools::relocation(), ProgramImageGenerator::relocTarget(), and TPEFDumper::section().
| void TPEF::RelocElement::setASpace | ( | ASpaceElement * | anASpace | ) |
| void TPEF::RelocElement::setASpace | ( | const ReferenceManager::SafePointer * | anASpace | ) |
| void TPEF::RelocElement::setBitOffset | ( | Byte | anOffset | ) |
Referenced by TPEF::TPEFRelocSectionReader::readData().
| void TPEF::RelocElement::setChunked | ( | bool | isChunked | ) |
Referenced by LabelManager::finalize(), and TPEF::TPEFRelocSectionReader::readData().
| void TPEF::RelocElement::setDestination | ( | const ReferenceManager::SafePointer * | aDestination | ) |
| void TPEF::RelocElement::setDestination | ( | SectionElement * | aDestination | ) |
| void TPEF::RelocElement::setLocation | ( | const ReferenceManager::SafePointer * | aLocation | ) |
| void TPEF::RelocElement::setLocation | ( | SectionElement * | aLocation | ) |
| void TPEF::RelocElement::setSize | ( | Byte | aSize | ) |
| void TPEF::RelocElement::setSymbol | ( | const ReferenceManager::SafePointer * | aSymbol | ) |
| void TPEF::RelocElement::setSymbol | ( | SymbolElement * | aSymbol | ) |
| void TPEF::RelocElement::setType | ( | RelocType | aType | ) |
| Byte TPEF::RelocElement::size | ( | ) | const |
| SymbolElement * TPEF::RelocElement::symbol | ( | ) | const |
Referenced by TPEF::TPEFRelocSectionWriter::actualWriteData(), and TPEFDumper::section().
| RelocType TPEF::RelocElement::type | ( | ) | const |
|
private |
The address space of relocated element.
Definition at line 110 of file RelocElement.hh.
|
private |
Bit offset where in whole value bits of this chunk should be.
Definition at line 106 of file RelocElement.hh.
|
private |
Does relocation refer to chunked address.
Definition at line 112 of file RelocElement.hh.
|
private |
The destination element of the location to be relocated.
Definition at line 102 of file RelocElement.hh.
|
private |
The element containing location to be relocated.
Definition at line 100 of file RelocElement.hh.
|
private |
Bit width of value(or chunk of value) to be relocated.
Definition at line 104 of file RelocElement.hh.
|
private |
The symbol of relocation.
Definition at line 108 of file RelocElement.hh.
|
private |
The type of the relocation.
Definition at line 98 of file RelocElement.hh.