[Top] [All Lists]

Re: RFC: Sentosa boot fix

To: Atsushi Nemoto <>
Subject: Re: RFC: Sentosa boot fix
From: "Maciej W. Rozycki" <>
Date: Mon, 29 Jan 2007 18:32:48 +0000 (GMT)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
On Tue, 30 Jan 2007, Atsushi Nemoto 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 missed this bit, sorry.  Then the original note applies -- the setting 
of BUILD_ELF64 is whatever suits one building the kernel the best.  And 
certainly for binaries built to run from CKSEG0 either value of 
BUILD_ELF64 is reasonable.


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