This test file segfaults ld: .text .globl _start _start: ret .weak foo .weak foow .hidden foow
# These should both end up zero. .data .picptr funcdesc(foo) .picptr funcdesc(foow) sec is NULL at the top of _frvfdpic_emit_got_relocs_plt_entries. Discovered while cribbing from the FRV port for SH FDPIC - presumably both should be zero and have no relocations. That's what happens for the non-hidden one. -- Summary: Linker segfaults with undefined weak function descriptors. Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: drow at sources dot redhat dot com CC: aoliva at sourceware dot org,bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=6058 ------- 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