RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rld::rap::section Struct Reference

Public Member Functions

 section ()
 
void clear ()
 
uint32_t size (uint32_t offset=0) const
 
uint32_t alignment () const
 
uint32_t alignment (int index) const
 
void set_offset (const section &sec)
 
const osectionget_osection (int index) const
 
void output ()
 

Public Attributes

std::string name
 
uint32_t offset
 
bool rela
 
relocations relocs
 
osections osecs
 
osecindexes osindexes
 

Detailed Description

The RAP section data.

Constructor & Destructor Documentation

rld::rap::section::section ( )

Default constructor.

Member Function Documentation

uint32_t rld::rap::section::alignment ( ) const

The alignment of the first section.

uint32_t rld::rap::section::alignment ( int  index) const

The alignment of the object section given its index.

void rld::rap::section::clear ( )

Clear the section.

const osection & rld::rap::section::get_osection ( int  index) const

Return the object section given the index.

void rld::rap::section::output ( )

Output helper function to report the sections in an object file. This is useful when seeing the flags in the sections.

void rld::rap::section::set_offset ( const section sec)

Set the offset of this section based on the previous section.

uint32_t rld::rap::section::size ( uint32_t  offset = 0) const

The size of the section given the offset.

Member Data Documentation

std::string rld::rap::section::name
uint32_t rld::rap::section::offset
osections rld::rap::section::osecs
osecindexes rld::rap::section::osindexes
bool rld::rap::section::rela
relocations rld::rap::section::relocs

The documentation for this struct was generated from the following file: