Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol.

This commit is contained in:
Ulrich Drepper 2002-04-13 16:03:45 +00:00
parent d06eeaf617
commit d83a43e9af

View File

@ -363,7 +363,7 @@ extern lookup_t _dl_lookup_symbol (const char *undef,
struct link_map *undef_map,
const ElfW(Sym) **sym,
struct r_scope_elem *symbol_scope[],
int type_class, int explicit)
int type_class, int flags)
internal_function;
/* Lookup versioned symbol. */
@ -372,9 +372,18 @@ extern lookup_t _dl_lookup_versioned_symbol (const char *undef,
const ElfW(Sym) **sym,
struct r_scope_elem *symbol_scope[],
const struct r_found_version *version,
int type_class, int explicit)
int type_class, int flags)
internal_function;
enum
{
/* If necessary add dependency between user and provider object. */
DL_LOOKUP_ADD_DEPENDENCY = 1,
/* Return most recent version instead of default version for
unversioned lookup. */
DL_LOOKUP_RETURN_NEWEST = 2
};
/* For handling RTLD_NEXT we must be able to skip shared objects. */
extern lookup_t _dl_lookup_symbol_skip (const char *undef,
struct link_map *undef_map,