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

#include <rld-files.h>

Public Member Functions

 section (const elf::section &es)
 
void load_relocations (const elf::section &es)
 

Public Attributes

const std::string name
 
const int index
 
const uint32_t type
 
const size_t size
 
const uint32_t alignment
 
const uint32_t link
 
const uint32_t info
 
const uint32_t flags
 
const off_t offset
 
bool rela
 
relocations relocs
 

Detailed Description

The sections attributes. We extract what we want because the elf::section class requires the image be left open as references are alive. We extract and keep the data we need to create the image.

Constructor & Destructor Documentation

rld::files::section::section ( const elf::section es)

Construct from an ELF section.

Parameters
esThe ELF section to load the object file section from.

Member Function Documentation

void rld::files::section::load_relocations ( const elf::section es)

Load the ELF relocations.

Parameters
esThe ELF section to load the relocations from.

Member Data Documentation

const uint32_t rld::files::section::alignment
const uint32_t rld::files::section::flags
const int rld::files::section::index
const uint32_t rld::files::section::info
const uint32_t rld::files::section::link
const std::string rld::files::section::name
const off_t rld::files::section::offset
bool rld::files::section::rela
relocations rld::files::section::relocs
const size_t rld::files::section::size
const uint32_t rld::files::section::type

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