This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR5900


On Wed, Mar 12, 2008 at 06:20:22AM -0700, H.J. Lu wrote:
> Will the above work when number of sections >= (unsigned int) -0x100u?

Various fields in external ELF structs limit the number of sections to
4G, even when using 64-bit ELF.  eg. sh_link and sh_info, est_shndx.
I'm not in the least bit worried that this code only supports 4G-256
sections rather than 4G.

Perhaps you'd like to assemble a testcase with 2G sections to see if
we cope with even that many?  I suspect it might take quite a while to
assemble and link...

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]