]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Preserve _rtld_global layout for the release branch
authorFlorian Weimer <fweimer@redhat.com>
Mon, 18 Aug 2025 11:52:02 +0000 (13:52 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 18 Aug 2025 12:15:33 +0000 (14:15 +0200)
Backporting commit 9d6577fdff801a856383e69322f15e63424ad312
("elf: Introduce _dl_debug_change_state") removed the
_ns_debug member.  Keep it to preseve struct layout.

sysdeps/generic/ldsodefs.h

index ee51d8ff1465a027e6d8faa7f37089fe1aeaa8e1..5cb685e470647ce792cddf2814eb28ade3fd0a06 100644 (file)
@@ -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;