RTEMS Linker
0.0.1
RTEMS Tools Project
|
#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 |
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.
rld::files::section::section | ( | const elf::section & | es | ) |
Construct from an ELF section.
es | The ELF section to load the object file section from. |
void rld::files::section::load_relocations | ( | const elf::section & | es | ) |
Load the ELF relocations.
es | The ELF section to load the relocations from. |
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 |