From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JAy6c-0001HR-9v for mharc-grub-devel@gnu.org; Fri, 04 Jan 2008 20:45:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAy6a-0001HL-RA for grub-devel@gnu.org; Fri, 04 Jan 2008 20:45:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAy6Z-0001H9-Di for grub-devel@gnu.org; Fri, 04 Jan 2008 20:45:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAy6Z-0001H6-8u for grub-devel@gnu.org; Fri, 04 Jan 2008 20:45:43 -0500 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAy6Y-0007a7-UC for grub-devel@gnu.org; Fri, 04 Jan 2008 20:45:43 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 0113C3EB24 for ; Sat, 5 Jan 2008 02:50:31 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 5 Jan 2008 02:45:41 +0100 User-Agent: KMail/1.9.4 References: <20071231233451.GA6782@thorin> <1199471219.17196.35.camel@dv> <20080104203736.GA9375@thorin> In-Reply-To: <20080104203736.GA9375@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801050245.41356.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Testing on PowerMac G4 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: Sat, 05 Jan 2008 01:45:45 -0000 On Friday 04 January 2008 21:37, Robert Millan wrote: > > A quick look into util/elf/grub-mkimage.c finds "Don't bother preserving > > the section headers". I don't even know if the problem is specifically > > with the section headers or with something else. Perhaps > > util/elf/grub-mkimage.c should be rewritten as a linker script, or maybe > > it should use the BFD library that comes with binutils. I'm optimistic > > about the linker script, since all we need is essentially linking. > > There's another [1] outstanding problem with elf/grub-mkimage.c: > > http://lists.gnu.org/archive/html/grub-devel/2007-10/msg00056.html > > I think what you propose is a good idea. It sounds odd that we have to > reimplement ELF handling when another GNU project already has. But I don't > know how the GRUB maintainers think about it. > > [1] or, perhaps, it's the same problem? I object to using a linker, since it is more odd that the user must install development tools to just install GRUB. About BFD, the old discussion was that it made the binary size bloated, thus didn't fit into a small disk or initrd or whatever, so it was not convenient for installers. I don't know if the same discussion can apply nowadays, since most people install operating systems by CD or DVD, memory size is plenty, etc. Especially if this is only for OpenFirmware platforms, I don't believe that anybody cares. Okuji