[PATCH] powerpc: Make 256k pages depend on PPC32=n

Scott Wood scottwood at freescale.com
Wed Aug 20 08:30:44 EST 2014


On Tue, 2014-08-19 at 18:23 -0400, Pranith Kumar wrote:
> On Tue, Aug 19, 2014 at 6:19 PM, Scott Wood <scottwood at freescale.com> wrote:
> 
> >>  config PPC_256K_PAGES
> >>       bool "256k page size" if 44x
> >> -     depends on !STDBINUTILS
> >> +     depends on !PPC32 && !STDBINUTILS
> >>       help
> >>         Make the page size 256k.
> >>
> >
> > How will this ever be selected then?  44x is 32-bit only.
> 
> Indeed. I am actually confused about the error which is being thrown
> here. The operand (65536) is actually within the range. Any suggestions
> on how to fix this?

It's not within range of "li".  I wonder if whatever non-"STD" binutils
this is supposed to be used with is rewriting it into an lis
instruction.  This sort of external dependency is a poor fit for the
randconfig concept (plus, shouldn't the symbol be indicating what
binutils you're supposed to have rather than anything that isn't
"standard"?).

In any case, you could use something like LOAD_REG_IMMEDIATE().

-Scott




More information about the Linuxppc-dev mailing list