Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MWWyZ-00021E-RT for mharc-grub-devel@gnu.org; Thu, 30 Jul 2009 10:51:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWWyX-0001zj-Nv for grub-devel@gnu.org; Thu, 30 Jul 2009 10:51:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWWyU-0001wy-73 for grub-devel@gnu.org; Thu, 30 Jul 2009 10:51:21 -0400 Received: from [199.232.76.173] (port=56513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWWyT-0001wn-NI for grub-devel@gnu.org; Thu, 30 Jul 2009 10:51:17 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:64013) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWWyT-00081n-4Q for grub-devel@gnu.org; Thu, 30 Jul 2009 10:51:17 -0400 Received: by rv-out-0708.google.com with SMTP id f25so703242rvb.6 for ; Thu, 30 Jul 2009 07:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=RlYlzKIBSPnah4hCHVkuixZ0ReVJfudLOdogmdGOYu4=; b=t4z3m+n7Q4FjmXFnUQHNprSYUrmQkbWQVGlDUddhgfOnXqH+oBkq3uBkIO2JcuLvSl G+0y8g+SYWuls38BY55UyhkC+iQJcv4Vu++kWnWgAW/ZI4sfXE/us8zbd5AFc0yW8I+b CGcq+yHkjA2VVEVq8Djldsm5wT0Yz4vVe7UH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ieAbbvGYdz+Qqn2CD91waJiVD21EBDzgUnpJyfkcIS7RL9fS8M5DU0CNAnjVulyhL6 yruH/HV9hens+CFnbkMWAqzZDOA1hjtahV60N4wZkrtZbD+k2qV7dvRBayHNN+38VgPf CeVio6FrO7He18SOdoOBhrKFL//bU7MXlvTR8= MIME-Version: 1.0 Received: by 10.141.18.15 with SMTP id v15mr948602rvi.297.1248965475214; Thu, 30 Jul 2009 07:51:15 -0700 (PDT) In-Reply-To: References: <1248263254.10302.11.camel@accesodirecto.casa> <1248270128.10302.14.camel@accesodirecto.casa> Date: Thu, 30 Jul 2009 22:51:15 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] New object format 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, 30 Jul 2009 14:51:22 -0000 Hi, Update: Now change kernel.img to kernel.mod, and export symbol using GRUB_EXPORT instead of EXPORT_FUNC and EXPORT_VAR. grub-mkimage would link all modules files to generate core.img. The symbol list is generated by grub-mkimage, no need for symlist.c anymore. Here are some test results using the latest lib branch and corresponding unpatched version (svn r2435). The test uses mingw in a windows host: Compile time: svn: real 3m52.625s user 1m9.647s sys 2m8.904s lib: real 1m13.282s user 0m11.365s sys 0m22.748s Files generated in the compile process: (not counting include/machine and include/cpu) svn: Files 2599 (24308485 bytes) lib: Files 1007 (20610273 bytes) Size of all modules: svn: 635991 lib: 549199 Size of core.img using modules: pc biosdisk reiserfs raid raid6rec mdraid lvm svn: 33035 lib: 29822 -- Bean