This helper is used by libgcc_s to figure out where the .eh_frame sections are located for all loaded shared objects.
The name-to-section lookup table was only used in a handful of places, and none of them were calling it nearly enough to justify building a cache for it in the first place. So let's get rid of it and reduce startup time by a little bit. :^)
Remove a bunch of unused code, unnecessary const, and make some non-object-specific member functions static.