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: hjl dot tools at gmail dot com
Subject: [Bug gas/5900] ELF files with more than 65536 sections not handled correctly.
Date: 11 Mar 2008 21:32:03 -0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]