From 39e52e63ebf9fd7572e57704cc27331a34a72a9a Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Mar 2024 18:09:58 +0000 Subject: execution context: added -dlopen and -dlpreopen support. --- src/internal/slibtool_driver_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/internal') diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index b540e6a..d838aea 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -149,6 +149,7 @@ struct slbt_driver_ctx_impl { struct slbt_map_info lconf; struct slbt_txtfile_ctx * lconfctx; struct slbt_obj_list * objlistv; + const char ** dlopenv; size_t ndlopen; @@ -177,12 +178,15 @@ struct slbt_exec_ctx_impl { const struct slbt_driver_ctx * dctx; struct slbt_symlist_ctx * sctx; struct slbt_exec_ctx ctx; + struct slbt_archive_ctx ** dlactxv; + char ** dlargv; int argc; char * args; char * shadow; char * dsoprefix; size_t size; int fdwrapper; + char sbuf[PATH_MAX]; char ** lout[2]; char ** mout[2]; char ** vbuffer; -- cgit v1.2.3