]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
authorFlorian Weimer <fweimer@redhat.com>
Thu, 19 Oct 2023 07:17:38 +0000 (09:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 19 Oct 2023 07:17:38 +0000 (09:17 +0200)
This reverts commit d3ba6c1333b10680ce5900a628108507d9d4b844.

Reason: Preserve internal ABI.

include/link.h

index a02d5f2eba3c4121e71ec3f31a4212d1299f843d..69bda3ed174a4e8ef4217cfa141d8281ac5fa5b6 100644 (file)
@@ -256,10 +256,6 @@ struct link_map
     /* End of the executable part of the mapping.  */
     ElfW(Addr) l_text_end;
 
-    /* Linked list of objects in reverse ELF constructor execution
-       order.  Head of list is stored in _dl_init_called_list.  */
-    struct link_map *l_init_called_next;
-
     /* Default array for 'l_scope'.  */
     struct r_scope_elem *l_scope_mem[4];
     /* Size of array allocated for 'l_scope'.  */
@@ -282,6 +278,10 @@ struct link_map
     /* List of object in order of the init and fini calls.  */
     struct link_map **l_initfini;
 
+    /* Linked list of objects in reverse ELF constructor execution
+       order.  Head of list is stored in _dl_init_called_list.  */
+    struct link_map *l_init_called_next;
+
     /* List of the dependencies introduced through symbol binding.  */
     struct link_map_reldeps
       {