From 3077bbe7e2fc80610902dda18cc5a373bca61557 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 22 Mar 2024 02:12:42 +0000 Subject: slbt_ar_update_syminfo(): eliminate the execution context argument. --- src/logic/linkcmd/slbt_linkcmd_argv.c | 2 +- src/logic/slbt_exec_ctx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/logic') diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c index 0209201..013317f 100644 --- a/src/logic/linkcmd/slbt_linkcmd_argv.c +++ b/src/logic/linkcmd/slbt_linkcmd_argv.c @@ -976,7 +976,7 @@ slbt_hidden int slbt_exec_link_finalize_argument_vector( arctx = *arctxv; arctx->path = &slbt_ar_self_dlunit; - if (slbt_ar_update_syminfo(arctx,ectx) < 0) + if (slbt_ar_update_syminfo(arctx) < 0) return SLBT_NESTED_ERROR(dctx); /* regenerate the dlsyms vtable source */ diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c index 0ddc9b9..223be17 100644 --- a/src/logic/slbt_exec_ctx.c +++ b/src/logic/slbt_exec_ctx.c @@ -636,7 +636,7 @@ int slbt_ectx_get_exec_ctx( ictx, SLBT_NESTED_ERROR(dctx)); - if (slbt_ar_update_syminfo(*dlactxv,&ictx->ctx) < 0) + if (slbt_ar_update_syminfo(*dlactxv) < 0) return slbt_ectx_free_exec_ctx_impl( ictx, SLBT_NESTED_ERROR(dctx)); @@ -682,7 +682,7 @@ int slbt_ectx_get_exec_ctx( } if (fpreopen) { - if (slbt_ar_update_syminfo(*dlactxv,&ictx->ctx) < 0) + if (slbt_ar_update_syminfo(*dlactxv) < 0) return slbt_ectx_free_exec_ctx_impl( ictx, SLBT_NESTED_ERROR(dctx)); -- cgit v1.2.3