glibc/dlfcn/Versions
Florian Weimer a23c28ec0d dlfcn: Move dlerror into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

There is a minor functionality enhancement: dlerror now sets
errno if it was set as part of the exception.  (This is the result
of using %m in asprintf, to avoid the strerror PLT call.) The
previous errno value upon function return was unpredictable.
Documenting this as a feature is premature; we need to make sure
that the error codes are meaningful when they are set by the dynamic
loader.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-06-02 09:06:10 +02:00

31 lines
344 B
Plaintext

libc {
GLIBC_2.0 {
dlerror;
}
GLIBC_2.34 {
dlerror;
}
GLIBC_PRIVATE {
__libc_dlerror_result;
_dlerror_run;
_dlfcn_hook;
}
}
libdl {
GLIBC_2.0 {
dladdr;
dlclose;
dlopen;
dlsym;
}
GLIBC_2.1 {
dlopen; dlvsym;
}
GLIBC_2.3.3 {
dladdr1; dlinfo;
}
GLIBC_2.3.4 {
dlmopen;
}
}