From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lb2Zy-0001DB-AM for mharc-grub-devel@gnu.org; Sat, 21 Feb 2009 19:52:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lb2Zv-0001Bg-GX for grub-devel@gnu.org; Sat, 21 Feb 2009 19:52:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lb2Zt-0001AG-1D for grub-devel@gnu.org; Sat, 21 Feb 2009 19:52:18 -0500 Received: from [199.232.76.173] (port=46362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lb2Zs-0001AD-Qu for grub-devel@gnu.org; Sat, 21 Feb 2009 19:52:16 -0500 Received: from aybabtu.com ([69.60.117.155]:46999) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lb2Zq-00054A-VL; Sat, 21 Feb 2009 19:52:15 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Lb2TH-0004jz-0f; Sun, 22 Feb 2009 01:45:27 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Lb2Zn-0007g1-2L; Sun, 22 Feb 2009 01:52:11 +0100 Date: Sun, 22 Feb 2009 01:52:11 +0100 From: Robert Millan To: e_mc_h2@web.de Message-ID: <20090222005211.GA29483@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: "Neal H. Walfield" , grub-devel@gnu.org Subject: Re: bugs in loader/i386/pc/multiboot.c 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, 22 Feb 2009 00:52:20 -0000 Hi, The problem with elf64 in our multiboot loader is that it duplicates a lot of code from elf32 and this eventually leads to bitrot. In fact, grub_multiboot_load_elf32 and grub_multiboot_load_elf64 are supposed to be almost identical, and only differ in s/32/64/ references. It'd be fairly simple to resincronize them, but I'd really like to find a way to prevent this from happening again. Does someone have any idea on what would be a good approach? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."