Allow passing a block to lookup_global_symbol_from_objfile
[deliverable/binutils-gdb.git] / gdb / solib-spu.c
index 448e1a64f4cb99536930b5b65db46104b6a13af1..5b97b9bcf68885c0cc78f2548eb51217121810bf 100644 (file)
@@ -392,7 +392,8 @@ spu_lookup_lib_symbol (struct objfile *objfile,
                       const domain_enum domain)
 {
   if (bfd_get_arch (objfile->obfd) == bfd_arch_spu)
-    return lookup_global_symbol_from_objfile (objfile, name, domain);
+    return lookup_global_symbol_from_objfile (objfile, GLOBAL_BLOCK, name,
+                                             domain);
 
   if (svr4_so_ops.lookup_lib_global_symbol != NULL)
     return svr4_so_ops.lookup_lib_global_symbol (objfile, name, domain);
This page took 0.034195 seconds and 4 git commands to generate.