bionic/linker: change lookup() to return soinfo, not base
diff --git a/linker/linker.c b/linker/linker.c
index 6f09837..b260749 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -482,7 +482,7 @@
 
 /* This is used by dl_sym().  It performs a global symbol lookup.
  */
-Elf32_Sym *lookup(const char *name, unsigned *base)
+Elf32_Sym *lookup(const char *name, soinfo **found)
 {
     unsigned elf_hash = 0;
     Elf32_Sym *s = NULL;
@@ -494,7 +494,7 @@
             continue;
         s = _do_lookup_in_so(si, name, &elf_hash);
         if (s != NULL) {
-            *base = si->base;
+            *found = si;
             break;
         }
     }