linux-mips
[Top] [All Lists]

Re: RFC: Sentosa boot fix

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: RFC: Sentosa boot fix
From: Thiemo Seufer <ths@networkno.de>
Date: Mon, 29 Jan 2007 18:07:21 +0000
Cc: macro@linux-mips.org, vagabon.xyz@gmail.com, dan@debian.org, linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <20070130.011442.21365159.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070128180807.GA18890@nevyn.them.org> <cda58cb80701290159m5eed331em5945eac4a602363a@mail.gmail.com> <Pine.LNX.4.64N.0701291527130.26916@blysk.ds.pg.gda.pl> <20070130.011442.21365159.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Atsushi Nemoto wrote:
> On Mon, 29 Jan 2007 15:46:20 +0000 (GMT), "Maciej W. Rozycki" 
> <macro@linux-mips.org> wrote:
> >  Well, the option used to select between 64-bit and 32-bit ELF for 
> > building 64-bit configurations.  I can see it has been changed from its 
> > original meaning and it now only controls whether "-mno-explicit-relocs" 
> > is passed to the compiler or not, which is sort of useless and certainly 
> > does not match the intent nor what the description says.  The 64-bit 
> > format is now used unconditionally and you can always pass such obscure 
> > options to the compiler on the make's command line, so instead of this fix 
> > I vote for complete removal of the BUILD_ELF64 option.
> 
> Though I do not know much about -mno-explicit-relocs,
> CONFIG_BUILD_ELF64 controls -msym32 option and this is the reason of
> the tweak in __pa_page_offset().
> 
> I thought -msym32 can not be used for 64-bit kernels which do not have
> CKSEG load address, but apparently IP27 is using -msym32 with XKPHYS
> load address.  Hmm...

IP27 kernels get objcopied to a CKSEG0 address.


Thiemo

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