RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rld::elf::relocation Class Reference

#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::symbolsymbol () const
 

Detailed Description

A relocation record.

Constructor & Destructor Documentation

rld::elf::relocation::relocation ( const symbols::symbol sym,
elf_addr  offset,
elf_xword  info,
elf_sxword  addend = 0 
)

Construct a relocation record.

Parameters
symThe symbol the relocation references.
offsetThe offset in the section the relocation applies to.
infoThe relocation info.
addendThe constant addend value.
rld::elf::relocation::relocation ( )

Default constructor.

Member Function Documentation

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.


The documentation for this class was generated from the following files: