MIPS multi-got link support

Alexandre Oliva aoliva@redhat.com
Sun Jan 26 04:14:00 GMT 2003


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-id.patch
Type: text/x-patch
Size: 2020 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030126/e461ef76/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Binutils mailing list