Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNv8Q-0007aG-AC for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 16:22:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNv8O-0007Xe-6E for grub-devel@gnu.org; Thu, 24 Dec 2009 16:22:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNv8J-0007Qo-77 for grub-devel@gnu.org; Thu, 24 Dec 2009 16:22:11 -0500 Received: from [199.232.76.173] (port=34266 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNv8J-0007QY-1S for grub-devel@gnu.org; Thu, 24 Dec 2009 16:22:07 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:45728 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NNv8I-0002QK-J8 for grub-devel@gnu.org; Thu, 24 Dec 2009 16:22:06 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NNv8H-0008Te-2D for grub-devel@gnu.org; Thu, 24 Dec 2009 22:22:05 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NNv8G-0003DM-74 for grub-devel@gnu.org; Thu, 24 Dec 2009 22:22:04 +0100 Date: Thu, 24 Dec 2009 22:22:04 +0100 From: Robert Millan To: grub-devel@gnu.org Message-ID: <20091224212204.GJ12122@thorin> References: <20091211232016.GA12276@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091211232016.GA12276@thorin> 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: GNU/Linux 2.6 (newer, 3) Subject: Re: grub_elf32_size() X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 21:22:12 -0000 It seems this just didn't belong to relocator branch. Nothing to see here ;-) On Sat, Dec 12, 2009 at 12:20:17AM +0100, Robert Millan wrote: > > Not sure if I missed something obvious, but this commit (relocator branch) > seems to break compilation rather than fix it. Was grub_elf32_size() > number of args meant to be changed? > > -- > 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." > ------------------------------------------------------------ > revno: 1899 > committer: Vladimir 'phcoder' Serbinenko > branch nick: relocators > timestamp: Thu 2009-12-03 22:45:41 +0100 > message: > Fix compilation issue for ppc > > === modified file 'loader/powerpc/ieee1275/linux.c' > --- loader/powerpc/ieee1275/linux.c 2009-06-21 23:55:23 +0000 > +++ loader/powerpc/ieee1275/linux.c 2009-12-03 21:45:41 +0000 > @@ -110,7 +110,7 @@ grub_linux_load32 (grub_elf_t elf) > if (entry == 0) > entry = 0x01400000; > > - linux_size = grub_elf32_size (elf); > + linux_size = grub_elf32_size (elf, 0); > if (linux_size == 0) > return grub_errno; > /* Pad it; the kernel scribbles over memory beyond its load address. */ > @@ -160,7 +160,7 @@ grub_linux_load64 (grub_elf_t elf) > if (entry == 0) > entry = 0x01400000; > > - linux_size = grub_elf64_size (elf); > + linux_size = grub_elf64_size (elf, 0); > if (linux_size == 0) > return grub_errno; > /* Pad it; the kernel scribbles over memory beyond its load address. */ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Robert Millan "Be the change you want to see in the world" -- Gandhi