This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS multi-got link support
On Sun, Jan 26, 2003 at 02:14:45AM -0200, Alexandre Oliva wrote:
> On Jan 19, 2003, Hans-Peter Nilsson <hp@bitrange.com> wrote:
>
> >> However, I'd appreciate suggestions on what fields of a bfd to use to
> >> compute its hash code. There doesn't seem to be a bfd unique
> >> identifier,
>
> > Then let's add one! Sections have it, so it's only fair.
>
> Here's a patch that adds an unique id to every bfd that is created.
> Ok to install? The idea is to tweak the multi-got patch so as to use
> bfd->id instead of htab_hash_pointer (bfd) all over.
>
There is already a unique section id. Is that possible to use it? If
you have to bfd id, can you check overflow?
H.J.