From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKZVO-0007fq-1g for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 08:31:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKZVM-0007fG-Dx for grub-devel@gnu.org; Thu, 31 Jan 2008 08:31:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKZVK-0007ep-JJ for grub-devel@gnu.org; Thu, 31 Jan 2008 08:30:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKZVK-0007em-7y for grub-devel@gnu.org; Thu, 31 Jan 2008 08:30:58 -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 1JKZVJ-00086G-MT for grub-devel@gnu.org; Thu, 31 Jan 2008 08:30:57 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 556153EB26 for ; Thu, 31 Jan 2008 14:37:32 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Thu, 31 Jan 2008 14:30:54 +0100 User-Agent: KMail/1.9.4 References: <20080128090910.GC13368@thorin> <200801311238.01385.okuji@enbug.org> <20080131124708.GA15484@thorin> In-Reply-To: <20080131124708.GA15484@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801311430.55109.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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: Thu, 31 Jan 2008 13:31:00 -0000 On Thursday 31 January 2008 13:47, Robert Millan wrote: > On Thu, Jan 31, 2008 at 12:38:01PM +0100, Yoshinori K. Okuji wrote: > > On Thursday 31 January 2008 11:47, Robert Millan wrote: > > > > 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. > > > > > > Sure it would. Shouldn't be too hard, geninit.sh does half of what you > > > want already. > > > > What does it mean? Do you want to use ld from grub-mkimage? > > No, not grub-mkimage. We were talking about the possibility that a C file > can be used as a module or linked in kernel.elf just by changing the > makefiles, without need to modify the code itself (to get grub_foo_init() > working). > > (Note that, ia64 patch just submitted uses ld in grub-install; have a look > if you're concerned about that) Ah, ok. Understood. :) Thanks, Okuji