+2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib.c (solib_global_lookup): Use solib_ops instead of global
+ current_target_so_ops.
+
2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
* config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
const domain_enum domain,
struct symtab **symtab)
{
- if (current_target_so_ops->lookup_lib_global_symbol != NULL)
- return current_target_so_ops->lookup_lib_global_symbol (objfile,
- name, linkage_name, domain, symtab);
+ struct target_so_ops *ops = solib_ops (current_gdbarch);
+ if (ops->lookup_lib_global_symbol != NULL)
+ return ops->lookup_lib_global_symbol (objfile, name, linkage_name,
+ domain, symtab);
return NULL;
}