This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS multi-got link support
On Mon, Jan 27, 2003 at 08:32:51PM -0200, Alexandre Oliva wrote:
> On Jan 27, 2003, "H. J. Lu" <hjl@lucon.org> wrote:
>
> > 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.
>
> And that one will be accounted for too, taking up memory just the
> same. Sections don't have any testing for wrapping around either,
> FWIW. Besides, unlike the section case, in which certain section
> numbers are reserved for special uses, we don't really need the bfd
> ids to be unique, at least for purposes of hashing.
I think the bfd id patch is OK as is.
--
Alan Modra
IBM OzLabs - Linux Technology Centre