36#ifndef TTA_SYMBOL_ELEMENT_HH
37#define TTA_SYMBOL_ELEMENT_HH
SymbolType
Type of symbol element.
@ STT_PROCEDURE
Symbol gives indicates procedure start position in section.
@ STT_FILE
Name of symbol gives the name of source file associated with this object file.
@ STT_CODE
Associated with executable code.
@ STT_NOTYPE
Type is not defined.
@ STT_SECTION
Associated with section.
@ STT_DATA
Associated with data object.
virtual SymbolType type() const =0
Returns type of symbol.
const ReferenceManager::SafePointer * section_
Section to which the symbol belongs.
void setAbsolute(bool anAbsoluteness)
void setName(Chunk *aName)
void setBinding(SymbolBinding aBinding)
Section * section() const
SymbolBinding binding() const
bool absolute_
Is symbol absolutely or relocating.
void setName(const ReferenceManager::SafePointer *aName)
void setSection(Section *aSect)
const ReferenceManager::SafePointer * name_
The name of the symbol.
void setSection(const ReferenceManager::SafePointer *aSect)
SymbolBinding
Binding types of symbol.
@ STB_LOCAL
Not visible outside the object file that contains it's definition.
@ STB_WEAK
Visible to all object files that are combined in the TPEF file, but with linkage priority lower than ...
@ STB_GLOBAL
Visible to all files that are combined in TPEF file.
SymbolBinding bind_
Binding of the symbol.