This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]