With plain binary, it was easy to just jump to the first line of code, but with ELF, how would I go about in reading the headers and jumping to the right place with my bootloader? (and please don't say use GRUB
Loading an ELF kernel?
Loading an ELF kernel?
I'm thinking of switching from plain binary to an ELF kernel, since I've decided to rewrite my OS in C instead of ASM.
With plain binary, it was easy to just jump to the first line of code, but with ELF, how would I go about in reading the headers and jumping to the right place with my bootloader? (and please don't say use GRUB
)
With plain binary, it was easy to just jump to the first line of code, but with ELF, how would I go about in reading the headers and jumping to the right place with my bootloader? (and please don't say use GRUB
"Sufficiently advanced stupidity is indistinguishable from malice."

