RTEMS Linker
0.0.1
RTEMS Tools Project
|
#include <rld-elf.h>
Public Member Functions | |
relocation (const symbols::symbol &sym, elf_addr offset, elf_xword info, elf_sxword addend=0) | |
relocation () | |
elf_addr | offset () const |
uint32_t | type () const |
elf_xword | info () const |
elf_sxword | addend () const |
const symbols::symbol & | symbol () const |
A relocation record.
rld::elf::relocation::relocation | ( | const symbols::symbol & | sym, |
elf_addr | offset, | ||
elf_xword | info, | ||
elf_sxword | addend = 0 |
||
) |
Construct a relocation record.
sym | The symbol the relocation references. |
offset | The offset in the section the relocation applies to. |
info | The relocation info. |
addend | The constant addend value. |
rld::elf::relocation::relocation | ( | ) |
Default constructor.
elf_sxword rld::elf::relocation::addend | ( | ) | const |
The constant addend.
elf_xword rld::elf::relocation::info | ( | ) | const |
The info.
elf_addr rld::elf::relocation::offset | ( | ) | const |
The offset.
const symbols::symbol & rld::elf::relocation::symbol | ( | ) | const |
Return the symbol.
uint32_t rld::elf::relocation::type | ( | ) | const |
The type of the relocation record.