/* TODO:
- * Relocate data addresses in the shared library.
+ * Access to static (file scoped) variables in shared libraries
+ still doesn't work.
* Most of this code should work for hp300 shared libraries. Does
anyone care enough to weed out any SOM-isms.
{
/* Oh what a pain! We need the offsets before so_list->objfile
is valid. The BFDs will never match. Make a best guess. */
- if (!strcmp (so_list->som_solib.name, objfile->name))
+ if (strstr (objfile->name, so_list->som_solib.name))
{
asection *private_section;