From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKLjA-0003Vr-5p for mharc-grub-devel@gnu.org; Wed, 30 Jan 2008 17:48:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKLj8-0003VQ-5f for grub-devel@gnu.org; Wed, 30 Jan 2008 17:48:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKLj6-0003Uy-9u for grub-devel@gnu.org; Wed, 30 Jan 2008 17:48:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKLj6-0003Uv-7j for grub-devel@gnu.org; Wed, 30 Jan 2008 17:48:16 -0500 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JKLj5-0000PI-Sp for grub-devel@gnu.org; Wed, 30 Jan 2008 17:48:16 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 30 Jan 2008 17:48:15 -0500 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id F1FD1619058 for ; Wed, 30 Jan 2008 17:48:14 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080130222628.GB7679@thorin> References: <1201490732.20392.15.camel@rd> <20080128090910.GC13368@thorin> <20080128093028.GA29689@thorin> <1201527891.15848.6.camel@dv> <20080128162900.GA9715@thorin> <877ihtc9h4.fsf@xs4all.nl> <1201729345.8103.36.camel@dv> <20080130220320.GB6731@thorin> <1201731303.8103.41.camel@dv> <20080130222628.GB7679@thorin> Content-Type: text/plain Date: Wed, 30 Jan 2008 17:48:14 -0500 Message-Id: <1201733294.8103.67.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-1.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms 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: Wed, 30 Jan 2008 22:48:18 -0000 On Wed, 2008-01-30 at 23:26 +0100, Robert Millan wrote: > > I only said "I assume" because there is a subtle difference between a > > "valid ELF file" and "indistinguishable for kernel.elf". It should be > > valid and acceptable to the OpenFirmware, and the later is a black box > > to me. > > Uhm.. I wonder what'd happen if you pre-link all the stuff into kernel.elf. I tried to prelink "apple" and "hfs" by changing the makefiles. The functionality wasn't available. It makes sense, because the core doesn't know that the modules are linked. The modules are never registered with the core. It would be nice to have some linker trick to tell the code about the prelinked modules. That could make grub-mkimage a very thin wrapper around "ld -r", perhaps written as a shell script. -- Regards, Pavel Roskin