From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jc1pk-0008Fy-79 for mharc-grub-devel@gnu.org; Wed, 19 Mar 2008 13:12:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jc1pj-0008FR-4Z for grub-devel@gnu.org; Wed, 19 Mar 2008 13:12:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jc1ph-0008Ep-Gn for grub-devel@gnu.org; Wed, 19 Mar 2008 13:12:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc1ph-0008Ec-AW for grub-devel@gnu.org; Wed, 19 Mar 2008 13:12:09 -0400 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 1Jc1ph-0004fx-20 for grub-devel@gnu.org; Wed, 19 Mar 2008 13:12:09 -0400 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 1Jc1pb-0008No-UY; Wed, 19 Mar 2008 18:12:07 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1Jc1p5-0005hk-Qd; Wed, 19 Mar 2008 18:11:31 +0100 Date: Wed, 19 Mar 2008 18:11:31 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080319171130.GA21872@thorin> References: <20080129051252.GA2504@saphi> <20080129095922.GA31756@thorin> <1201602926.479f016e27f08@imp.free.fr> <20080129113219.GA22894@thorin> <1201611409.479f22918bed6@imp.free.fr> <20080129131934.GB26291@thorin> <871w80adut.fsf@xs4all.nl> <20080130055734.GD4665@saphi> <20080130132559.GA15395@thorin> <1201709058.47a0a0021e1f3@imp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1201709058.47a0a0021e1f3@imp.free.fr> 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. Cc: tgingold@free.fr Subject: Re: IA64 port 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: Wed, 19 Mar 2008 17:12:11 -0000 On Wed, Jan 30, 2008 at 05:04:18PM +0100, tgingold@free.fr wrote: > Quoting Robert Millan : > > > On Wed, Jan 30, 2008 at 06:57:34AM +0100, Tristan Gingold wrote: > > > On Tue, Jan 29, 2008 at 03:46:50PM +0100, Marco Gerards wrote: > > > > Robert suggested some changes. I also noticed in the discussion that > > > > you didn't follow common practise (like an existing grub-mkimage > > > > implementation). Personally, as maintainer, I am against maintaining > > > > two different approaches of the same problem. It costs us time to > > > > maintain this and both case have separate bugs. So I rather see the > > > > code shared, one way or the other. To safe time, it might save you > > > > some work if you initiate a discussion about this. > > > > > > The facts: > > > > > > util/i386/efi/grub-mkimage.c and elf2pe.c do almost the same thing: > > converting > > > an ELF file to a PE file. But: > > > > > > * the input format is slightly different (Elf32 vs Elf64) > > > * the output format is slightly different (PE vs PE+) > > > * the relocating work is different (x86 vs ia64, Rel vs Rela) > > > * The entry point is a descriptor on ia64 > > > * grub-mkimage.c can insert modules in a section. > > > > Sounds like they're very different. Maybe it'd be fine to just change > > the name and user interface from elf2pe.c to util/ia64/efi/grub-mkimage.c ? > > > > What do you think? > > Fine for me. Will you send a new patch for this? -- 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 /.)