------- Additional Comments From nickc at redhat dot com  2007-03-21 11:40 
-------
Hi Sami,

  The attached patch stops the linker from seg-faulting with the test case you
provided.  It should now return an error code and these messages:

  ld: warning: cannot find entry symbol _start; defaulting to 00000000004000f0
  ld: error: broken.o contains a reloc (0x0000006a00000002) for section .text
that references a non-existent global symbol
  ld: final link failed: Bad value

I suspect however that if try you can find other ways for corrupt symbol table
entries to break the linker code...

Please let me know if the patch works for you.

Cheers
  Nick

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

------- 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