------- Additional Comments From drow at sources dot redhat dot com  2008-04-19 
17:23 -------
Subject: Re:  Linker segfaults with undefined weak function
        descriptors.

On Tue, Apr 15, 2008 at 02:18:14PM -0000, nickc at redhat dot com wrote:
> Hi Daniel,
> 
>   Does the uploaded patch work for you ?

It does fix the crash, but two unnecessary function descriptors appear
to be allocated.  And I get an assertion failure on elf32-frv.c:5867
if I add -shared to the link command (along with a corrupt
relocation in .rel.dyn).

If I link the executable with a shared library I get a dynamic reloc
for the non-hidden undefweak symbol, which IMO is correct.



-- 


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

Reply via email to