(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
add_dependency (struct link_map *undef_map, struct link_map *map)
{
struct link_map **list;
add_dependency (struct link_map *undef_map, struct link_map *map)
{
struct link_map **list;
unsigned int i;
int result = 0;
unsigned int i;
int result = 0;
/* Search loaded objects' symbol tables for a definition of the symbol
UNDEF_NAME. */
/* Search loaded objects' symbol tables for a definition of the symbol
UNDEF_NAME. */
internal_function
_dl_lookup_symbol (const char *undef_name, struct link_map *undef_map,
const ElfW(Sym) **ref, struct r_scope_elem *symbol_scope[],
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;
": 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. */
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. */
internal_function
_dl_lookup_symbol_skip (const char *undef_name,
struct link_map *undef_map, const ElfW(Sym) **ref,
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;
": 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. */
symbol.
XXX We'll see whether we need this separate function. */
internal_function
_dl_lookup_versioned_symbol (const char *undef_name,
struct link_map *undef_map, const ElfW(Sym) **ref,
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;
"]\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. */
}
/* Similar to _dl_lookup_symbol_skip but takes an additional argument
with the version we are looking for. */
internal_function
_dl_lookup_versioned_symbol_skip (const char *undef_name,
struct link_map *undef_map,
internal_function
_dl_lookup_versioned_symbol_skip (const char *undef_name,
struct link_map *undef_map,
"] (skip)\n", NULL);
*ref = current_value.s;
"] (skip)\n", NULL);
*ref = current_value.s;
- return current_value.m->l_addr;
+ return LOOKUP_VALUE (current_value.m);