It could, or just treat it as a raw binary at 1M+offset to skip the headers.
OK, but that has the same problem as making the payload an ELF file:
32-bit bootloaders which simply jump to 1M will be jumping into data
rather than code - and I got the impression from taking to Eric at KS
that there are such bootloaders.
If that's not an issue, then I still think the payload should be a plain
ELF file (possibly self-decompressing, or just a plain uncompressed
vmlinux, if that's what's desired). Still think making a protected-mode
bootloader do the decompression is the wrong way to go about this; ELF
is enough.
J
-