]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc-2.38/0030-Revert-elf-Move-l_init_called_next-to-old-place-of-l.patch
glibc: Import latest patches from upstream
[ipfire-2.x.git] / src / patches / glibc-2.38 / 0030-Revert-elf-Move-l_init_called_next-to-old-place-of-l.patch
CommitLineData
a61a21ef
MT
1From 1e04dcec491bd8f48b5b74ce3e8414132578a645 Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Thu, 19 Oct 2023 09:17:38 +0200
4Subject: [PATCH 30/44] Revert "elf: Move l_init_called_next to old place of
5 l_text_end in link map"
6
7This reverts commit d3ba6c1333b10680ce5900a628108507d9d4b844.
8
9Reason: Preserve internal ABI.
10---
11 include/link.h | 8 ++++----
12 1 file changed, 4 insertions(+), 4 deletions(-)
13
14diff --git a/include/link.h b/include/link.h
15index a02d5f2eba..69bda3ed17 100644
16--- a/include/link.h
17+++ b/include/link.h
18@@ -256,10 +256,6 @@ struct link_map
19 /* End of the executable part of the mapping. */
20 ElfW(Addr) l_text_end;
21
22- /* Linked list of objects in reverse ELF constructor execution
23- order. Head of list is stored in _dl_init_called_list. */
24- struct link_map *l_init_called_next;
25-
26 /* Default array for 'l_scope'. */
27 struct r_scope_elem *l_scope_mem[4];
28 /* Size of array allocated for 'l_scope'. */
29@@ -282,6 +278,10 @@ struct link_map
30 /* List of object in order of the init and fini calls. */
31 struct link_map **l_initfini;
32
33+ /* Linked list of objects in reverse ELF constructor execution
34+ order. Head of list is stored in _dl_init_called_list. */
35+ struct link_map *l_init_called_next;
36+
37 /* List of the dependencies introduced through symbol binding. */
38 struct link_map_reldeps
39 {
40--
412.39.2
42