From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 3AF993856956; Fri, 5 Aug 2022 19:36:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AF993856956 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] TODO(incomplete): cheri: rtld: more elfptr_t in linkmap struct X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 2b1192cae03642b2cb16f918322f5cddfc54eae2 X-Git-Newrev: 51fe1e15ed646ca71fd13b0b9e071774430bc644 Message-Id: <20220805193641.3AF993856956@sourceware.org> Date: Fri, 5 Aug 2022 19:36:41 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 19:36:41 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=51fe1e15ed646ca71fd13b0b9e071774430bc644 commit 51fe1e15ed646ca71fd13b0b9e071774430bc644 Author: Szabolcs Nagy Date: Thu Apr 7 13:18:48 2022 +0100 TODO(incomplete): cheri: rtld: more elfptr_t in linkmap struct TODO: requires follwup patches to make sure all usage of the fields preserve capabilities. Diff: --- include/link.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/link.h b/include/link.h index a3e4a7fc70..9ab07a281a 100644 --- a/include/link.h +++ b/include/link.h @@ -253,9 +253,9 @@ struct link_map /* Start and finish of memory map for this object. l_map_start need not be the same as l_addr. */ - ElfW(Addr) l_map_start, l_map_end; + elfptr_t l_map_start, l_map_end; /* End of the executable part of the mapping. */ - ElfW(Addr) l_text_end; + elfptr_t l_text_end; /* Default array for 'l_scope'. */ struct r_scope_elem *l_scope_mem[4]; @@ -344,7 +344,7 @@ struct link_map /* Information used to change permission after the relocations are done. */ - ElfW(Addr) l_relro_addr; + elfptr_t l_relro_addr; size_t l_relro_size; unsigned long long int l_serial;