Go to the documentation of this file.
36 #ifndef TTA_RELOC_ELEMENT_HH
37 #define TTA_RELOC_ELEMENT_HH
44 namespace ReferenceManager {
Byte size_
Bit width of value(or chunk of value) to be relocated.
@ RT_PCREL
PC-relative, relocate only if displacement changes.
RelocType type_
The type of the relocation.
Byte bitOffset_
Bit offset where in whole value bits of this chunk should be.
SymbolElement * symbol() const
const ReferenceManager::SafePointer * destination_
The destination element of the location to be relocated.
ASpaceElement * aSpace() const
void setType(RelocType aType)
@ RT_SELF
Absolute address, relocate relative to address self.
bool chunked_
Does relocation refer to chunked address.
SectionElement * destination() const
void setChunked(bool isChunked)
const ReferenceManager::SafePointer * symbol_
The symbol of relocation.
void setSymbol(SymbolElement *aSymbol)
const ReferenceManager::SafePointer * location_
The element containing location to be relocated.
void setLocation(SectionElement *aLocation)
void setBitOffset(Byte anOffset)
void setASpace(ASpaceElement *anASpace)
@ RT_PAGE
Paged address, relocate page offset.
void setDestination(SectionElement *aDestination)
SectionElement * location() const
const ReferenceManager::SafePointer * aSpace_
The address space of relocated element.