[PATCH] [GOLD] fix jump to long branch on powerpc

Michael Hudson-Doyle michael.hudson@canonical.com
Mon Nov 16 20:58:37 GMT 2020


PPS: I notice that fa40fbe484954c560ab1c0ff4bc1b2eeb1511344 changed this
code:

-                       value += ent->tocoff_;
+                       value +=
(elfcpp::ppc64_decode_local_entry(ent->other_)
+                                 + ent->tocoff_);

So perhaps tocoff_ still needs to be added? I don't know what tocoff_ is
about really, except that it seems to be power10 only.

Cheers,
mwh

On Tue, 17 Nov 2020 at 09:53, Michael Hudson-Doyle <
michael.hudson@canonical.com> wrote:

> PS: I think this should be backported to the 2.35 branch too.
>
> Cheers,
> mwh
>
> On Tue, 17 Nov 2020 at 08:01, Michael Hudson-Doyle <
> michael.hudson@canonical.com> wrote:
>
>> This is the patch I pasted to PR 26902 with a changelog entry added.
>>
>>


More information about the Binutils mailing list