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