------- Additional Comments From hjl dot tools at gmail dot com 2008-03-11 21:31 ------- (In reply to comment #18) > Yes, I'll work on it. My approach will be to redefine SHN_LORESERVE thru > SHN_HIRESERVE to FFFFFF00 thru FFFFFFFF, sign extending the existing values to > an unsigned int. All internal BFD uses of section indices will use these > values, > so the reserved range is mapped out of the way of "real" section numbers. We > won't need any of the code that adds SHN_HIRESERVE + 1 - SHN_LORESERVE to skip > over the reserved range. Also, I think most backend use of SHN_* will not > need > changing.
That should work. I doubt we will have 0xFFFFFF00 sections. It will nice to assert it just in case. -- 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