From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Cw3sS-00068F-S9 for mharc-grub-devel@gnu.org; Tue, 01 Feb 2005 14:39:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw3sQ-00066K-FO for grub-devel@gnu.org; Tue, 01 Feb 2005 14:39:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw3sN-00064o-P2 for grub-devel@gnu.org; Tue, 01 Feb 2005 14:39:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw3sN-00064e-Ms for grub-devel@gnu.org; Tue, 01 Feb 2005 14:39:51 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw3fG-0000Ne-HY for grub-devel@gnu.org; Tue, 01 Feb 2005 14:26:18 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 6B11B9BA0 for ; Tue, 1 Feb 2005 20:26:16 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 30364-05 for ; Tue, 1 Feb 2005 20:26:14 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 5CA3B9051 for ; Tue, 1 Feb 2005 20:26:14 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 1EE83C048 for ; Tue, 1 Feb 2005 20:26:14 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050201044708.GB3969@zulo.hadrons.org> From: Marco Gerards Date: Tue, 01 Feb 2005 19:26:12 +0000 In-Reply-To: <20050201044708.GB3969@zulo.hadrons.org> (Guillem Jover's message of "Tue, 1 Feb 2005 05:47:08 +0100") Message-ID: <87brb4kror.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: consolidate ELF header checks 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: Tue, 01 Feb 2005 19:39:55 -0000 Guillem Jover writes: > Hi, > > I'm working on the kFreeBSD loader and thus merging some common > code to not have to duplicate it even more. This is the first patch > from this serie. That's really nice! I am looking forward to your other patches. > I've spoken with Marco about creating a new elf helper loader module > so other loaders can share common functions. Maybe later we can add > a.out or coff helper modules... Or maybe even move most of the > functionality from dl to the elf module. Yeah, I guess. Let's see what is practical. i don't think you can make a module of the code required by dl, because dl is required to load it. But it can be improved a lot at least. > This patch merges common ELF header checks. Please test this on PPC > as I've only tested on x86. I will test it. > 2005-02-01 Guillem Jover The review of the patch will follow after I tested it. Thanks, Marco