MIPS multi-got link support

H. J. Lu hjl@lucon.org
Mon Jan 27 19:17:00 GMT 2003


On Mon, Jan 27, 2003 at 05:12:26PM -0200, Alexandre Oliva wrote:
> On Jan 27, 2003, "H. J. Lu" <hjl@lucon.org> wrote:
> 
> > There is already a unique section id. Is that possible to use it?
> 
> I don't immediately see that it would be safe to rely on it.
> 
> > If you have to bfd id, can you check overflow?
> 
> Overflow of what, the id counter?  Geez, 2^32 bfds sounds a bit
> excessive to me.  Let's just make it long, and then You'd certainly
> run out of virtual memory before it wrapped.

I admit it is unlikely we will have more than 2^32 bfds. However,
for each bfd opened for input, we may have created more than one bfd.


H.J.



More information about the Binutils mailing list