PR5900

Alan Modra amodra@bigpond.net.au
Wed Mar 12 21:25:00 GMT 2008


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



More information about the Binutils mailing list