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

Joel Stanley joel at jms.id.au
Thu Apr 4 23:17:40 AEDT 2019


On Fri, 29 Mar 2019 at 09:53, Segher Boessenkool
<segher at kernel.crashing.org> 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 ppc64_defconfig?

Yeah, I did build (and boot, in qemu) the ppc64_defconfig. I tried
leaving in/removing the :kernel annotation in a bunch of places and as
long as I had it in the first spot, the kernel linked.

Shall I respin with this added?

> (And I do not know if there are any tools that expect the notes in a phdr,
> or even specifically the second phdr).
>
>
> Segher


More information about the Linuxppc-dev mailing list