From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GYFT8-0002IC-ME for mharc-grub-devel@gnu.org; Fri, 13 Oct 2006 01:20:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYFT5-0002Ed-Dg for grub-devel@gnu.org; Fri, 13 Oct 2006 01:20:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYFT4-0002CV-7I for grub-devel@gnu.org; Fri, 13 Oct 2006 01:20:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYFT3-0002BR-Ls for grub-devel@gnu.org; Fri, 13 Oct 2006 01:20:21 -0400 Received: from [212.27.42.35] (helo=smtp5-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYFbQ-0006Iq-UM for grub-devel@gnu.org; Fri, 13 Oct 2006 01:29:01 -0400 Received: from saphi (boi78-1-82-232-198-173.fbx.proxad.net [82.232.198.173]) by smtp5-g19.free.fr (Postfix) with ESMTP id 9360B25B6E for ; Fri, 13 Oct 2006 07:20:20 +0200 (CEST) Received: from gingold by saphi with local (Exim 3.36 #1 (Debian)) id 1GYFV8-0000eF-00 for ; Fri, 13 Oct 2006 07:22:30 +0200 Date: Fri, 13 Oct 2006 07:22:30 +0200 To: The development of GRUB 2 Message-ID: <20061013052230.GA2490@saphi> References: <3E68BD4534D7FC4995E20ECE949EA0C72DA674@pdsmsx412.ccr.corp.intel.com> <20061012082155.GB2551@saphi> <87ejtd7ovp.fsf@night.trouble.net> <20061012113519.GA2487@saphi> <87ac417mya.fsf@night.trouble.net> <20061012141434.GA2483@saphi> <8764ep7dov.fsf@night.trouble.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8764ep7dov.fsf@night.trouble.net> User-Agent: Mutt/1.5.6+20040907i From: Tristan Gingold Subject: Re: Grub for ia64 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 05:20:24 -0000 On Thu, Oct 12, 2006 at 05:32:00PM +0200, Johan Rydberg wrote: > Tristan Gingold writes: > > > On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote: > >> Tristan Gingold 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.