2003-10-16 Elena Zannoni <ezannoni@redhat.com>
[binutils-gdb.git] / gdb / minsyms.c
index e4fd60d0b1099d5ea93d44322103b558960d91c7..d93a697e14057d3a7313fe7aaca01feae2145181 100644 (file)
@@ -346,7 +346,6 @@ lookup_minimal_symbol_text (const char *name, const char *sfile,
 
 struct minimal_symbol *
 lookup_minimal_symbol_solib_trampoline (const char *name,
-                                       const char *sfile,
                                        struct objfile *objf)
 {
   struct objfile *objfile;
@@ -355,15 +354,6 @@ lookup_minimal_symbol_solib_trampoline (const char *name,
 
   unsigned int hash = msymbol_hash (name) % MINIMAL_SYMBOL_HASH_SIZE;
 
-#ifdef SOFUN_ADDRESS_MAYBE_MISSING
-  if (sfile != NULL)
-    {
-      char *p = strrchr (sfile, '/');
-      if (p != NULL)
-       sfile = p + 1;
-    }
-#endif
-
   for (objfile = object_files;
        objfile != NULL && found_symbol == NULL;
        objfile = objfile->next)