From 0c1c3a771eceec46e66ce1183cf988e2303bd373 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 3 Jun 2021 08:26:04 +0200 Subject: dlfcn: Move dlopen into libc The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella --- dlfcn/dlopenold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dlfcn/dlopenold.c') diff --git a/dlfcn/dlopenold.c b/dlfcn/dlopenold.c index 6174dcbb27..0fe5f24cc5 100644 --- a/dlfcn/dlopenold.c +++ b/dlfcn/dlopenold.c @@ -24,7 +24,7 @@ /* This file is for compatibility with glibc 2.0. Compile it only if versioning is used. */ #include -#if SHLIB_COMPAT (libdl, GLIBC_2_0, GLIBC_2_1) +#if OTHER_SHLIB_COMPAT (libdl, GLIBC_2_0, GLIBC_2_1) struct dlopen_args { @@ -54,7 +54,7 @@ dlopen_doit (void *a) args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN, args->caller, args->file == NULL ? LM_ID_BASE : NS, - __dlfcn_argc, __dlfcn_argv, __environ); + __libc_argc, __libc_argv, __environ); } extern void *__dlopen_nocheck (const char *file, int mode); -- cgit 1.4.1