------- Additional Comments From ian at airs dot com  2009-11-04 16:41 -------
Thanks for the bug report.  I've patched the linker to avoid the crash.

However, the core problem is that the linker script expects that the dynamic 
reloc sections will have specific names, and gold does not use those names.  
gold puts all the dynamic relocs in a section named .rel.dyn.  So while I have 
fixed the crash, the effect is that the linker script will discard all the 
dynamic relocs, which I think is not what is intended. I think the linker 
script 
might be better written as something like
    .rel.dyn { *(.rel.*) }
or simply adding
    .rel.dyn { *(.rel.dyn .rel.dyn.*) }
like the other cases will also fix the problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10887

------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to