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

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Possible fix as suggested in comment 1:

diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index 554bf38..97b6e39 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -5581,7 +5581,7 @@ Target_powerpc<size, big_endian>::Scan::local(
            { 
              check_non_pic(object, r_type);
              unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info());
-             rela_dyn->add_local(object, r_sym, r_type, output_section,
+             rela_dyn->add_local_section(object, r_sym, r_type,
output_section,
                                  data_shndx, reloc.get_r_offset(),
                                  reloc.get_r_addend());
            }

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to