------- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils