mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
8dd569934c
* dlfcn/Makefile (libdl-routines): Add dladdr1. * dlfcn/dladdr1.c: New file. * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and a const ElfNN_Sym ** to fill in. * include/dlfcn.h: Update decl. Include <link.h>. * dlfcn/dladdr.c (dladdr): Update caller. * malloc/mtrace.c (tr_where): Likewise. * sysdeps/generic/elf/backtracesyms.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. * Versions.def (libdl): Define GLIBC_2.3.3 set.
12 lines
144 B
Plaintext
12 lines
144 B
Plaintext
libdl {
|
|
GLIBC_2.0 {
|
|
dladdr; dlclose; dlerror; dlopen; dlsym;
|
|
}
|
|
GLIBC_2.1 {
|
|
dlopen; dlvsym;
|
|
}
|
|
GLIBC_2.3.3 {
|
|
dladdr1;
|
|
}
|
|
}
|