Eric W. Biederman wrote: > > So we won't do this casually and if it there are real problems we will > remove the ELF magic number. > I think we can use ELF-compatible format just fine, but it would make more sense to use a non-ELF magic number from the start, instead of signalling it with a note. Since bootloaders need to be aware, anyway, they can just detect this magic and treat is as an Linux calling convention ELF image, or they can not detect it, and treat it as a bzImage. As a side benefit, we: a) can use a magic number that contains a jump instruction (to keep the non-bootsector happy); b) get a proper Linux kernel magic number. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- References:
- [PATCH] [0/22] x86 candidate patches for review II: 64bit relocatable kernel
- From: Andi Kleen <ak@suse.de>
- [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Andi Kleen <ak@suse.de>
- Re: [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeff Garzik <jeff@garzik.org>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Gerd Hoffmann <kraxel@redhat.com>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: "H. Peter Anvin" <hpa@zytor.com>
- Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- From: ebiederm@xmission.com (Eric W. Biederman)
- [PATCH] [0/22] x86 candidate patches for review II: 64bit relocatable kernel
- Prev by Date: Re: arch/i386/boot rewrite, and all the hard-coded video cards
- Next by Date: Re: arch/i386/boot rewrite, and all the hard-coded video cards
- Previous by thread: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- Next by thread: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- Index(es):
![]() |