Skip to content
Commit a23c28ec authored by Florian Weimer's avatar Florian Weimer
Browse files

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: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent c44838eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment