[PATCH 1/2] powerpc: remove section changes from _GLOBAL() and friends

Stephen Rothwell sfr at canb.auug.org.au
Mon Apr 15 23:30:40 EST 2013


Hi Michael,

On Mon, 15 Apr 2013 22:00:17 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> On Thu, Nov 29, 2012 at 10:55:25AM +1100, Stephen Rothwell wrote:
> > These sometimes produce unexpected results and make it hard to put the
> > start up code (for 64 bit) into the .head.text section.
> 
> ...
> 
> > diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
> > index 6f62a73..4ec5625 100644
> > --- a/arch/powerpc/kernel/head_fsl_booke.S
> > +++ b/arch/powerpc/kernel/head_fsl_booke.S
> > @@ -776,6 +776,8 @@ tlb_write_entry:
> >  	mfspr	r10, SPRN_SPRG_RSCRATCH0
> >  	rfi					/* Force context change */
> >  
> > +	,text
> > +
> 
> I'm assuming this should be .text ?

Indeed.  Oops :-)

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20130415/28d3f598/attachment.sig>


More information about the Linuxppc-dev mailing list