aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-10-25 17:41:53 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-10-25 17:43:55 +0200
commitac73067cb7a328bf106ecd041c020fc61be7e087 (patch)
treefad90b4e08557346c5bafc42e92e9b007d989cec
parent43db5e2c0672cae7edea7c9685b22317eae25471 (diff)
downloadglibc-ac73067cb7a328bf106ecd041c020fc61be7e087.zip
glibc-ac73067cb7a328bf106ecd041c020fc61be7e087.tar.gz
glibc-ac73067cb7a328bf106ecd041c020fc61be7e087.tar.bz2
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)").
-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 ec01458..1d943df 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -781,7 +781,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)