[PATCH 2/2][Binutils][Arm]: Fix LSB of GOT for Thumb2 only PLT
Tamar Christina
Tamar.Christina@arm.com
Wed Apr 1 09:28:55 GMT 2020
Hi Amol,
> -----Original Message-----
> From: Amol <suratiamol@gmail.com>
> Sent: Tuesday, March 31, 2020 11:44 AM
> To: Tamar Christina <Tamar.Christina@arm.com>
> Cc: binutils@sourceware.org; nd <nd@arm.com>; Richard Earnshaw
> <Richard.Earnshaw@arm.com>; nickc@redhat.com; Ramana Radhakrishnan
> <Ramana.Radhakrishnan@arm.com>
> Subject: Re: [PATCH 2/2][Binutils][Arm]: Fix LSB of GOT for Thumb2 only PLT
>
> Hi Tamar,
>
> On 30/03/2020, Tamar Christina <tamar.christina@arm.com> wrote:
> > However I have not been able to do an execution test since I do not
> > have a way to actually test this. I am hoping the user who reported it
> > can test it but the patch is sound based on principles.
> >
>
> The issue was originally reported on Arm's community by a user rgujju [1]; I
> was just the debugger.
>
> > Amol would you be able to confirm the patch works on your setup?
> >
>
> The .got entries for both the binaries
> (a) on the ld/16017, and
> (b) on the setup at [1],
> now have the LSB set, where previously they did not.
>
> I tested the setup at [1], but on qemu alone; the control now successfully
> jumps to the plt0 stub, where previously it would just crash attempting that
> jump.
Thanks for testing!
>
> If it isn't too late, you may want to flag rgujju as the reporter of the bug.
> Apologies for any inconvenience caused.
>
> [1] https://community.arm.com/developer/ip-
> products/processors/f/cortex-m-forum/45919/gcc-does-not-generate-
> correct-code-while-building-pic
Oh.. I didn't even know about this section of community.arm.com.. Thanks for bringing the bug to our attention!
I'll credit rgujju for reporting it.
Thanks,
Tamar
>
> Thanks,
> amol
More information about the Binutils
mailing list