bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/10478] "File format not recognized" for some solaris libra


From: ian at airs dot com
Subject: [Bug binutils/10478] "File format not recognized" for some solaris libraries
Date: 9 Sep 2009 03:16:06 -0000

------- Additional Comments From ian at airs dot com  2009-09-09 03:16 -------
If SHF_LINK_ORDER is set in the flags field, then the sh_link field is permitted
to contain the special values SHN_BEFORE (65280) and SHN_AFTER (65281). 
SHN_BEFORE means that this section should come before all other sections that it
is combined with (e.g., it should be the first .text section) and SHN_AFTER
means it should come after all other sections.  See also the SHF_ORDERED linker
flag, which has similar semantics for SHN_BEFORE and SHN_AFTER.

This actually seems somewhat broken, as it will fail in an object file with 
more than 65280 sections.  There doesn't seem to be any mechanism to decide
whether the sh_link field should be treated as SHN_BEFORE/SHN_AFTER or a section
index.  But, whatever.

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


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

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