aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-10-19 09:29:42 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-10-19 09:29:42 +0200
commit88d5d70b1e89c0a449352286134946e26f7a498a (patch)
tree0cee35a71d286d8ada904516eaf2bc1b232f9a71
parentdc3b5b9048d342b5b779683dff018ac3bd14a17b (diff)
downloadglibc-88d5d70b1e89c0a449352286134946e26f7a498a.tar
glibc-88d5d70b1e89c0a449352286134946e26f7a498a.tar.gz
glibc-88d5d70b1e89c0a449352286134946e26f7a498a.tar.bz2
glibc-88d5d70b1e89c0a449352286134946e26f7a498a.zip
Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
This reverts commit f441cb9a70fa3f55e9bbd615924879d692d21a6c. Reason for revert: Preserve internal ABI.
-rw-r--r--include/link.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/link.h b/include/link.h
index 8176e23da9..87966e8397 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
{