Do we need an ELF kernel? The main advantage of ELF is its 'relocatable code' specification; we can't implement that without a multitasking, memory-managing kernel. Therefore, the kernel can't be in ELF, but should instead be in BIN format. Does this make sense?
Imran Nazar
PS it makes the bootloader simpler, too!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do we need an ELF kernel? The main advantage of ELF is its 'relocatable code' specification; we can't implement that without a multitasking, memory-managing kernel. Therefore, the kernel can't be in ELF, but should instead be in BIN format. Does this make sense?
Imran Nazar
PS it makes the bootloader simpler, too!
I also think we don't need it.
I think the code is to be plain binary.
As DOS' and CP/M's COM format.
See my post "Object Loader".