gas: .sizeof.() / .startof.() creating redundant symbol table entries

Nick Clifton nickc@redhat.com
Fri Apr 30 15:38:23 GMT 2021


Hi Jan,

> okay. As to fixing - do you have any better suggestion than a separate > hash table (which seems a little heavy handed to me) or a plain array> or linked list (which seems a little simplistic to me)?
Given that these are undocumented features I do not think that we need to
worry about efficiency.  I would say go with the simplest solution that
comes to mind.  Personally I would go with a small array which can be
realloced if necessary.  But that is just me.

It might be worth adding a little bit of documentation too, just to be
kind to potential users.

Cheers
   Nick




More information about the Binutils mailing list