mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 15:20:04 +00:00
Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol.
This commit is contained in:
parent
d06eeaf617
commit
d83a43e9af
@ -363,7 +363,7 @@ extern lookup_t _dl_lookup_symbol (const char *undef,
|
|||||||
struct link_map *undef_map,
|
struct link_map *undef_map,
|
||||||
const ElfW(Sym) **sym,
|
const ElfW(Sym) **sym,
|
||||||
struct r_scope_elem *symbol_scope[],
|
struct r_scope_elem *symbol_scope[],
|
||||||
int type_class, int explicit)
|
int type_class, int flags)
|
||||||
internal_function;
|
internal_function;
|
||||||
|
|
||||||
/* Lookup versioned symbol. */
|
/* Lookup versioned symbol. */
|
||||||
@ -372,9 +372,18 @@ extern lookup_t _dl_lookup_versioned_symbol (const char *undef,
|
|||||||
const ElfW(Sym) **sym,
|
const ElfW(Sym) **sym,
|
||||||
struct r_scope_elem *symbol_scope[],
|
struct r_scope_elem *symbol_scope[],
|
||||||
const struct r_found_version *version,
|
const struct r_found_version *version,
|
||||||
int type_class, int explicit)
|
int type_class, int flags)
|
||||||
internal_function;
|
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. */
|
/* For handling RTLD_NEXT we must be able to skip shared objects. */
|
||||||
extern lookup_t _dl_lookup_symbol_skip (const char *undef,
|
extern lookup_t _dl_lookup_symbol_skip (const char *undef,
|
||||||
struct link_map *undef_map,
|
struct link_map *undef_map,
|
||||||
|
Loading…
Reference in New Issue
Block a user