[PATCH COMMITTED 2.41] elf: Preserve _rtld_global layout for the release branch
Florian Weimer
fweimer@redhat.com
Mon Aug 18 12:17:27 GMT 2025
Backporting commit 9d6577fdff801a856383e69322f15e63424ad312
("elf: Introduce _dl_debug_change_state") removed the
_ns_debug member. Keep it to preseve struct layout.
---
sysdeps/generic/ldsodefs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index ee51d8ff14..5cb685e470 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -350,6 +350,8 @@ struct rtld_global
size_t n_elements;
void (*free) (void *);
} _ns_unique_sym_table;
+ /* Keep track of changes to each namespace' list. */
+ struct r_debug_extended _ns_debug_unused;
} _dl_ns[DL_NNS];
/* One higher than index of last used namespace. */
EXTERN size_t _dl_nns;
base-commit: 42f9c70ac26ae8ea32659e1b99953808c4985c5c
More information about the Libc-alpha
mailing list