grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiboot2: remove "a.out kludge" requirement


From: Andrei E. Warkentin
Subject: Re: multiboot2: remove "a.out kludge" requirement
Date: Fri, 17 Nov 2006 15:27:27 -0600

How about having a custom e_type for ELF images booted by GRUB? Something in the range between ET_LOOS and ET_HIOS (the OS specific types). This way one could avoid the Multiboot header in ELF, as the file would itself would identify self as GRUB-bootable or not. 

Also...
I am not familiar with the module architecture in GRUB2 (whether mods are ET_REL or ET_DYN), but having a custom type for those would sure simplify those code paths too. 

Andrei Evgenievich Warkentin
Cell: (+1) (847) 321-15-55


On 17.11.2006, at 15:10, Hollis Blanchard wrote:

One requirement listed for multiboot2 was that ELF headers should be
ignored, because NetBSD was setting their ELF addresses incorrectly.
This has now been fixed (see
removed that requirement.

ELF headers tell you where to load an executable far better than the
kludge, so it really doesn't make sense to ignore ELF.

-Hollis



_______________________________________________
Grub-devel mailing list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]