bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5900] ELF files with more than 65536 sections not handled corre


From: ian at airs dot com
Subject: [Bug gas/5900] ELF files with more than 65536 sections not handled correctly.
Date: 10 Mar 2008 19:04:55 -0000

------- Additional Comments From ian at airs dot com  2008-03-10 19:04 -------
Don't confuse  the notion of section index with the special codes between
SHN_LORESERVE and SHN_HIRESERVE.  Those special codes are used in the st_shndx
field of a Sym structure.  They are not meaningful elsewhere--in particular they
are not meaningful in the sh_link field of section header zero.  The GNU
binutils get that link field wrong when it needs to be larger than 0xffff.

When the special code SHN_XINDEX is used, the ABI is explicit that the
SHT_SYMTAB_SHNDX section holds the section header index.  The GNU binutils store
the wrong values in the SHT_SYMTAB_SHNDX section.

I don't know of anything else that the GNU binutils get wrong.

-- 


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

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