aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-08-04 17:54:48 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-08-04 17:54:48 +0200
commited0185e4129130cbe081c221efb758fb400623ce (patch)
treef0df86f0d0876a61870f152618f3a22ee698a38f /dlfcn
parent6c93af6b458031ebba5484bdc0029ad92720d51d (diff)
downloadglibc-ed0185e4129130cbe081c221efb758fb400623ce.zip
glibc-ed0185e4129130cbe081c221efb758fb400623ce.tar.gz
glibc-ed0185e4129130cbe081c221efb758fb400623ce.tar.bz2
dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move dlopen into libc").
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c
index 2696dde..9b07b4e 100644
--- a/dlfcn/dlopen.c
+++ b/dlfcn/dlopen.c
@@ -90,7 +90,7 @@ compat_symbol (libdl, ___dlopen, dlopen, GLIBC_2_1);
void *
__dlopen (const char *file, int mode, void *dl_caller)
{
- return dlopen_implementation (file, mode, RETURN_ADDRESS (0));
+ return dlopen_implementation (file, mode, dl_caller);
}
void *