Re: [PATCH] powerpc/32: Include .branch_lt in data section

2018-12-19 Thread Michael Ellerman
Alan Modra writes: > On Thu, Nov 15, 2018 at 11:47:52PM +1100, Michael Ellerman wrote: >> Alan Modra writes: >> >> > On Wed, Nov 14, 2018 at 01:32:18PM +1030, Joel Stanley wrote: >> >> I wasn't sure where this should go or if the ordering matters. >> > >> > The usual answer is: "Look at where th

Re: [PATCH] powerpc/32: Include .branch_lt in data section

2018-11-18 Thread Alan Modra
On Thu, Nov 15, 2018 at 11:47:52PM +1100, Michael Ellerman wrote: > Alan Modra writes: > > > On Wed, Nov 14, 2018 at 01:32:18PM +1030, Joel Stanley wrote: > >> I wasn't sure where this should go or if the ordering matters. > > > > The usual answer is: "Look at where the section goes in the standa

Re: [PATCH] powerpc/32: Include .branch_lt in data section

2018-11-15 Thread Michael Ellerman
Alan Modra writes: > On Wed, Nov 14, 2018 at 01:32:18PM +1030, Joel Stanley wrote: >> When building a 32 bit powerpc kernel with Binutils 2.31.1 this warning >> is emitted: >> >> powerpc-linux-gnu-ld: warning: orphan section `.branch_lt' from >> `arch/powerpc/kernel/head_44x.o' being placed in

Re: [PATCH] powerpc/32: Include .branch_lt in data section

2018-11-13 Thread Alan Modra
On Wed, Nov 14, 2018 at 01:32:18PM +1030, Joel Stanley wrote: > When building a 32 bit powerpc kernel with Binutils 2.31.1 this warning > is emitted: > > powerpc-linux-gnu-ld: warning: orphan section `.branch_lt' from > `arch/powerpc/kernel/head_44x.o' being placed in section `.branch_lt' > > A

[PATCH] powerpc/32: Include .branch_lt in data section

2018-11-13 Thread Joel Stanley
When building a 32 bit powerpc kernel with Binutils 2.31.1 this warning is emitted: powerpc-linux-gnu-ld: warning: orphan section `.branch_lt' from `arch/powerpc/kernel/head_44x.o' being placed in section `.branch_lt' As of binutils commit 2d7ad24e8726 ("Support PLT16 relocs against local symbo