From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CaEks-0008Uj-E0 for mharc-grub-devel@gnu.org; Fri, 03 Dec 2004 09:49:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CaEkq-0008T5-IN for grub-devel@gnu.org; Fri, 03 Dec 2004 09:49:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CaEko-0008Rr-Tq for grub-devel@gnu.org; Fri, 03 Dec 2004 09:49:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CaEko-0008Ro-RJ for grub-devel@gnu.org; Fri, 03 Dec 2004 09:49:50 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CaEaw-0002ER-JD for grub-devel@gnu.org; Fri, 03 Dec 2004 09:39:38 -0500 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 5AEFD922D; Fri, 3 Dec 2004 15:15:48 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 13104-04; Fri, 3 Dec 2004 15:15:46 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 4EB30A92D; Fri, 3 Dec 2004 15:15:46 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id BB8CAC05B; Fri, 3 Dec 2004 15:15:45 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: Johan Rydberg References: <20041203053646.GA22463@miracle> <87mzwvlf4o.fsf@marco.marco-g.com> <87fz2ntrtc.fsf@night.trouble.net> From: Marco Gerards Date: Fri, 03 Dec 2004 14:14:37 +0000 In-Reply-To: <87fz2ntrtc.fsf@night.trouble.net> (Johan Rydberg's message of "Fri, 03 Dec 2004 14:49:35 +0100") Message-ID: <87acsvlb8y.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Cc: The development of GRUB 2 Subject: Re: [ppc patch] grub-mkimage 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: Fri, 03 Dec 2004 14:49:53 -0000 Johan Rydberg writes: >> For some reason my REL24 code does not work, when it does I will send >> in a patch. But there are 3 options we should consider: [...] > If I'm not mistaken, you're using the regular SVR4 ABI for PPC. It > might be a good idea to take a look at the EABI (Embedded ABI) [1] You are right about that. Thanks a lot for the suggestion. > I'm not sure if you have to re-configure GCC to make it EABI-compat, > or if there's a configuration switch for this. Anyway, as I said, > it might be worth looking into. What I did is using the following options: -memb -meabi -msdata=eabi After that the R_PPC_REL24 relocation was still there. In addition to that the R_PPC_EMB_SDA21 relocation was added. So the relative relocation is still there and things got even more complex... Did I do something wrong here? Thanks, Marco