rld::rap::image::image |
( |
| ) |
|
void rld::rap::image::clear |
( |
| ) |
|
void rld::rap::image::collect_symbols |
( |
object & |
obj | ) |
|
Collection the symbols from the object file.
- Parameters
-
obj | The object file to collection the symbol from. |
std::size_t rld::rap::image::find_in_strtab |
( |
const std::string & |
symname | ) |
|
Find a symbol name in the string table.
uint32_t rld::rap::image::get_relocations |
( |
int |
sec | ) |
const |
The total number of relocations for a specific RAP section in the image.
void rld::rap::image::layout |
( |
const files::object_list & |
app_objects, |
|
|
const std::string & |
init, |
|
|
const std::string & |
fini |
|
) |
| |
Load the layout data from the object files.
- Parameters
-
app_objects | The object files in the application. |
init | The initialisation entry point label. |
fini | The finish entry point label. |
uint32_t rld::rap::image::section_size |
( |
sections |
sec | ) |
const |
Report the RAP section's size.
void rld::rap::image::update_section |
( |
int |
index, |
|
|
section & |
sec |
|
) |
| |
Update the section values.
- Parameters
-
index | The RAP section index to update. |
sec | The object's RAP section. |
Write the compressed output file. This is the top level write interface.
- Parameters
-
Write the RAP section to the compressed output file given the object files. Check to make sure the size in the layout and the size written match.
- Parameters
-
comp | The compressor. |
sec | The RAP setion to write. |
Write the sections to the compressed output file. The file sections are used to ensure the alignment. The offset is used to ensure the alignment of the first section of the object when it is written.
- Parameters
-
comp | The compressor. |
obj | The object file the sections are part of. |
secs | The container of file sections to write. |
offset | The current offset in the RAP section. |
Write the external symbols.
Write the relocation records for all the object files.
The documentation for this class was generated from the following file:
- /Users/chris/Development/rtems/src/apps/rtl-host.chrisj/rld-rap.cpp