Use
You have to compile your platform with
Uses('common:elf_file_loader'),
You only have to pass the filename to the Loader
soclib::common::Loader loader( "myfile.elf" );
What gets loaded
This loader respects the section headers from the ELF it opens.
- It will load every non-empty loadable section
- It will mark read-only sections as such
- It will mark code sections as such
- It uses Loading Memory Address (LMA) of sections.
Last modified 16 years ago
Last modified on Feb 27, 2009, 11:16:32 AM