aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/powerpc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index 6b12ed8..11b9869 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -11201,6 +11201,8 @@ Target_powerpc<size, big_endian>::Relocate::relocate(
{
if (ent->save_res_)
value = (value - target->savres_section()->address()
+ + stub_table->stub_address()
+ + stub_table->plt_size()
+ stub_table->branch_size());
else
{