PR 26902
* powerpc.cc (Relocate::relocate): Do not include local entry
offset of target function when computing the address of a stub.
(cherry picked from commit
f1e05b19786669d29d59f48f26bc06ad67c221e2)
+2020-11-16 Michael Hudson-Doyle <michael.hudson@canonical.com>
+
+ PR 26902
+ * powerpc.cc (Relocate::relocate): Do not include local entry
+ offset of target function when computing the address of a stub.
+
2020-10-09 Alan Modra <amodra@gmail.com>
* powerpc.cc (Powerpc_relobj::do_relocate_sections): Don't do
+ ent->off_);
if (size == 64
&& r_type != elfcpp::R_PPC64_REL24_NOTOC)
- value += (elfcpp::ppc64_decode_local_entry(ent->other_)
- + ent->tocoff_);
+ value += ent->tocoff_;
}
has_stub_value = true;
}