public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.37/master] Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
@ 2023-10-19  7:21 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-10-19  7:21 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8e20aedfd7fc77b630109a2bcde94e6c95dbcc3d

commit 8e20aedfd7fc77b630109a2bcde94e6c95dbcc3d
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 19 09:21:12 2023 +0200

    Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
    
    This reverts commit 1a7cbe52c8955beae477cf9c6d88f4bc04f626c1.
    
    Reason for revert: Preserve internal ABI.

Diff:
---
 include/link.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/link.h b/include/link.h
index a02d5f2eba..69bda3ed17 100644
--- a/include/link.h
+++ b/include/link.h
@@ -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
       {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-19  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19  7:21 [glibc/release/2.37/master] Revert "elf: Move l_init_called_next to old place of l_text_end in link map" Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).