Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HNvXi-0005cK-MZ for mharc-grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNvXh-0005cF-6b for grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNvXe-0005c2-Or for grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNvXe-0005bx-HT for grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:42 -0500 Received: from pop-cowbird.atl.sa.earthlink.net ([207.69.195.68]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNvXe-0007lB-7V for grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:42 -0500 Received: from user-0vvdf2d.cable.mindspring.com ([63.246.188.77] helo=[192.168.0.2]) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1HNvXb-0000ez-00 for grub-devel@gnu.org; Sun, 04 Mar 2007 13:34:39 -0500 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <200703041614.56304.plr.vincent@gmail.com> References: <200703041614.56304.plr.vincent@gmail.com> Content-Type: text/plain Date: Sun, 04 Mar 2007 12:34:38 -0600 Message-Id: <1173033278.15225.21.camel@diesel> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-1.fc6) Content-Transfer-Encoding: 7bit X-detected-kernel: Solaris 8 (1) Subject: Re: [PATCH] Fix build of sparc64 port & implement setjmp/longjmp 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, 04 Mar 2007 18:34:45 -0000 On Sun, 2007-03-04 at 16:14 +0100, Vincent Pelletier wrote: > Hi. > > Here is a (mostly) maintainance patch for sparc64 port. > It only fixes the build and implements setjmp/longjmp so that one can jump to > rescue mode. It looks like you also introduce new ELF relocations, I guess because you've stumbled across modload errors? > I prefer to post the patch for validation before commiting, it's been too long > I haven't post to go on my own :) . (changelog is in the diff :p ). Could you remove the commented-out code in setjmp.S please? Also, it doesn't look like you're actually calling grub_claim_heap(). In that case, why add it to kern/sparc64/ieee1275/init.c ? > +typedef grub_uint64_t grub_jmp_buf[10]; ... > -grub_jmp_buf grub_exit_env; > +grub_jmp_buf grub_exit_env __attribute__ ((__aligned__(8))); grub_jmp_buf should already be 8-byte aligned (because grub_uint64_t is, right?), so you should leave grub_exit_env alone. -Hollis