From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 4D14B3858D1E; Thu, 19 Oct 2023 07:35:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D14B3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1697700905; bh=hOw5pyf5UhMqL8yRWpVjY95HcE5WhCO4HXnUaZjmAXc=; h=From:To:Subject:Date:From; b=TBIDyp75lqUC1XpRohun0juF4hcl13QjbU4BkSKdjfNrdc68suJGhU5wzbNtJAfqH HcLPxP43Ax0Dl0OMn9lMzL3ffy3AZW1tugtRnDu+eaEwriXAFtk5noxL+epUNN9ncc V4r/MbQXphoW1wMKmY5Na/ba4FCSGm0Ue3POOc3g= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc/release/2.35/master] Revert "elf: Move l_init_called_next to old place of l_text_end in link map" X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/release/2.35/master X-Git-Oldrev: 0222f2392da9e5399a7c53b3b1d2622039a25bf9 X-Git-Newrev: 01ea8d9dde2e846dd8afe4d82b388796d4ccec6b Message-Id: <20231019073505.4D14B3858D1E@sourceware.org> Date: Thu, 19 Oct 2023 07:35:05 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=01ea8d9dde2e846dd8afe4d82b388796d4ccec6b commit 01ea8d9dde2e846dd8afe4d82b388796d4ccec6b Author: Florian Weimer Date: Thu Oct 19 09:32:49 2023 +0200 Revert "elf: Move l_init_called_next to old place of l_text_end in link map" This reverts commit 59ee83b0c27a67a34dc53b312424c9435423bfc9. 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 041a518100..efd16a689d 100644 --- a/include/link.h +++ b/include/link.h @@ -258,10 +258,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'. */ @@ -284,6 +280,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 {