summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-10-25 17:41:53 +0200
committerFlorian Weimer <fweimer@redhat.com>2025-08-18 13:07:25 +0200
commitd9bd6f386912ef1dbc0434d7cc03eae5ded86181 (patch)
tree1b27e38119132f4685209508a5a169bf4bc416fc
parent91473c4eeab513ea2c502b987e0778a7591d847a (diff)
elf: Fix map_complete Systemtap probe in dl_open_worker
The refactoring did not take the change of variable into account. Fixes commit 43db5e2c0672cae7edea7c9685b22317eae25471 ("elf: Signal RT_CONSISTENT after relocation processing in dlopen (bug 31986)"). (cherry picked from commit ac73067cb7a328bf106ecd041c020fc61be7e087)
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 88e8ad8d3a..bd15f5f6a4 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -792,7 +792,7 @@ dl_open_worker (void *a)
#endif
r->r_state = RT_CONSISTENT;
_dl_debug_state ();
- LIBC_PROBE (map_complete, 3, nsid, r, new);
+ LIBC_PROBE (map_complete, 3, nsid, r, args->map);
#ifdef SHARED
if (was_not_consistent)