[PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

Christophe Leroy christophe.leroy at c-s.fr
Thu Mar 28 17:19:57 AEDT 2019



Le 27/03/2019 à 19:21, Segher Boessenkool a écrit :
> On Wed, Mar 27, 2019 at 07:47:55AM -0500, Segher Boessenkool wrote:
>> On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote:
>>> Le 26/03/2019 à 23:29, Segher Boessenkool a écrit :
>>>> I tried to reproduce this.  It does not fail with a ppc6xx_defconfig
>>>> build, and mpc885_ads_defconfig fails with
>>>
>>> So far, the only defconfig which fails for me is ppc64_defconfig, like
>>> Michael.
>>
>> Oh, I misunderstood then.  Let me try that :-)
> 
> Yeah, okay, we should have some PHDRS statement here still.  You can drop
> the dummy segment, and the notes segment as well, or you can keep the notes
> section in both the notes and kernel segments.

Is the note segment useful at all ? I guess if we decide to keep it, we 
should have a reason.

> 
> (You patch doesn't apply btw, whitespace damage I think; will you send a
> new one?)

Originally the patch is by Joel Stanley <joel at jms.id.au>

I guess he will send a v2 taking into account the discussion ?

Or maybe you can send it yourself as you are probably the best person to 
explain in details the change in the commit message.

Christophe


More information about the Linuxppc-dev mailing list