Re: [PATCH v2] powerpc/vmlinux.lds: Drop binutils < 2.18 workarounds

2019-04-04 Thread Christophe Leroy
Le 04/04/2019 à 16:53, Segher Boessenkool a écrit : Hi Joel, On Thu, Apr 04, 2019 at 12:17:40PM +, Joel Stanley wrote: On Fri, 29 Mar 2019 at 09:53, Segher Boessenkool wrote: On Fri, Mar 29, 2019 at 05:14:53PM +1030, Joel Stanley wrote: - NOTES :kernel :notes + NOTES I

Re: [PATCH v2] powerpc/vmlinux.lds: Drop binutils < 2.18 workarounds

2019-04-04 Thread Segher Boessenkool
Hi Joel, On Thu, Apr 04, 2019 at 12:17:40PM +, Joel Stanley wrote: > On Fri, 29 Mar 2019 at 09:53, Segher Boessenkool > wrote: > > On Fri, Mar 29, 2019 at 05:14:53PM +1030, Joel Stanley wrote: > > > - NOTES :kernel :notes > > > + NOTES > > > > I think this still need to be > > > >

Re: [PATCH v2] powerpc/vmlinux.lds: Drop binutils < 2.18 workarounds

2019-04-04 Thread Joel Stanley
On Fri, 29 Mar 2019 at 09:53, Segher Boessenkool wrote: > > Hi! > > On Fri, Mar 29, 2019 at 05:14:53PM +1030, Joel Stanley wrote: > > - NOTES :kernel :notes > > + NOTES > > I think this still need to be > > NOTES :kernel > > or the linker will complain. Did you try to build

Re: [PATCH v2] powerpc/vmlinux.lds: Drop binutils < 2.18 workarounds

2019-03-29 Thread Segher Boessenkool
Hi! On Fri, Mar 29, 2019 at 05:14:53PM +1030, Joel Stanley wrote: > - NOTES :kernel :notes > + NOTES I think this still need to be NOTES :kernel or the linker will complain. Did you try to build ppc64_defconfig? (And I do not know if there are any tools that expect the notes

[PATCH v2] powerpc/vmlinux.lds: Drop binutils < 2.18 workarounds

2019-03-29 Thread Joel Stanley
Segher added some workarounds for binutils < 2.18 and GCC < 4.2. We now set GCC 4.6 and binutils 2.20 as the minimum, so the workarounds can be dropped. This is mostly a revert of c6995fe4 ("powerpc: Fix build bug with binutils < 2.18 and GCC < 4.2"), except we keep the kernel PHDRS statement