From 641cae4c36e4d34ebc14690f5db05b3330be46f5 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 28 Mar 2018 20:31:52 -0700 Subject: [PATCH] Add a hunk lost in merge --- dlfcn/dlopen.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c index c35a9eb66b2..faf7a48ea71 100644 --- a/dlfcn/dlopen.c +++ b/dlfcn/dlopen.c @@ -96,6 +96,14 @@ __dlopen_with_offset (const char *file, off_t offset, int mode DL_CALLER_DECL) { if (!rtld_active ()) return _dlfcn_hook->dlopen_with_offset (file, offset, mode, DL_CALLER); + + struct dlopen_args oargs; + oargs.file = file; + oargs.offset = offset; + oargs.mode = mode; + oargs.caller = DL_CALLER; + + return __dlopen_common (&oargs); } strong_alias (__dlopen_with_offset, __google_dlopen_with_offset) # endif -- 2.47.2