bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/17566] ld: internal error in set_is_section_symbol, at object.


From: markus at trippelsdorf dot de
Subject: [Bug gold/17566] ld: internal error in set_is_section_symbol, at object.h:1771 building Linux kernel on ppc64
Date: Wed, 03 Dec 2014 11:20:26 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]