This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] xtensa: gas: don't keep relocations for constants
- From: Romain Naour <romain dot naour at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sourceware dot org, Sterling Augustine <augustine dot sterling at gmail dot com>, Eric Tsai <erictsai at cadence dot com>, linux-xtensa at linux-xtensa dot org
- Date: Sun, 3 Feb 2019 14:50:04 +0100
- Subject: Re: [PATCH] xtensa: gas: don't keep relocations for constants
- References: <20190128092137.22150-1-jcmvbkbc@gmail.com> <be4f2ffc-3ce8-175b-2910-21174a407113@redhat.com> <CAMo8BfKSGOnp8fEJaf9D4cmYZGojijC4Vj=x2iDnzLAFb1jNcQ@mail.gmail.com> <fdc601bd-27dc-70b1-9212-7ae1511bac15@redhat.com> <CAMo8BfJraw+Y7A_Gs_mV0E0FvK=cA9yTLRs2U_kwV2fNSpo3Sw@mail.gmail.com> <f3ab67d9-3c5f-05ac-0cfa-8fa19b9c2ddb@gmail.com> <894c8196-19ae-c59e-b9f8-86146e852eb5@gmail.com> <CAMo8BfLTjv-Y=O0V1QJc_BctFPPBqCDUO7acBtkHjKrSjaxTcQ@mail.gmail.com>
Hi Max,
Le dim. 3 févr. 2019 à 14:36, Max Filippov <jcmvbkbc@gmail.com> a écrit :
> Hi Romain,
>
> On Sun, Feb 3, 2019 at 3:20 AM Romain Naour <romain.naour@gmail.com>
> wrote:
> > I tested the patch using Binutils 2.32, the toolchain build is ok but
> the kernel
> > doesn't boot.
>
> This is because the section .note.gnu.build-id that is inserted at the
> beginning of the kernel. This was fixed by the commit 4119ba211bc4
> (xtensa: add NOTES section to the linker script) in the linux mainline
> which was backported to a number of stable kernels, but not into the
> 4.16.y
> I've changed kernel version to 4.19 in the buildroot, it builds and boots
> successfully.
>
Thanks, I'll add a comment about this while adding Binutils 2.32 into
Buildroot.
Also, all Buildroot's Qemu configs will be updated soon with kernel 4.19.
Best regards,
Romain
> --
> Thanks.
> -- Max
>