Re: [PATCH RFC 6/7] i386: make the bzImage payload an ELF file

From: H. Peter Anvin
Date: Wed Jun 06 2007 - 21:55:28 EST


Rob Landley wrote:
> On Wednesday 06 June 2007 7:41 pm, H. Peter Anvin wrote:
>> This makes vmlinux (normally stripped) recoverable from the bzImage file
>> and so anything that is currently booting vmlinux would be serviced by
>> this scheme.
>
> Would this make it sane to strip the initramfs image out of vmlinux with
> objdump and replace it with another one, or are there offsets resolved during
> the build that stop that for vmlinux?
>

There probably are offsets resolved during the build. However, that
wouldn't be all that hard to fix. Still, one can argue whether or not
it is sane under any definition to do this kind of unpacking-repacking
of ELF files.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/