linker: add dlvsym(3)
This changes implements dlvsym - dlsym for versioned symbols. Bug: http://b/22865643 Change-Id: Ic90a60d512104261a1416c43f9100f0d88e3b46f
This commit is contained in:
@@ -43,11 +43,12 @@ typedef struct {
|
||||
in dli_sname */
|
||||
} Dl_info;
|
||||
|
||||
extern void* dlopen(const char* filename, int flag);
|
||||
extern int dlclose(void* handle);
|
||||
extern const char* dlerror(void);
|
||||
extern void* dlsym(void* handle, const char* symbol);
|
||||
extern int dladdr(const void* addr, Dl_info *info);
|
||||
extern void* dlopen(const char* filename, int flag);
|
||||
extern int dlclose(void* handle);
|
||||
extern const char* dlerror(void);
|
||||
extern void* dlsym(void* handle, const char* symbol) __nonnull((2));
|
||||
extern void* dlvsym(void* handle, const char* symbol, const char* version) __nonnull((2, 3));
|
||||
extern int dladdr(const void* addr, Dl_info *info);
|
||||
|
||||
enum {
|
||||
#if defined(__LP64__)
|
||||
|
||||
Reference in New Issue
Block a user