Feature #3
open
An ELF parser is required so that NativeOS can load code from executable files
Added by danirod over 3 years ago.
Updated over 3 years ago.
Description
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.
- % 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.
- Status changed from New to In Progress
- % Done changed from 40 to 70
Also available in: Atom
PDF