add_dependency (struct link_map *undef_map, struct link_map *map)
{
struct link_map **list;
- unsigned act;
+ unsigned int act;
unsigned int i;
int result = 0;
/* Search loaded objects' symbol tables for a definition of the symbol
UNDEF_NAME. */
-ElfW(Addr)
+lookup_t
internal_function
_dl_lookup_symbol (const char *undef_name, struct link_map *undef_map,
const ElfW(Sym) **ref, struct r_scope_elem *symbol_scope[],
": symbol `", undef_name, "'\n", NULL);
*ref = current_value.s;
- return current_value.m->l_addr;
+ return LOOKUP_VALUE (current_value.m);
}
it only considers objects which were loaded after the described
object. If there are more search lists the object described by
SKIP_MAP is only skipped. */
-ElfW(Addr)
+lookup_t
internal_function
_dl_lookup_symbol_skip (const char *undef_name,
struct link_map *undef_map, const ElfW(Sym) **ref,
": symbol `", undef_name, "' (skip)\n", NULL);
*ref = current_value.s;
- return current_value.m->l_addr;
+ return LOOKUP_VALUE (current_value.m);
}
symbol.
XXX We'll see whether we need this separate function. */
-ElfW(Addr)
+lookup_t
internal_function
_dl_lookup_versioned_symbol (const char *undef_name,
struct link_map *undef_map, const ElfW(Sym) **ref,
"]\n", NULL);
*ref = current_value.s;
- return current_value.m->l_addr;
+ return LOOKUP_VALUE (current_value.m);
}
/* Similar to _dl_lookup_symbol_skip but takes an additional argument
with the version we are looking for. */
-ElfW(Addr)
+lookup_t
internal_function
_dl_lookup_versioned_symbol_skip (const char *undef_name,
struct link_map *undef_map,
"] (skip)\n", NULL);
*ref = current_value.s;
- return current_value.m->l_addr;
+ return LOOKUP_VALUE (current_value.m);
}