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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to