grub-devel
[Top][All Lists]
Advanced

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

Re: Grub for ia64


From: Tristan Gingold
Subject: Re: Grub for ia64
Date: Fri, 13 Oct 2006 07:22:30 +0200
User-agent: Mutt/1.5.6+20040907i

On Thu, Oct 12, 2006 at 05:32:00PM +0200, Johan Rydberg wrote:
> Tristan Gingold <address@hidden> writes:
> 
> > On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote:
> >> Tristan Gingold <address@hidden> 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.
On my debian system, objdump -i:
efi-app-ia32

It's already here!
The binutils issue is mainly for ia64.  For i386, grub-mkimage.c works.

Tristan.




reply via email to

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