Tristan Gingold <[EMAIL PROTECTED]> writes:

> On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote:
>> Tristan Gingold <[EMAIL PROTECTED]> writes:
>> 
>> >> You're telling me that EFI on your IA-64 system does not relocate the
>> >> program before start executing it?  That sounds strange.
>> >
>> > It does relocate EFI PEI images.  Unfortunatly there is no tools to create
>> > EFI PEI objects on Linux.  The gnu efi tools are kludgy: they use standard
>> > gcc and ld, create an ELF image and convert it to a PEI image.  But the
>> > relocations are not converted, they are simply put into the data section.
>> 
>> How hard would it be to write a converter ourselves, starting with
>> util/i386/efi/grub-mkimage.c?  
> Not that hard, but
> * we'd better to have one grub-mkimage.c for all EFI targets

I agree.

> * working on binutils is even better.

The key problem with this as I see it is that it would force people to
have a cross-compiler suite installed, at least for i386 hosts.  Unless
we can magically get the default installation to include PE-support.

~j

Attachment: pgpnKsdi1NXN0.pgp
Description: PGP signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to