------- Additional Comments From dougkwan at google dot com 2010-02-04 19:47 ------- Can you try this patch and send me back the error message?
Index: arm.cc =================================================================== RCS file: /cvs/src/src/gold/arm.cc,v retrieving revision 1.76 diff -u -u -p -r1.76 arm.cc --- arm.cc 4 Feb 2010 03:32:18 -0000 1.76 +++ arm.cc 4 Feb 2010 19:44:50 -0000 @@ -5654,6 +5654,16 @@ Arm_relobj<big_endian>::scan_sections_fo const Output_relaxed_input_section* poris = out_sections[index]->find_relaxed_input_section(this, index); gold_assert(poris != NULL); + if (poris == NULL) + { + printf("found bad section %s (index %u) in %s\n", + this->section_name(index).c_str(), index, + this->name().c_str()); + const elfcpp::Shdr<32, big_endian> shdr(pshdrs + index); + printf("section type=%u section flag=%u\n", + shdr.get_sh_type(), shdr.get_sh_flags()); + gold_unreachable(); + } output_address = poris->address(); } -- http://sourceware.org/bugzilla/show_bug.cgi?id=11247 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils