An ELF parser is required so that NativeOS can load code from executable files
A simple way to load code from ELF files placed by the bootloader, but separated from the main executable file (nativeos.elf) must be added.
At the moment, I am only interested in being able to relocate and use code from simple relocatable files, such as unlinked object files, so that some aspects of the kernel, such as drivers, can be decoupled from the kernel itself.
Updated by danirod almost 4 years ago
- % Done changed from 0 to 40
So far, a quick debug program that is able to dump information about ELF files has been written. The functions that compose this library should be incorporated into the trunk of the project soon.
As of yesterday, only the relocation aspect of these files is missing. This is required in order to be able to actually link relocatable files, such as kernel object files that could contain code with additional drivers.
A second read to the ELF document should be given to inspect for missing stuff.