diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-17 15:06:43 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-18 11:42:47 +0200 |
commit | 58b90461ae100c95e0bc53d29d2187bad290ecaf (patch) | |
tree | 93f55a6cb1bbe1662fd1d2ed4fb4d75a5774449c /elf/readelflib.c | |
parent | 8c06748c51750333d1516a2d342ed2361186e908 (diff) | |
download | glibc-58b90461ae100c95e0bc53d29d2187bad290ecaf.tar.gz |
elf: Use _dl_catch_error from base namespace in dl-libc.c [BZ #27646]
dlerrror_run in elf/dl-libc.c needs to call GLRO (dl_catch_error)
from the base namespace, just like the exported dlerror
implementation.
Fixes commit b2964eb1d9a6b8ab1250e8a881cf406182da5875 ("dlfcn:
Failures after dlmopen should not terminate process [BZ #24772]").
Backport notes: GLRO (dl_catch_error) is replaced with
_dl_catch_error_ptr to preserve _rtld_global_ro layout.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit c2059edce20c124d1a99f1a94cc52e83b77a917a)
Diffstat (limited to 'elf/readelflib.c')
0 files changed, 0 insertions, 0 deletions