mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
45e4762c2c
* dlfcn/Makefile (tests): Add tst-dlinfo. ($(objpfx)tst-dlinfo): New target. * dlfcn/dlinfo.c: New file. * dlfcn/Makefile (libdl-routines): Add it. * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. [__USE_GNU] (RTLD_DI_*): New enum constants. [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. * elf/dl-load.c (cache_rpath): New inline function. (_dl_map_object): Use it. (_dl_rtld_di_serinfo): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it.
12 lines
152 B
Plaintext
12 lines
152 B
Plaintext
libdl {
|
|
GLIBC_2.0 {
|
|
dladdr; dlclose; dlerror; dlopen; dlsym;
|
|
}
|
|
GLIBC_2.1 {
|
|
dlopen; dlvsym;
|
|
}
|
|
GLIBC_2.3.3 {
|
|
dladdr1; dlinfo;
|
|
}
|
|
}
|