From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J3rVj-0006pH-34 for mharc-grub-devel@gnu.org; Sun, 16 Dec 2007 06:18:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J3rVf-0006oj-Lz for grub-devel@gnu.org; Sun, 16 Dec 2007 06:18:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J3rVe-0006oP-0Z for grub-devel@gnu.org; Sun, 16 Dec 2007 06:18:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3rVd-0006oI-9U for grub-devel@gnu.org; Sun, 16 Dec 2007 06:18:13 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J3rVc-0000Q4-OS for grub-devel@gnu.org; Sun, 16 Dec 2007 06:18:13 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1J3rVY-0003UW-Os for grub-devel@gnu.org; Sun, 16 Dec 2007 12:18:10 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1J3rVG-00026c-AC for grub-devel@gnu.org; Sun, 16 Dec 2007 12:17:50 +0100 Date: Sun, 16 Dec 2007 12:17:50 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071216111750.GB7945@thorin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Use linker script to remove unnecessary sections 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, 16 Dec 2007 11:18:16 -0000 On Fri, Dec 14, 2007 at 08:11:36PM +0800, Bean wrote: > Hi, > > This patch use customized linker script to build *.img and *.mod > files, it should remove unnecessary sections created by the compiler. > > > 2007-12-14 Bean > > * conf/i386-pc.rmk (COMMON_LDFLAGS): Use ldscript to link. > > * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Test ldscript. > > * configure.ac : Remove the '--build-id=none' flag. This probably breaks other targets than i386-pc. linuxbios and ieee1275 both use ELF. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)