bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4109] ld crash on broken object file


From: nickc at redhat dot com
Subject: [Bug ld/4109] ld crash on broken object file
Date: 21 Mar 2007 11:40:56 -0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]