This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A gdb+bfd string pool?
The interface or the implementation? The bcache interface is focused
and simple (something that can't be said for that hash table). The
hashtab could certainly be used in the implementation (as elf-strtab did).
So does gdb/symtab.c.
Anyway, back to the question. Does a [global] common pool make sense
for BFD?
Oh, you meant an _instance_, not a data structure. Sorry.
More specifically, a single instance. Instead of having something like
a per-object file symbol bcache as was done with GDB, there would just
be a single global bcache (and it would never shrink).
Andrew