From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EbK7E-0006J9-TQ for mharc-grub-devel@gnu.org; Sun, 13 Nov 2005 10:50:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbK7B-0006Iw-7g for grub-devel@gnu.org; Sun, 13 Nov 2005 10:49:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbK78-0006IS-UG for grub-devel@gnu.org; Sun, 13 Nov 2005 10:49:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbK77-0006IL-Vp for grub-devel@gnu.org; Sun, 13 Nov 2005 10:49:54 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EbK78-0003l7-3Q for grub-devel@gnu.org; Sun, 13 Nov 2005 10:49:54 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 0F09B86A4 for ; Sun, 13 Nov 2005 16:49:53 +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 20214-04; Sun, 13 Nov 2005 16:49:52 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 25C018A4C; Sun, 13 Nov 2005 16:49:52 +0100 (CET) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id C9343C047; Sun, 13 Nov 2005 16:49:51 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87wtjibufi.fsf@student.han.nl> From: Marco Gerards Date: Sun, 13 Nov 2005 16:49:52 +0100 In-Reply-To: <87wtjibufi.fsf@student.han.nl> (Marco Gerards's message of "Wed, 09 Nov 2005 00:18:09 +0100") Message-ID: <87br0olf8f.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (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 Cc: Subject: Re: Generating init and fini functions 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: Sun, 13 Nov 2005 15:49:58 -0000 Marco Gerards writes: > Here is a patch that solves that. First I removed all the init and > fini functions and let GRUB_MOD_INIT and GRUB_MOD_FINI generate these > functions. I have added a script that creates a header file with all > the function prototypes for these generated functions. And finally I > have added a script that can generate a C file with the functions > `grub_init_all' and `grub_fini_all'. Committed. I fixed the main issues Tomas and Timothy had with it. The powerpc port was not tested because my crosscompiler is very broken ATM. I'll fix it soon so I can test all PPC changes again before I commit something. Thanks, Marco