bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10126] internal error in relocate_sections, at ../../gold/relo


From: ian at airs dot com
Subject: [Bug gold/10126] internal error in relocate_sections, at ../../gold/reloc.cc:737
Date: 23 Jun 2009 06:49:16 -0000

------- Additional Comments From ian at airs dot com  2009-06-23 06:49 -------
Sorry for not getting back to this sooner.  Thanks for attaching the object
file.  The object file you attached does indeed have an e_ehsize field with a
value of 36.  The e_ehsize field is supposed to hold the size of the ELF file
header.  The ELF file header should be 52 bytes long.  36 bytes omits the last 7
fields--although the fields do appear to be actually present.  There is
something wrong with the compiler which is generating this object file.  My best
guess is that the person who wrote the object file creation code did not realize
that the 16 byte magic number field is included in the size of the file header.
 I would be happy to help explain the problem the the authors of this code, if
necessary.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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

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