e77659
commit d3ba6c1333b10680ce5900a628108507d9d4b844
e77659
Author: Florian Weimer <fweimer@redhat.com>
e77659
Date:   Mon Sep 11 09:17:52 2023 +0200
e77659
e77659
    elf: Move l_init_called_next to old place of l_text_end in link map
e77659
    
e77659
    This preserves all member offsets and the GLIBC_PRIVATE ABI
e77659
    for backporting.
e77659
e77659
diff --git a/include/link.h b/include/link.h
e77659
index 88683e7a747b86e0..a464dd8e86cf89d0 100644
e77659
--- a/include/link.h
e77659
+++ b/include/link.h
e77659
@@ -252,6 +252,10 @@ struct link_map
e77659
        need not be the same as l_addr.  */
e77659
     ElfW(Addr) l_map_start, l_map_end;
e77659
 
e77659
+    /* Linked list of objects in reverse ELF constructor execution
e77659
+       order.  Head of list is stored in _dl_init_called_list.  */
e77659
+    struct link_map *l_init_called_next;
e77659
+
e77659
     /* Default array for 'l_scope'.  */
e77659
     struct r_scope_elem *l_scope_mem[4];
e77659
     /* Size of array allocated for 'l_scope'.  */
e77659
@@ -274,10 +278,6 @@ struct link_map
e77659
     /* List of object in order of the init and fini calls.  */
e77659
     struct link_map **l_initfini;
e77659
 
e77659
-    /* Linked list of objects in reverse ELF constructor execution
e77659
-       order.  Head of list is stored in _dl_init_called_list.  */
e77659
-    struct link_map *l_init_called_next;
e77659
-
e77659
     /* List of the dependencies introduced through symbol binding.  */
e77659
     struct link_map_reldeps
e77659
       {