http://sourceware.org/bugzilla/show_bug.cgi?id=15113
Bug #: 15113 Summary: sh-elf-ld segfault Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: anders.monto...@iki.fi Classification: Unclassified binutils 2.23.51.20130207 configured for sh-elf, host OS X 10.7.5 $ sh-elf-ld a.o b.o crt0.o -o foo.elf Segmentation fault: 11 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ld 0x000000010afdbd87 sh_elf_finish_dynamic_sections + 1287 1 ld 0x000000010afff506 bfd_elf_final_link + 16198 2 ld 0x000000010afaa3f0 ldwrite + 1248 (ldwrite.c:582) 3 ld 0x000000010afa9ba1 main + 1729 (ldmain.c:422) 4 ld 0x000000010af930f4 start + 52 The crash happens on line 7264: if (htab->srelfuncdesc) -> BFD_ASSERT (htab->srelfuncdesc->reloc_count * sizeof (Elf32_External_Rela) == htab->srelfuncdesc->size); Running under a debugger, htab->srelfuncdesc contains garbage. When enabling the Xcode debugger "scribble" option, htab->sfuncdesc, htab->srelfuncdesc and htab->srofixup all contain the scribble value, suggesting these members have not been initialized. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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