> In the bit of the spec you quote it says how p_memsz > p_filesz
> should be handled: "the 'extra' bytes are defined to hold the
> value 0". The segment itself is still p_memsz in size and the
> header defines that it has zeroes at the end of it. QEMU's loader
> needs to arrange that those zeroes are loaded.
>

Do we have a way for qemu to take a "binary" instead of elf with the
-kernel option?
I can create a binary out of the elf that does not have any
information about segments.

I tried to feed -kernel with the objcopy-created binary but it does
not work. :-(

Reply via email to