linux-mips
[Top] [All Lists]

Re: [PATCH 1/3] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_E

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: [PATCH 1/3] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_ELF64
From: Daniel Jacobowitz <dan@debian.org>
Date: Thu, 9 Aug 2007 11:18:12 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <11715446603241-git-send-email-fbuihuu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11715446603241-git-send-email-fbuihuu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.15 (2007-04-09)
On Thu, Feb 15, 2007 at 02:04:18PM +0100, Franck Bui-Huu wrote:
> From: Franck Bui-Huu <fbuihuu@gmail.com>
> 
> This patch removes '-mno-explicit-relocs' usage when
> CONFIG_BUILD_ELF64 is set since this option was only required
> with the old hack to truncate addresses at the assembly level
> where "-mabi=64 -Wa,-mabi=32" was used.
> 
> This should yield a small code size improvement for inline
> assembly, where the R constraint is used.
> 
> The idea is coming from Maciej <macro@linux-mips.org>.

It looks like nothing ever came of these patches?  I tried to boot my
Sentosa again today, and needed a slightly updated version of them.

I'm not positive I did the update correctly, though, since the board
panics in swapper after jumping to a bogus pointer.

-- 
Daniel Jacobowitz
CodeSourcery

<Prev in Thread] Current Thread [Next in Thread>