Changes between Initial Version and Version 1 of Component/Loader/Elf File Loader


Ignore:
Timestamp:
Feb 27, 2009, 11:16:32 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Loader/Elf File Loader

    v1 v1  
     1= Use =
     2
     3You have to compile your platform with
     4{{{
     5 Uses('common:elf_file_loader'),
     6}}}
     7
     8You only have to pass the filename to the Loader
     9{{{
     10  soclib::common::Loader loader( "myfile.elf" );
     11}}}
     12
     13= What gets loaded =
     14
     15This loader respects the section headers from the ELF it opens.
     16 * It will load every non-empty loadable section
     17 * It will mark read-only sections as such
     18 * It will mark code sections as such
     19 * It uses Loading Memory Address (LMA) of sections.