https://sourceware.org/bugzilla/show_bug.cgi?id=26902

--- Comment #1 from Michael Hudson-Doyle <michael.hudson at canonical dot com> 
---
This not-thought-through at all patch:

diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index b0d6a74bec..1ef8c47053 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -11092,10 +11092,6 @@ Target_powerpc<size, big_endian>::Relocate::relocate(
                      value = (stub_table->stub_address()
                               + stub_table->plt_size()
                               + ent->off_);
-                     if (size == 64
-                         && r_type != elfcpp::R_PPC64_REL24_NOTOC)
-                       value += (elfcpp::ppc64_decode_local_entry(ent->other_)
-                                 + ent->tocoff_);
                    }
                  has_stub_value = true;
                }


fixes the issue for me. I certainly don't know if it would have other bad
effects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to